1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | int ml_open(buf_T *buf); |
7 | void ml_setname(buf_T *buf); |
8 | void ml_open_files(void); |
9 | void ml_open_file(buf_T *buf); |
10 | void check_need_swap(int newfile); |
11 | void ml_close(buf_T *buf, int del_file); |
12 | void ml_close_all(int del_file); |
13 | void ml_close_notmod(void); |
14 | void ml_timestamp(buf_T *buf); |
15 | void ml_recover(void); |
16 | int recover_names(char_u *fname, int list, int nr, char_u **fname_out ); |
17 | void get_b0_dict(const char *fname, dict_T *d); |
18 | void ml_sync_all(int check_file, int check_char, _Bool do_fsync); |
19 | void ml_preserve(buf_T *buf, int message, _Bool do_fsync); |
20 | char_u *ml_get(linenr_T lnum); |
21 | char_u *ml_get_pos(pos_T *pos); |
22 | char_u *ml_get_buf(buf_T *buf, linenr_T lnum, _Bool will_change ); |
23 | int ml_line_alloced(void); |
24 | int ml_append(linenr_T lnum, char_u *line, colnr_T len, _Bool newfile ); |
25 | int ml_append_buf(buf_T *buf, linenr_T lnum, char_u *line, colnr_T len, _Bool newfile ); |
26 | void ml_add_deleted_len(char_u *ptr, ssize_t len); |
27 | int ml_replace(linenr_T lnum, char_u *line, _Bool copy); |
28 | int ml_delete(linenr_T lnum, _Bool message); |
29 | void ml_setmarked(linenr_T lnum); |
30 | linenr_T ml_firstmarked(void); |
31 | void ml_clearmarked(void); |
32 | size_t ml_flush_deleted_bytes(buf_T *buf, size_t *codepoints, size_t *codeunits); |
33 | int resolve_symlink(const char_u *fname, char_u *buf); |
34 | char_u *makeswapname(char_u *fname, char_u *ffname, buf_T *buf, char_u *dir_name); |
35 | char_u *get_file_in_dir(char_u *fname, char_u *dname ); |
36 | void ml_setflags(buf_T *buf); |
37 | long ml_find_line_or_offset(buf_T *buf, linenr_T lnum, long *offp, _Bool no_ff); |
38 | void goto_byte(long cnt); |
39 | int inc(pos_T *lp); |
40 | int incl(pos_T *lp); |
41 | int dec(pos_T *lp); |
42 | int decl(pos_T *lp); |
43 | #include "nvim/func_attr.h" |
44 | |