1/* ex_getln.c */ 2void cmdline_init(void); 3char_u *getcmdline(int firstc, long count, int indent); 4char_u *getcmdline_prompt(int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg); 5int text_locked(void); 6void text_locked_msg(void); 7char *get_text_locked_msg(void); 8int curbuf_locked(void); 9int allbuf_locked(void); 10char_u *getexline(int c, void *cookie, int indent); 11char_u *getexmodeline(int promptc, void *cookie, int indent); 12int cmdline_overstrike(void); 13int cmdline_at_end(void); 14colnr_T cmdline_getvcol_cursor(void); 15void free_cmdline_buf(void); 16void putcmdline(int c, int shift); 17void unputcmdline(void); 18int put_on_cmdline(char_u *str, int len, int redraw); 19void cmdline_paste_str(char_u *s, int literally); 20void redrawcmdline(void); 21void redrawcmdline_ex(int do_compute_cmdrow); 22void redrawcmd(void); 23void compute_cmdrow(void); 24void gotocmdline(int clr); 25char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode); 26void ExpandInit(expand_T *xp); 27void ExpandCleanup(expand_T *xp); 28void ExpandEscape(expand_T *xp, char_u *str, int numfiles, char_u **files, int options); 29char_u *vim_strsave_fnameescape(char_u *fname, int shell); 30void tilde_replace(char_u *orig_pat, int num_files, char_u **files); 31char_u *sm_gettail(char_u *s); 32char_u *addstar(char_u *fname, int len, int context); 33void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline); 34int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches); 35int ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)), int escaped); 36void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options); 37void init_history(void); 38int get_histtype(char_u *name); 39void add_to_history(int histype, char_u *new_entry, int in_map, int sep); 40int get_history_idx(int histype); 41char_u *get_history_entry(int histype, int idx); 42int clr_history(int histype); 43int del_history_entry(int histype, char_u *str); 44int del_history_idx(int histype, int idx); 45void remove_key_from_history(void); 46char_u *get_cmdline_str(void); 47int get_cmdline_pos(void); 48int set_cmdline_pos(int pos); 49int get_cmdline_type(void); 50int get_list_range(char_u **str, int *num1, int *num2); 51void ex_history(exarg_T *eap); 52void prepare_viminfo_history(int asklen, int writing); 53int read_viminfo_history(vir_T *virp, int writing); 54void handle_viminfo_history(garray_T *values, int writing); 55void finish_viminfo_history(vir_T *virp); 56void write_viminfo_history(FILE *fp, int merge); 57char_u *script_get(exarg_T *eap, char_u *cmd); 58/* vim: set ft=c : */ 59