blob: 97a28285620329dd45b675672223992d06518581 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* getchar.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002void free_buff(buffheader_T *buf);
3char_u *get_recorded(void);
4char_u *get_inserted(void);
5int stuff_empty(void);
6int readbuf1_empty(void);
7void typeahead_noflush(int c);
8void flush_buffers(int flush_typeahead);
9void ResetRedobuff(void);
10void CancelRedo(void);
11void saveRedobuff(void);
12void restoreRedobuff(void);
13void AppendToRedobuff(char_u *s);
14void AppendToRedobuffLit(char_u *str, int len);
15void AppendCharToRedobuff(int c);
16void AppendNumberToRedobuff(long n);
17void stuffReadbuff(char_u *s);
18void stuffRedoReadbuff(char_u *s);
19void stuffReadbuffLen(char_u *s, long len);
20void stuffReadbuffSpec(char_u *s);
21void stuffcharReadbuff(int c);
22void stuffnumReadbuff(long n);
23int start_redo(long count, int old_redo);
24int start_redo_ins(void);
25void stop_redo_ins(void);
26int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
27void ins_char_typebuf(int c);
28int typebuf_changed(int tb_change_cnt);
29int typebuf_typed(void);
30int typebuf_maplen(void);
31void del_typebuf(int len, int offset);
32int alloc_typebuf(void);
33void free_typebuf(void);
34int save_typebuf(void);
35void save_typeahead(tasave_T *tp);
36void restore_typeahead(tasave_T *tp);
37void openscript(char_u *name, int directly);
38void close_all_scripts(void);
39int using_script(void);
40void before_blocking(void);
41void updatescript(int c);
42int vgetc(void);
43int safe_vgetc(void);
44int plain_vgetc(void);
45int vpeekc(void);
46int vpeekc_nomap(void);
47int vpeekc_any(void);
48int char_avail(void);
49void vungetc(int c);
50int inchar(char_u *buf, int maxlen, long wait_time, int tb_change_cnt);
51int fix_input_buffer(char_u *buf, int len, int script);
52int input_available(void);
53int do_map(int maptype, char_u *arg, int mode, int abbrev);
54int get_map_mode(char_u **cmdp, int forceit);
55void map_clear(char_u *cmdp, char_u *arg, int forceit, int abbr);
56void map_clear_int(buf_T *buf, int mode, int local, int abbr);
57char_u *map_mode_to_chars(int mode);
58int map_to_exists(char_u *str, char_u *modechars, int abbr);
59int map_to_exists_mode(char_u *rhs, int mode, int abbr);
60char_u *set_context_in_map_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx);
61int ExpandMappings(regmatch_T *regmatch, int *num_file, char_u ***file);
62int check_abbr(int c, char_u *ptr, int col, int mincol);
63char_u *vim_strsave_escape_csi(char_u *p);
64void vim_unescape_csi(char_u *p);
65int makemap(FILE *fd, buf_T *buf);
66int put_escstr(FILE *fd, char_u *strstart, int what);
67void check_map_keycodes(void);
68char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr);
69void init_mappings(void);
70void add_map(char_u *map, int mode);
Bram Moolenaar071d4272004-06-13 20:20:40 +000071/* vim: set ft=c : */