23 |
|
|
24 |
#include "../irc/irc.h" |
#include "../irc/irc.h" |
25 |
|
|
26 |
|
#define HOTLIST_LOW 0 |
27 |
|
#define HOTLIST_MSG 1 |
28 |
|
#define HOTLIST_PRIVATE 2 |
29 |
|
#define HOTLIST_HIGHLIGHT 3 |
30 |
|
|
31 |
typedef struct t_weechat_hotlist t_weechat_hotlist; |
typedef struct t_weechat_hotlist t_weechat_hotlist; |
32 |
|
|
33 |
struct t_weechat_hotlist |
struct t_weechat_hotlist |
34 |
{ |
{ |
35 |
int priority; /* 0=crappy msg (join/part), 1=msg, */ |
int priority; /* 0=crappy msg (join/part), 1=msg, */ |
36 |
/* 2=nick highlight */ |
/* 2=pv, 3=nick highlight */ |
37 |
t_gui_buffer *buffer; /* associated buffer */ |
t_gui_buffer *buffer; /* associated buffer */ |
38 |
t_weechat_hotlist *prev_hotlist; /* link to previous hotlist */ |
t_weechat_hotlist *prev_hotlist; /* link to previous hotlist */ |
39 |
t_weechat_hotlist *next_hotlist; /* link to next hotlist */ |
t_weechat_hotlist *next_hotlist; /* link to next hotlist */ |