1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6void filemess(buf_T *buf, char_u *name, char_u *s, int attr);
7int readfile(char_u *fname, char_u *sfname, linenr_T from, linenr_T lines_to_skip, linenr_T lines_to_read, exarg_T *eap, int flags );
8void prep_exarg(exarg_T *eap, buf_T *buf);
9void set_file_options(int set_options, exarg_T *eap);
10void set_forced_fenc(exarg_T *eap);
11int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering );
12void msg_add_lines(int insert_space, long lnum, off_T nchars);
13void shorten_buf_fname(buf_T *buf, char_u *dirname, int force);
14void shorten_fnames(int force);
15char *modname(const char *fname, const char *ext, _Bool prepend_dot) FUNC_ATTR_NONNULL_ARG(2);
16_Bool vim_fgets(char_u *buf, int size, FILE *fp) FUNC_ATTR_NONNULL_ALL;
17int get2c(FILE *fd);
18int get3c(FILE *fd);
19int get4c(FILE *fd);
20time_t get8ctime(FILE *fd);
21char *read_string(FILE *fd, size_t cnt);
22_Bool put_bytes(FILE *fd, uintmax_t number, size_t len);
23int put_time(FILE *fd, time_t time_);
24int vim_rename(const char_u *from, const char_u *to) FUNC_ATTR_NONNULL_ALL;
25int check_timestamps(int focus );
26int buf_check_timestamp(buf_T *buf, int focus ) FUNC_ATTR_NONNULL_ALL;
27void buf_reload(buf_T *buf, int orig_mode);
28void buf_store_file_info(buf_T *buf, FileInfo *file_info) FUNC_ATTR_NONNULL_ALL;
29void write_lnum_adjust(linenr_T offset);
30int delete_recursive(const char *name);
31void vim_deltempdir(void);
32char_u *vim_gettempdir(void);
33char_u *vim_tempname(void);
34void aubuflocal_remove(buf_T *buf);
35_Bool au_has_group(const char_u *name) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT;
36void do_augroup(char_u *arg, int del_group);
37int check_ei(void);
38char_u *au_event_disable(char *what);
39void au_event_restore(char_u *old_ei);
40void do_autocmd(char_u *arg_in, int forceit);
41int do_doautocmd(char_u *arg, int do_msg, _Bool *did_something );
42void ex_doautoall(exarg_T *eap);
43_Bool check_nomodeline(char_u **argp) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT;
44void aucmd_prepbuf(aco_save_T *aco, buf_T *buf);
45void aucmd_restbuf(aco_save_T *aco);
46_Bool apply_autocmds(event_T event, char_u *fname, char_u *fname_io, _Bool force, buf_T *buf);
47_Bool apply_autocmds_retval(event_T event, char_u *fname, char_u *fname_io, _Bool force, buf_T *buf, int *retval);
48_Bool has_cursorhold(void) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT;
49_Bool trigger_cursorhold(void) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT;
50_Bool has_event(event_T event) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT;
51void block_autocmds(void);
52void unblock_autocmds(void);
53char_u *getnextac(int c, void *cookie, int indent);
54_Bool has_autocmd(event_T event, char_u *sfname, buf_T *buf) FUNC_ATTR_WARN_UNUSED_RESULT;
55char_u *get_augroup_name(expand_T *xp, int idx);
56char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd );
57char_u *get_event_name(expand_T *xp, int idx);
58_Bool autocmd_supported(const char *const event) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT;
59_Bool au_exists(const char *const arg) FUNC_ATTR_WARN_UNUSED_RESULT;
60_Bool match_file_list(char_u *list, char_u *sfname, char_u *ffname) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ARG(1, 3);
61char_u *file_pat_to_reg_pat(const char_u *pat, const char_u *pat_end, char *allow_dirs, int no_bslash ) FUNC_ATTR_NONNULL_ARG(1);
62long read_eintr(int fd, void *buf, size_t bufsize);
63long write_eintr(int fd, void *buf, size_t bufsize);
64#include "nvim/func_attr.h"
65