Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* getchar.c */ |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 2 | extern void free_buff __ARGS((struct buffheader *buf)); |
| 3 | extern char_u *get_recorded __ARGS((void)); |
| 4 | extern char_u *get_inserted __ARGS((void)); |
| 5 | extern int stuff_empty __ARGS((void)); |
| 6 | extern void typeahead_noflush __ARGS((int c)); |
| 7 | extern void flush_buffers __ARGS((int typeahead)); |
| 8 | extern void ResetRedobuff __ARGS((void)); |
| 9 | extern void saveRedobuff __ARGS((void)); |
| 10 | extern void restoreRedobuff __ARGS((void)); |
| 11 | extern void AppendToRedobuff __ARGS((char_u *s)); |
| 12 | extern void AppendToRedobuffLit __ARGS((char_u *str, int len)); |
| 13 | extern void AppendCharToRedobuff __ARGS((int c)); |
| 14 | extern void AppendNumberToRedobuff __ARGS((long n)); |
| 15 | extern void stuffReadbuff __ARGS((char_u *s)); |
| 16 | extern void stuffReadbuffLen __ARGS((char_u *s, long len)); |
| 17 | extern void stuffReadbuffSpec __ARGS((char_u *s)); |
| 18 | extern void stuffcharReadbuff __ARGS((int c)); |
| 19 | extern void stuffnumReadbuff __ARGS((long n)); |
| 20 | extern int start_redo __ARGS((long count, int old_redo)); |
| 21 | extern int start_redo_ins __ARGS((void)); |
| 22 | extern void stop_redo_ins __ARGS((void)); |
| 23 | extern int ins_typebuf __ARGS((char_u *str, int noremap, int offset, int nottyped, int silent)); |
| 24 | extern void ins_char_typebuf __ARGS((int c)); |
| 25 | extern int typebuf_changed __ARGS((int tb_change_cnt)); |
| 26 | extern int typebuf_typed __ARGS((void)); |
| 27 | extern int typebuf_maplen __ARGS((void)); |
| 28 | extern void del_typebuf __ARGS((int len, int offset)); |
| 29 | extern int alloc_typebuf __ARGS((void)); |
| 30 | extern void free_typebuf __ARGS((void)); |
| 31 | extern int save_typebuf __ARGS((void)); |
| 32 | extern void save_typeahead __ARGS((tasave_T *tp)); |
| 33 | extern void restore_typeahead __ARGS((tasave_T *tp)); |
| 34 | extern void openscript __ARGS((char_u *name, int directly)); |
| 35 | extern void close_all_scripts __ARGS((void)); |
| 36 | extern int using_script __ARGS((void)); |
| 37 | extern void before_blocking __ARGS((void)); |
| 38 | extern void updatescript __ARGS((int c)); |
| 39 | extern int vgetc __ARGS((void)); |
| 40 | extern int safe_vgetc __ARGS((void)); |
| 41 | extern int vpeekc __ARGS((void)); |
| 42 | extern int vpeekc_nomap __ARGS((void)); |
| 43 | extern int vpeekc_any __ARGS((void)); |
| 44 | extern int char_avail __ARGS((void)); |
| 45 | extern void vungetc __ARGS((int c)); |
| 46 | extern int inchar __ARGS((char_u *buf, int maxlen, long wait_time, int tb_change_cnt)); |
| 47 | extern int fix_input_buffer __ARGS((char_u *buf, int len, int script)); |
| 48 | extern int input_available __ARGS((void)); |
| 49 | extern int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev)); |
| 50 | extern int get_map_mode __ARGS((char_u **cmdp, int forceit)); |
| 51 | extern void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr)); |
| 52 | extern void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr)); |
| 53 | extern int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr)); |
| 54 | extern int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr)); |
| 55 | extern char_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)); |
| 56 | extern int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file)); |
| 57 | extern int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol)); |
| 58 | extern char_u *vim_strsave_escape_csi __ARGS((char_u *p)); |
Bram Moolenaar | 81b8587 | 2007-03-04 20:22:01 +0000 | [diff] [blame] | 59 | extern void vim_unescape_csi __ARGS((char_u *p)); |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 60 | extern int makemap __ARGS((FILE *fd, buf_T *buf)); |
| 61 | extern int put_escstr __ARGS((FILE *fd, char_u *strstart, int what)); |
| 62 | extern void check_map_keycodes __ARGS((void)); |
| 63 | extern char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr)); |
| 64 | extern void init_mappings __ARGS((void)); |
| 65 | extern void add_map __ARGS((char_u *map, int mode)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 66 | /* vim: set ft=c : */ |