aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memfile.h')
-rw-r--r--src/nvim/memfile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/memfile.h b/src/nvim/memfile.h
index 94722171d7..3e71853326 100644
--- a/src/nvim/memfile.h
+++ b/src/nvim/memfile.h
@@ -4,6 +4,12 @@
#include "nvim/buffer_defs.h"
#include "nvim/memfile_defs.h"
+/* flags for mf_sync() */
+#define MFS_ALL 1 /* also sync blocks with negative numbers */
+#define MFS_STOP 2 /* stop syncing when a character is available */
+#define MFS_FLUSH 4 /* flushed file to disk */
+#define MFS_ZERO 8 /* only write block 0 */
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "memfile.h.generated.h"
#endif