1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6static _Bool ml_check_b0_id(ZERO_BL *b0p) FUNC_ATTR_NONNULL_ALL;
7static _Bool ml_check_b0_strings(ZERO_BL *b0p) FUNC_ATTR_NONNULL_ALL;
8static void ml_upd_block0(buf_T *buf, upd_block0_T what);
9static void set_b0_fname(ZERO_BL *b0p, buf_T *buf);
10static void set_b0_dir_flag(ZERO_BL *b0p, buf_T *buf);
11static void add_b0_fenc(ZERO_BL *b0p, buf_T *buf);
12static char *make_percent_swname(const char *dir, char *name) FUNC_ATTR_NONNULL_ARG(1);
13static time_t swapfile_info(char_u *fname);
14static time_t swapfile_unchanged(char *fname);
15static int recov_file_names(char_u **names, char_u *path, int prepend_dot) FUNC_ATTR_NONNULL_ALL;
16static int ml_append_int(buf_T *buf, linenr_T lnum, char_u *line, colnr_T len, _Bool newfile, int mark );
17static int ml_delete_int(buf_T *buf, linenr_T lnum, _Bool message);
18static void ml_flush_line(buf_T *buf);
19static bhdr_T *ml_new_data(memfile_T *mfp, _Bool negative, int page_count);
20static bhdr_T *ml_new_ptr(memfile_T *mfp);
21static bhdr_T *ml_find_line(buf_T *buf, linenr_T lnum, int action);
22static int ml_add_stack(buf_T *buf);
23static void ml_lineadd(buf_T *buf, int count);
24static void attention_message(buf_T *buf, char_u *fname );
25static int do_swapexists(buf_T *buf, char_u *fname);
26static char *findswapname(buf_T *buf, char **dirp, char *old_fname, _Bool *found_existing_dir) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ARG(1, 2, 4);
27static int b0_magic_wrong(ZERO_BL *b0p);
28static _Bool fnamecmp_ino(char_u *fname_c, char_u *fname_s, long ino_block0 );
29static void long_to_char(long n, char_u *s);
30static long char_to_long(char_u *s);
31static void ml_updatechunk(buf_T *buf, linenr_T line, long len, int updtype);
32#include "nvim/func_attr.h"
33