Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/screen.h @ 2337:ffd0e57e9563
Defined types shall end with "_t"
author | franky |
---|---|
date | Sun, 12 May 2019 11:32:30 +0200 |
parents | 6ad3cada768c |
children |
comparison
equal
deleted
inserted
replaced
2336:0dc317b5599d | 2337:ffd0e57e9563 |
---|---|
81 MKEY_CTRL_DEL, | 81 MKEY_CTRL_DEL, |
82 MKEY_CTRL_SHIFT_HOME, | 82 MKEY_CTRL_SHIFT_HOME, |
83 MKEY_CTRL_SHIFT_END, | 83 MKEY_CTRL_SHIFT_END, |
84 MKEY_MOUSE | 84 MKEY_MOUSE |
85 } mcode; | 85 } mcode; |
86 } keycode; | 86 } keycode_t; |
87 | 87 |
88 typedef enum { | 88 typedef enum { |
89 MC_ALL, | 89 MC_ALL, |
90 MC_PRESET, | 90 MC_PRESET, |
91 MC_OFF, | 91 MC_OFF, |
92 MC_REMOVE | 92 MC_REMOVE |
93 } muccoltype; | 93 } muccol_t; |
94 | 94 |
95 | 95 |
96 void scr_write_incoming_message(const char *jidfrom, const char *text, | 96 void scr_write_incoming_message(const char *jidfrom, const char *text, |
97 time_t timestamp, guint prefix, | 97 time_t timestamp, guint prefix, |
98 unsigned mucnicklen); | 98 unsigned mucnicklen); |
99 void scr_write_outgoing_message(const char *jidto, const char *text, | 99 void scr_write_outgoing_message(const char *jidto, const char *text, |
100 guint prefix, gpointer xep184); | 100 guint prefix, gpointer xep184); |
101 | 101 |
102 void scr_getch(keycode *kcode); | 102 void scr_getch(keycode_t *kcode); |
103 void scr_process_key(keycode kcode); | 103 void scr_process_key(keycode_t kcode); |
104 | 104 |
105 void scr_init_bindings(void); | 105 void scr_init_bindings(void); |
106 void scr_init_locale_charset(void); | 106 void scr_init_locale_charset(void); |
107 void scr_init_curses(void); | 107 void scr_init_curses(void); |
108 void scr_init_settings(void); | 108 void scr_init_settings(void); |
168 void scr_buffer_jump_readmark(void); | 168 void scr_buffer_jump_readmark(void); |
169 | 169 |
170 bool scr_roster_color(const char *status, const char *wildcard, | 170 bool scr_roster_color(const char *status, const char *wildcard, |
171 const char *color); | 171 const char *color); |
172 void scr_roster_clear_color(void); | 172 void scr_roster_clear_color(void); |
173 void scr_muc_color(const char *muc, muccoltype type); | 173 void scr_muc_color(const char *muc, muccol_t type); |
174 void scr_muc_nick_color(const char *nick, const char *color); | 174 void scr_muc_nick_color(const char *nick, const char *color); |
175 | 175 |
176 void readline_transpose_chars(void); | 176 void readline_transpose_chars(void); |
177 void readline_forward_kill_word(void); | 177 void readline_forward_kill_word(void); |
178 void readline_backward_kill_word(void); | 178 void readline_backward_kill_word(void); |