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