]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/seastar/include/seastar/core/file-types.hh
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / seastar / include / seastar / core / file-types.hh
index b3744e962fc264b28e13852993891ff1ae8941c7..38052c8971b27057f1175bae26141e7a8a3cebfb 100644 (file)
 
 #include <fcntl.h>
 #include <sys/stat.h>
+#include <type_traits>
 
 namespace seastar {
 
+/// \addtogroup fileio-module
+/// @{
+
+/// Enumeration describing how a file is to be opened.
+///
+/// \see file::open_file_dma()
 enum class open_flags {
     rw = O_RDWR,
     ro = O_RDONLY,
@@ -52,9 +59,6 @@ inline void operator&=(open_flags& a, open_flags b) {
     a = (a & b);
 }
 
-/// \addtogroup fileio-module
-/// @{
-
 /// Enumeration describing the type of a directory entry being listed.
 ///
 /// \see file::list_directory()