blob: cde7ddfa4952cdfe74780daf7eb1249420b18e36 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* getchar.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002void free_buff(buffheader_T *buf);
3char_u *get_recorded(void);
4char_u *get_inserted(void);
5int stuff_empty(void);
6int readbuf1_empty(void);
7void typeahead_noflush(int c);
Bram Moolenaar6a2633b2018-10-07 23:16:36 +02008void flush_buffers(flush_buffers_T flush_typeahead);
Bram Moolenaaref269542016-01-19 13:22:12 +01009void ResetRedobuff(void);
10void CancelRedo(void);
Bram Moolenaard4863aa2017-04-07 19:50:12 +020011void saveRedobuff(save_redo_T *save_redo);
12void restoreRedobuff(save_redo_T *save_redo);
Bram Moolenaaref269542016-01-19 13:22:12 +010013void AppendToRedobuff(char_u *s);
14void AppendToRedobuffLit(char_u *str, int len);
15void AppendCharToRedobuff(int c);
16void AppendNumberToRedobuff(long n);
17void stuffReadbuff(char_u *s);
18void stuffRedoReadbuff(char_u *s);
19void stuffReadbuffLen(char_u *s, long len);
20void stuffReadbuffSpec(char_u *s);
21void stuffcharReadbuff(int c);
22void stuffnumReadbuff(long n);
23int start_redo(long count, int old_redo);
24int start_redo_ins(void);
25void stop_redo_ins(void);
Bram Moolenaarb66bab32019-08-01 14:28:24 +020026int noremap_keys(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010027int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
28void ins_char_typebuf(int c);
29int typebuf_changed(int tb_change_cnt);
30int typebuf_typed(void);
31int typebuf_maplen(void);
32void del_typebuf(int len, int offset);
33int alloc_typebuf(void);
34void free_typebuf(void);
35int save_typebuf(void);
36void save_typeahead(tasave_T *tp);
37void restore_typeahead(tasave_T *tp);
38void openscript(char_u *name, int directly);
39void close_all_scripts(void);
40int using_script(void);
41void before_blocking(void);
42void updatescript(int c);
43int vgetc(void);
44int safe_vgetc(void);
45int plain_vgetc(void);
46int vpeekc(void);
47int vpeekc_nomap(void);
48int vpeekc_any(void);
49int char_avail(void);
50void vungetc(int c);
Bram Moolenaar6bff02e2016-08-16 22:50:55 +020051int fix_input_buffer(char_u *buf, int len);
Bram Moolenaaref269542016-01-19 13:22:12 +010052int input_available(void);
Bram Moolenaar071d4272004-06-13 20:20:40 +000053/* vim: set ft=c : */