mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +02:00
core: add callback "nickcmp" for nick comparison in buffers
This commit is contained in:
@@ -114,6 +114,11 @@ struct t_gui_buffer
|
||||
int nicklist_max_length; /* max length for a nick */
|
||||
int nicklist_display_groups; /* display groups ? */
|
||||
int nicklist_visible_count; /* number of nicks/groups to display */
|
||||
int (*nickcmp_callback)(void *data, /* called to compare nicks (search */
|
||||
struct t_gui_buffer *buffer, /* in nicklist) */
|
||||
const char *nick1,
|
||||
const char *nick2);
|
||||
void *nickcmp_callback_data; /* data for callback */
|
||||
|
||||
/* inupt */
|
||||
int input; /* = 1 if input is enabled */
|
||||
|
||||
Reference in New Issue
Block a user