fileio.h
Go to the documentation of this file.
1 #ifndef NVIM_FILEIO_H
2 #define NVIM_FILEIO_H
3 
4 #include "nvim/autocmd.h"
5 #include "nvim/buffer_defs.h"
6 #include "nvim/eval/typval.h"
7 #include "nvim/garray.h"
8 #include "nvim/os/os.h"
9 
10 // Values for readfile() flags
11 #define READ_NEW 0x01 // read a file into a new buffer
12 #define READ_FILTER 0x02 // read filter output
13 #define READ_STDIN 0x04 // read from stdin
14 #define READ_BUFFER 0x08 // read from curbuf (converting stdin)
15 #define READ_DUMMY 0x10 // reading into a dummy buffer
16 #define READ_KEEP_UNDO 0x20 // keep undo info
17 #define READ_FIFO 0x40 // read from fifo or socket
18 #define READ_NOWINENTER 0x80 // do not trigger BufWinEnter
19 
20 #define READ_STRING(x, y) (char_u *)read_string((x), (size_t)(y))
21 
22 typedef varnumber_T (*CheckItem)(void *expr, const char *name);
23 
24 #ifdef INCLUDE_GENERATED_DECLARATIONS
25 // Events for autocommands
26 # include "fileio.h.generated.h"
27 #endif
28 #endif // NVIM_FILEIO_H
os.h
CheckItem
varnumber_T(* CheckItem)(void *expr, const char *name)
Definition: fileio.h:22
varnumber_T
int64_t varnumber_T
Type used for VimL VAR_NUMBER values.
Definition: typval.h:26
typval.h
autocmd.h
name
char_u * name
Definition: userfunc.c:816
garray.h
buffer_defs.h