blob: e90b50527b7edae8ba8280b0713f1d6aa74206a3 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* getchar.c */
Bram Moolenaar0a36fec2014-02-11 15:10:43 +01002void free_buff __ARGS((buffheader_T *buf));
Bram Moolenaare9400a42007-05-06 13:04:32 +00003char_u *get_recorded __ARGS((void));
4char_u *get_inserted __ARGS((void));
5int stuff_empty __ARGS((void));
Bram Moolenaar0a36fec2014-02-11 15:10:43 +01006int readbuf1_empty __ARGS((void));
Bram Moolenaare9400a42007-05-06 13:04:32 +00007void typeahead_noflush __ARGS((int c));
Bram Moolenaarbe094a12012-02-05 01:18:48 +01008void flush_buffers __ARGS((int flush_typeahead));
Bram Moolenaare9400a42007-05-06 13:04:32 +00009void ResetRedobuff __ARGS((void));
Bram Moolenaarbe094a12012-02-05 01:18:48 +010010void CancelRedo __ARGS((void));
Bram Moolenaare9400a42007-05-06 13:04:32 +000011void saveRedobuff __ARGS((void));
12void restoreRedobuff __ARGS((void));
13void AppendToRedobuff __ARGS((char_u *s));
14void AppendToRedobuffLit __ARGS((char_u *str, int len));
15void AppendCharToRedobuff __ARGS((int c));
16void AppendNumberToRedobuff __ARGS((long n));
17void stuffReadbuff __ARGS((char_u *s));
Bram Moolenaar4f5ce332014-07-30 16:00:58 +020018void stuffRedoReadbuff __ARGS((char_u *s));
Bram Moolenaare9400a42007-05-06 13:04:32 +000019void stuffReadbuffLen __ARGS((char_u *s, long len));
20void stuffReadbuffSpec __ARGS((char_u *s));
21void stuffcharReadbuff __ARGS((int c));
22void stuffnumReadbuff __ARGS((long n));
23int start_redo __ARGS((long count, int old_redo));
24int start_redo_ins __ARGS((void));
25void stop_redo_ins __ARGS((void));
26int ins_typebuf __ARGS((char_u *str, int noremap, int offset, int nottyped, int silent));
27void ins_char_typebuf __ARGS((int c));
28int typebuf_changed __ARGS((int tb_change_cnt));
29int typebuf_typed __ARGS((void));
30int typebuf_maplen __ARGS((void));
31void del_typebuf __ARGS((int len, int offset));
32int alloc_typebuf __ARGS((void));
33void free_typebuf __ARGS((void));
34int save_typebuf __ARGS((void));
35void save_typeahead __ARGS((tasave_T *tp));
36void restore_typeahead __ARGS((tasave_T *tp));
37void openscript __ARGS((char_u *name, int directly));
38void close_all_scripts __ARGS((void));
39int using_script __ARGS((void));
40void before_blocking __ARGS((void));
41void updatescript __ARGS((int c));
42int vgetc __ARGS((void));
43int safe_vgetc __ARGS((void));
Bram Moolenaar61abfd12007-09-13 16:26:47 +000044int plain_vgetc __ARGS((void));
Bram Moolenaare9400a42007-05-06 13:04:32 +000045int vpeekc __ARGS((void));
46int vpeekc_nomap __ARGS((void));
47int vpeekc_any __ARGS((void));
48int char_avail __ARGS((void));
49void vungetc __ARGS((int c));
50int inchar __ARGS((char_u *buf, int maxlen, long wait_time, int tb_change_cnt));
51int fix_input_buffer __ARGS((char_u *buf, int len, int script));
52int input_available __ARGS((void));
53int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev));
54int get_map_mode __ARGS((char_u **cmdp, int forceit));
55void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr));
56void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr));
Bram Moolenaarbd743252010-10-20 21:23:33 +020057char_u *map_mode_to_chars __ARGS((int mode));
Bram Moolenaare9400a42007-05-06 13:04:32 +000058int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr));
59int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr));
60char_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));
61int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file));
62int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol));
63char_u *vim_strsave_escape_csi __ARGS((char_u *p));
64void vim_unescape_csi __ARGS((char_u *p));
65int makemap __ARGS((FILE *fd, buf_T *buf));
66int put_escstr __ARGS((FILE *fd, char_u *strstart, int what));
67void check_map_keycodes __ARGS((void));
Bram Moolenaarbd743252010-10-20 21:23:33 +020068char_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 +000069void init_mappings __ARGS((void));
70void add_map __ARGS((char_u *map, int mode));
Bram Moolenaar071d4272004-06-13 20:20:40 +000071/* vim: set ft=c : */