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