| 1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
| 2 | # define DEFINE_FUNC_ATTRIBUTES |
| 3 | #endif |
| 4 | #include "nvim/func_attr.h" |
| 5 | #undef DEFINE_FUNC_ATTRIBUTES |
| 6 | void filemess(buf_T *buf, char_u *name, char_u *s, int attr); |
| 7 | int 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 ); |
| 8 | void prep_exarg(exarg_T *eap, buf_T *buf); |
| 9 | void set_file_options(int set_options, exarg_T *eap); |
| 10 | void set_forced_fenc(exarg_T *eap); |
| 11 | int 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 ); |
| 12 | void msg_add_lines(int insert_space, long lnum, off_T nchars); |
| 13 | void shorten_buf_fname(buf_T *buf, char_u *dirname, int force); |
| 14 | void shorten_fnames(int force); |
| 15 | char *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; |
| 17 | int get2c(FILE *fd); |
| 18 | int get3c(FILE *fd); |
| 19 | int get4c(FILE *fd); |
| 20 | time_t get8ctime(FILE *fd); |
| 21 | char *read_string(FILE *fd, size_t cnt); |
| 22 | _Bool put_bytes(FILE *fd, uintmax_t number, size_t len); |
| 23 | int put_time(FILE *fd, time_t time_); |
| 24 | int vim_rename(const char_u *from, const char_u *to) FUNC_ATTR_NONNULL_ALL; |
| 25 | int check_timestamps(int focus ); |
| 26 | int buf_check_timestamp(buf_T *buf, int focus ) FUNC_ATTR_NONNULL_ALL; |
| 27 | void buf_reload(buf_T *buf, int orig_mode); |
| 28 | void buf_store_file_info(buf_T *buf, FileInfo *file_info) FUNC_ATTR_NONNULL_ALL; |
| 29 | void write_lnum_adjust(linenr_T offset); |
| 30 | int delete_recursive(const char *name); |
| 31 | void vim_deltempdir(void); |
| 32 | char_u *vim_gettempdir(void); |
| 33 | char_u *vim_tempname(void); |
| 34 | void aubuflocal_remove(buf_T *buf); |
| 35 | _Bool au_has_group(const char_u *name) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT; |
| 36 | void do_augroup(char_u *arg, int del_group); |
| 37 | int check_ei(void); |
| 38 | char_u *au_event_disable(char *what); |
| 39 | void au_event_restore(char_u *old_ei); |
| 40 | void do_autocmd(char_u *arg_in, int forceit); |
| 41 | int do_doautocmd(char_u *arg, int do_msg, _Bool *did_something ); |
| 42 | void ex_doautoall(exarg_T *eap); |
| 43 | _Bool check_nomodeline(char_u **argp) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT; |
| 44 | void aucmd_prepbuf(aco_save_T *aco, buf_T *buf); |
| 45 | void 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; |
| 51 | void block_autocmds(void); |
| 52 | void unblock_autocmds(void); |
| 53 | char_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; |
| 55 | char_u *get_augroup_name(expand_T *xp, int idx); |
| 56 | char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd ); |
| 57 | char_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); |
| 61 | char_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); |
| 62 | long read_eintr(int fd, void *buf, size_t bufsize); |
| 63 | long write_eintr(int fd, void *buf, size_t bufsize); |
| 64 | #include "nvim/func_attr.h" |
| 65 | |