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