blob: 9c9e56c075870fce8d412f0a9fa69e934bac6f43 [file] [log] [blame]
Bram Moolenaard7663c22019-08-06 21:59:57 +02001/* cmdhist.c */
2int get_hislen(void);
3histentry_T *get_histentry(int hist_type);
4void set_histentry(int hist_type, histentry_T *entry);
5int *get_hisidx(int hist_type);
6int *get_hisnum(int hist_type);
7int hist_char2type(int c);
8char_u *get_history_arg(expand_T *xp, int idx);
9void init_history(void);
10void clear_hist_entry(histentry_T *hisptr);
11int in_history(int type, char_u *str, int move_to_front, int sep, int writing);
12void add_to_history(int histype, char_u *new_entry, int in_map, int sep);
Bram Moolenaard7663c22019-08-06 21:59:57 +020013void f_histadd(typval_T *argvars, typval_T *rettv);
14void f_histdel(typval_T *argvars, typval_T *rettv);
15void f_histget(typval_T *argvars, typval_T *rettv);
16void f_histnr(typval_T *argvars, typval_T *rettv);
Bram Moolenaard283e892019-12-07 18:50:29 +010017void remove_key_from_history(void);
18void ex_history(exarg_T *eap);
Bram Moolenaard7663c22019-08-06 21:59:57 +020019/* vim: set ft=c : */