fileio.h
Go to the documentation of this file.
1 #ifndef NVIM_FILEIO_H
2 #define NVIM_FILEIO_H
3 
4 #include "nvim/buffer_defs.h"
5 #include "nvim/os/os.h"
6 #include "nvim/autocmd.h"
7 
8 // Values for readfile() flags
9 #define READ_NEW 0x01 // read a file into a new buffer
10 #define READ_FILTER 0x02 // read filter output
11 #define READ_STDIN 0x04 // read from stdin
12 #define READ_BUFFER 0x08 // read from curbuf (converting stdin)
13 #define READ_DUMMY 0x10 // reading into a dummy buffer
14 #define READ_KEEP_UNDO 0x20 // keep undo info
15 #define READ_FIFO 0x40 // read from fifo or socket
16 
17 #define READ_STRING(x, y) (char_u *)read_string((x), (size_t)(y))
18 
19 #ifdef INCLUDE_GENERATED_DECLARATIONS
20 // Events for autocommands
21 # include "fileio.h.generated.h"
22 #endif
23 #endif // NVIM_FILEIO_H
os.h
autocmd.h
buffer_defs.h