1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
irssi/src/core/window-item-rec.h

22 lines
489 B
C

/* WI_ITEM_REC definition, used for inheritance */
int type; /* module_get_uniq_id("CHANNEL/QUERY/xxx", 0) */
int chat_type; /* chat_protocol_lookup(xx) */
GHashTable *module_data;
void *window;
STRUCT_SERVER_REC *server;
char *visible_name;
char *name;
time_t createtime;
int data_level;
char *hilight_color;
void (*destroy)(WI_ITEM_REC *item);
const char *(*get_target)(WI_ITEM_REC *item);
#define window_item_get_target(item) \
((item)->get_target(item))
#undef STRUCT_SERVER_REC