| 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 free_buff(buffheader_T *buf); |
| 7 | char_u *get_recorded(void); |
| 8 | char_u *get_inserted(void); |
| 9 | int stuff_empty(void); |
| 10 | int readbuf1_empty(void); |
| 11 | void typeahead_noflush(int c); |
| 12 | void flush_buffers(flush_buffers_T flush_typeahead); |
| 13 | void ResetRedobuff(void); |
| 14 | void CancelRedo(void); |
| 15 | void saveRedobuff(save_redo_T *save_redo); |
| 16 | void restoreRedobuff(save_redo_T *save_redo); |
| 17 | void AppendToRedobuff(const char *s); |
| 18 | void AppendToRedobuffLit(const char_u *str, int len); |
| 19 | void AppendCharToRedobuff(int c); |
| 20 | void AppendNumberToRedobuff(long n); |
| 21 | void stuffReadbuff(const char *s); |
| 22 | void stuffRedoReadbuff(const char *s); |
| 23 | void stuffReadbuffLen(const char *s, long len); |
| 24 | void stuffReadbuffSpec(const char *s); |
| 25 | void stuffcharReadbuff(int c); |
| 26 | void stuffnumReadbuff(long n); |
| 27 | int start_redo(long count, _Bool old_redo); |
| 28 | int start_redo_ins(void); |
| 29 | void stop_redo_ins(void); |
| 30 | int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, _Bool silent); |
| 31 | void ins_char_typebuf(int c); |
| 32 | int typebuf_changed(int tb_change_cnt ); |
| 33 | int typebuf_typed(void); |
| 34 | int typebuf_maplen(void); |
| 35 | void del_typebuf(int len, int offset); |
| 36 | void may_sync_undo(void); |
| 37 | void alloc_typebuf(void); |
| 38 | void free_typebuf(void); |
| 39 | void save_typebuf(void); |
| 40 | void save_typeahead(tasave_T *tp); |
| 41 | void restore_typeahead(tasave_T *tp); |
| 42 | void openscript(char_u *name, int directly ); |
| 43 | int using_script(void); |
| 44 | void before_blocking(void); |
| 45 | int vgetc(void); |
| 46 | int safe_vgetc(void); |
| 47 | int plain_vgetc(void); |
| 48 | int vpeekc(void); |
| 49 | int vpeekc_any(void); |
| 50 | int char_avail(void); |
| 51 | void vungetc(int c ); |
| 52 | int inchar(char_u *buf, int maxlen, long wait_time ); |
| 53 | int fix_input_buffer(char_u *buf, int len); |
| 54 | void set_maparg_lhs_rhs(const char_u *orig_lhs, const size_t orig_lhs_len, const char_u *orig_rhs, const size_t orig_rhs_len, int cpo_flags, MapArguments *mapargs); |
| 55 | int str_to_mapargs(const char_u *strargs, _Bool is_unmap, MapArguments *mapargs); |
| 56 | int buf_do_map(int maptype, MapArguments *args, int mode, _Bool is_abbrev, buf_T *buf); |
| 57 | int do_map(int maptype, char_u *arg, int mode, _Bool is_abbrev); |
| 58 | int get_map_mode(char_u **cmdp, int forceit); |
| 59 | void map_clear_mode(char_u *cmdp, char_u *arg, int forceit, int abbr); |
| 60 | void map_clear_int(buf_T *buf, int mode, int local, int abbr ); |
| 61 | char *map_mode_to_chars(int mode) FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_RET; |
| 62 | _Bool map_to_exists(const char *const str, const char *const modechars, const _Bool abbr) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_PURE; |
| 63 | int map_to_exists_mode(const char *const rhs, const int mode, const _Bool abbr); |
| 64 | char_u *set_context_in_map_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx ); |
| 65 | int ExpandMappings(regmatch_T *regmatch, int *num_file, char_u ***file); |
| 66 | int check_abbr(int c, char_u *ptr, int col, int mincol); |
| 67 | char_u *vim_strsave_escape_csi(char_u *p); |
| 68 | void vim_unescape_csi(char_u *p); |
| 69 | int makemap(FILE *fd, buf_T *buf ); |
| 70 | int put_escstr(FILE *fd, char_u *strstart, int what); |
| 71 | char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr ); |
| 72 | void add_map(char_u *map, int mode); |
| 73 | mapblock_T *get_maphash(int index, buf_T *buf) FUNC_ATTR_PURE; |
| 74 | char_u *getcmdkeycmd(int promptc, void *cookie, int indent); |
| 75 | #include "nvim/func_attr.h" |
| 76 | |