blob: 7112b0923f02564ef1b34d07cf93360744f1cef9 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* message.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002int 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);
Bram Moolenaara6b7a082016-08-10 20:53:05 +02007void trunc_string(char_u *s, char_u *buf, int room_in, int buflen);
Bram Moolenaaref269542016-01-19 13:22:12 +01008void reset_last_sourcing(void);
9void msg_source(int attr);
10int emsg_not_now(void);
Bram Moolenaarb869c0d2016-07-20 00:10:51 +020011void do_perror(char *msg);
Bram Moolenaaref269542016-01-19 13:22:12 +010012int emsg(char_u *s);
13int emsg2(char_u *s, char_u *a1);
14void emsg_invreg(int name);
15char_u *msg_trunc_attr(char_u *s, int force, int attr);
16char_u *msg_may_trunc(int force, char_u *s);
17int delete_first_msg(void);
18void ex_messages(exarg_T *eap);
19void msg_end_prompt(void);
20void wait_return(int redraw);
21void set_keep_msg(char_u *s, int attr);
22void set_keep_msg_from_hist(void);
23void msg_start(void);
24void msg_starthere(void);
25void msg_putchar(int c);
26void msg_putchar_attr(int c, int attr);
27void msg_outnum(long n);
28void msg_home_replace(char_u *fname);
29void msg_home_replace_hl(char_u *fname);
30int msg_outtrans(char_u *str);
31int msg_outtrans_attr(char_u *str, int attr);
32int msg_outtrans_len(char_u *str, int len);
33char_u *msg_outtrans_one(char_u *p, int attr);
34int msg_outtrans_len_attr(char_u *msgstr, int len, int attr);
35void msg_make(char_u *arg);
36int msg_outtrans_special(char_u *strstart, int from);
37char_u *str2special_save(char_u *str, int is_lhs);
38char_u *str2special(char_u **sp, int from);
39void str2specialbuf(char_u *sp, char_u *buf, int len);
40void msg_prt_line(char_u *s, int list);
41void msg_puts(char_u *s);
42void msg_puts_title(char_u *s);
43void msg_puts_long_attr(char_u *longstr, int attr);
44void msg_puts_long_len_attr(char_u *longstr, int len, int attr);
45void msg_puts_attr(char_u *s, int attr);
Bram Moolenaar7b668e82016-08-23 23:51:21 +020046int message_filtered(char_u *msg);
Bram Moolenaaref269542016-01-19 13:22:12 +010047void may_clear_sb_text(void);
48void clear_sb_text(void);
49void show_sb_text(void);
50void msg_sb_eol(void);
51int msg_use_printf(void);
52void mch_errmsg(char *str);
53void mch_msg(char *str);
54void msg_moremsg(int full);
55void repeat_message(void);
56void msg_clr_eos(void);
57void msg_clr_eos_force(void);
58void msg_clr_cmdline(void);
59int msg_end(void);
60void msg_check(void);
61int redirecting(void);
62void verbose_enter(void);
63void verbose_leave(void);
64void verbose_enter_scroll(void);
65void verbose_leave_scroll(void);
66void verbose_stop(void);
67int verbose_open(void);
68void give_warning(char_u *message, int hl);
69void msg_advance(int col);
70int do_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd);
71void display_confirm_msg(void);
72int vim_dialog_yesno(int type, char_u *title, char_u *message, int dflt);
73int vim_dialog_yesnocancel(int type, char_u *title, char_u *message, int dflt);
74int vim_dialog_yesnoallcancel(int type, char_u *title, char_u *message, int dflt);
75char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf);
Bram Moolenaar071d4272004-06-13 20:20:40 +000076/* vim: set ft=c : */