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