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