blob: 9212342b2e24d7650828a359273097234a21e277 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* getchar.c */
2void 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));
7void flush_buffers __ARGS((int typeahead));
8void ResetRedobuff __ARGS((void));
9void saveRedobuff __ARGS((void));
10void restoreRedobuff __ARGS((void));
11void AppendToRedobuff __ARGS((char_u *s));
Bram Moolenaarebefac62005-12-28 22:39:57 +000012void AppendToRedobuffLit __ARGS((char_u *str, int len));
Bram Moolenaar071d4272004-06-13 20:20:40 +000013void AppendCharToRedobuff __ARGS((int c));
14void AppendNumberToRedobuff __ARGS((long n));
15void stuffReadbuff __ARGS((char_u *s));
16void stuffReadbuffLen __ARGS((char_u *s, long len));
17void stuffReadbuffSpec __ARGS((char_u *s));
18void stuffcharReadbuff __ARGS((int c));
19void stuffnumReadbuff __ARGS((long n));
20int start_redo __ARGS((long count, int old_redo));
21int start_redo_ins __ARGS((void));
22void stop_redo_ins __ARGS((void));
23int ins_typebuf __ARGS((char_u *str, int noremap, int offset, int nottyped, int silent));
24int typebuf_changed __ARGS((int tb_change_cnt));
25int typebuf_typed __ARGS((void));
26int typebuf_maplen __ARGS((void));
27void del_typebuf __ARGS((int len, int offset));
28int alloc_typebuf __ARGS((void));
29void free_typebuf __ARGS((void));
30int save_typebuf __ARGS((void));
31void save_typeahead __ARGS((tasave_T *tp));
32void restore_typeahead __ARGS((tasave_T *tp));
33void openscript __ARGS((char_u *name, int directly));
Bram Moolenaarf461c8e2005-06-25 23:04:51 +000034void close_all_scripts __ARGS((void));
Bram Moolenaar071d4272004-06-13 20:20:40 +000035int using_script __ARGS((void));
Bram Moolenaar39a58ca2005-06-27 22:42:44 +000036void before_blocking __ARGS((void));
Bram Moolenaar071d4272004-06-13 20:20:40 +000037void updatescript __ARGS((int c));
38int vgetc __ARGS((void));
39int safe_vgetc __ARGS((void));
40int vpeekc __ARGS((void));
41int vpeekc_nomap __ARGS((void));
42int vpeekc_any __ARGS((void));
43int char_avail __ARGS((void));
44void vungetc __ARGS((int c));
45int inchar __ARGS((char_u *buf, int maxlen, long wait_time, int tb_change_cnt));
46int fix_input_buffer __ARGS((char_u *buf, int len, int script));
47int input_available __ARGS((void));
48int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev));
49int get_map_mode __ARGS((char_u **cmdp, int forceit));
50void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr));
51void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr));
Bram Moolenaar97b2ad32006-03-18 21:40:56 +000052int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr));
53int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr));
Bram Moolenaar071d4272004-06-13 20:20:40 +000054char_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));
55int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file));
56int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol));
57int makemap __ARGS((FILE *fd, buf_T *buf));
58int put_escstr __ARGS((FILE *fd, char_u *strstart, int what));
59void check_map_keycodes __ARGS((void));
Bram Moolenaar97b2ad32006-03-18 21:40:56 +000060char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr));
Bram Moolenaar071d4272004-06-13 20:20:40 +000061void init_mappings __ARGS((void));
62void add_map __ARGS((char_u *map, int mode));
63/* vim: set ft=c : */