1/* message.c */ 2int msg(char_u *s); 3int verb_msg(char_u *s); 4int msg_attr(char_u *s, int attr); 5int msg_attr_keep(char_u *s, int attr, int keep); 6char_u *msg_strtrunc(char_u *s, int force); 7void trunc_string(char_u *s, char_u *buf, int room, int buflen); 8void reset_last_sourcing(void); 9void msg_source(int attr); 10int emsg_not_now(void); 11int emsg(char_u *s); 12int emsg2(char_u *s, char_u *a1); 13void emsg_invreg(int name); 14char_u *msg_trunc_attr(char_u *s, int force, int attr); 15char_u *msg_may_trunc(int force, char_u *s); 16int delete_first_msg(void); 17void ex_messages(exarg_T *eap); 18void msg_end_prompt(void); 19void wait_return(int redraw); 20void set_keep_msg(char_u *s, int attr); 21void set_keep_msg_from_hist(void); 22void msg_start(void); 23void msg_starthere(void); 24void msg_putchar(int c); 25void msg_putchar_attr(int c, int attr); 26void msg_outnum(long n); 27void msg_home_replace(char_u *fname); 28void msg_home_replace_hl(char_u *fname); 29int msg_outtrans(char_u *str); 30int msg_outtrans_attr(char_u *str, int attr); 31int msg_outtrans_len(char_u *str, int len); 32char_u *msg_outtrans_one(char_u *p, int attr); 33int msg_outtrans_len_attr(char_u *msgstr, int len, int attr); 34void msg_make(char_u *arg); 35int msg_outtrans_special(char_u *strstart, int from); 36char_u *str2special_save(char_u *str, int is_lhs); 37char_u *str2special(char_u **sp, int from); 38void str2specialbuf(char_u *sp, char_u *buf, int len); 39void msg_prt_line(char_u *s, int list); 40void msg_puts(char_u *s); 41void msg_puts_title(char_u *s); 42void msg_puts_long_attr(char_u *longstr, int attr); 43void msg_puts_long_len_attr(char_u *longstr, int len, int attr); 44void msg_puts_attr(char_u *s, int attr); 45void may_clear_sb_text(void); 46void clear_sb_text(void); 47void show_sb_text(void); 48void msg_sb_eol(void); 49int msg_use_printf(void); 50void mch_errmsg(char *str); 51void mch_msg(char *str); 52void msg_moremsg(int full); 53void repeat_message(void); 54void msg_clr_eos(void); 55void msg_clr_eos_force(void); 56void msg_clr_cmdline(void); 57int msg_end(void); 58void msg_check(void); 59int redirecting(void); 60void verbose_enter(void); 61void verbose_leave(void); 62void verbose_enter_scroll(void); 63void verbose_leave_scroll(void); 64void verbose_stop(void); 65int verbose_open(void); 66void give_warning(char_u *message, int hl); 67void msg_advance(int col); 68int do_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd); 69void display_confirm_msg(void); 70int vim_dialog_yesno(int type, char_u *title, char_u *message, int dflt); 71int vim_dialog_yesnocancel(int type, char_u *title, char_u *message, int dflt); 72int vim_dialog_yesnoallcancel(int type, char_u *title, char_u *message, int dflt); 73char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf); 74/* vim: set ft=c : */ 75