1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | void msg_grid_set_pos(int row, _Bool scrolled); |
7 | _Bool msg_use_grid(void); |
8 | void msg_grid_validate(void); |
9 | int msg(char_u *s); |
10 | int verb_msg(char *s); |
11 | int msg_attr(const char *s, const int attr) FUNC_ATTR_NONNULL_ARG(1); |
12 | void msg_multiline_attr(const char *s, int attr, _Bool check_int) FUNC_ATTR_NONNULL_ALL; |
13 | _Bool msg_attr_keep(char_u *s, int attr, _Bool keep, _Bool multiline) FUNC_ATTR_NONNULL_ALL; |
14 | char_u *msg_strtrunc(char_u *s, int force ); |
15 | void trunc_string(char_u *s, char_u *buf, int room_in, int buflen); |
16 | int smsg(char *s, ...) FUNC_ATTR_PRINTF(1, 2); |
17 | int smsg_attr(int attr, char *s, ...) FUNC_ATTR_PRINTF(2, 3); |
18 | int smsg_attr_keep(int attr, char *s, ...) FUNC_ATTR_PRINTF(2, 3); |
19 | void reset_last_sourcing(void); |
20 | void msg_source(int attr); |
21 | int emsg_not_now(void); |
22 | _Bool emsg(const char_u *s); |
23 | void emsg_invreg(int name); |
24 | _Bool emsgf(const char *const fmt, ...) FUNC_ATTR_PRINTF(1, 2); |
25 | _Bool emsgf_multiline(const char *const fmt, ...); |
26 | void iemsg(const char *s); |
27 | void iemsgf(const char *s, ...); |
28 | void internal_error(char *where); |
29 | void msg_schedule_emsgf(const char *const fmt, ...) FUNC_ATTR_PRINTF(1, 2); |
30 | char_u *msg_trunc_attr(char_u *s, int force, int attr); |
31 | char_u *msg_may_trunc(int force, char_u *s); |
32 | int delete_first_msg(void); |
33 | void ex_messages(void *const eap_p) FUNC_ATTR_NONNULL_ALL; |
34 | void msg_end_prompt(void); |
35 | void wait_return(int redraw); |
36 | void set_keep_msg(char_u *s, int attr); |
37 | void msg_ext_set_kind(const char *msg_kind); |
38 | void msg_start(void); |
39 | void msg_starthere(void); |
40 | void msg_putchar(int c); |
41 | void msg_putchar_attr(int c, int attr); |
42 | void msg_outnum(long n); |
43 | void msg_home_replace(char_u *fname); |
44 | void msg_home_replace_hl(char_u *fname); |
45 | int msg_outtrans(char_u *str); |
46 | int msg_outtrans_attr(char_u *str, int attr); |
47 | int msg_outtrans_len(char_u *str, int len); |
48 | char_u *msg_outtrans_one(char_u *p, int attr); |
49 | int msg_outtrans_len_attr(char_u *msgstr, int len, int attr); |
50 | void msg_make(char_u *arg); |
51 | int msg_outtrans_special(const char_u *strstart, int from ); |
52 | char *str2special_save(const char *const str, const _Bool replace_spaces, const _Bool replace_lt) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_RET; |
53 | const char *str2special(const char **const sp, const _Bool replace_spaces, const _Bool replace_lt) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_RET; |
54 | void str2specialbuf(const char *sp, char *buf, size_t len) FUNC_ATTR_NONNULL_ALL; |
55 | void msg_prt_line(char_u *s, int list); |
56 | void msg_puts(const char *s); |
57 | void msg_puts_title(const char *s); |
58 | void msg_puts_long_attr(char_u *longstr, int attr); |
59 | void msg_puts_long_len_attr(char_u *longstr, int len, int attr); |
60 | void msg_puts_attr(const char *const s, const int attr); |
61 | void msg_puts_attr_len(const char *const str, const ptrdiff_t len, int attr) FUNC_ATTR_NONNULL_ALL; |
62 | void msg_printf_attr(const int attr, const char *const fmt, ...) FUNC_ATTR_NONNULL_ARG(2) FUNC_ATTR_PRINTF(2, 3); |
63 | _Bool message_filtered(char_u *msg); |
64 | int msg_scrollsize(void); |
65 | _Bool msg_use_msgsep(void); |
66 | _Bool msg_do_throttle(void); |
67 | void msg_scroll_up(_Bool may_throttle); |
68 | void msg_scroll_flush(void); |
69 | void msg_reset_scroll(void); |
70 | void may_clear_sb_text(void); |
71 | void sb_text_start_cmdline(void); |
72 | void sb_text_end_cmdline(void); |
73 | void clear_sb_text(int all); |
74 | void show_sb_text(void); |
75 | void msg_sb_eol(void); |
76 | int msg_use_printf(void); |
77 | void msg_moremsg(int full); |
78 | void repeat_message(void); |
79 | void msg_clr_eos(void); |
80 | void msg_clr_eos_force(void); |
81 | void msg_clr_cmdline(void); |
82 | int msg_end(void); |
83 | void msg_ext_ui_flush(void); |
84 | void msg_ext_flush_showmode(void); |
85 | void msg_ext_clear(_Bool force); |
86 | void msg_ext_clear_later(void); |
87 | void msg_ext_check_clear(void); |
88 | _Bool msg_ext_is_visible(void); |
89 | void msg_check(void); |
90 | int redirecting(void); |
91 | void verbose_enter(void); |
92 | void verbose_leave(void); |
93 | void verbose_enter_scroll(void); |
94 | void verbose_leave_scroll(void); |
95 | void verbose_stop(void); |
96 | int verbose_open(void); |
97 | void give_warning(char_u *message, _Bool hl) FUNC_ATTR_NONNULL_ARG(1); |
98 | void give_warning2(char_u *const message, char_u *const a1, _Bool hl); |
99 | void msg_advance(int col); |
100 | int do_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd ); |
101 | void display_confirm_msg(void); |
102 | int vim_dialog_yesno(int type, char_u *title, char_u *message, int dflt); |
103 | int vim_dialog_yesnocancel(int type, char_u *title, char_u *message, int dflt); |
104 | int vim_dialog_yesnoallcancel(int type, char_u *title, char_u *message, int dflt); |
105 | #include "nvim/func_attr.h" |
106 | |