Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / core / channel-rec.h
1 /* CHANNEL_REC definition, used for inheritance */
2
3 #include "window-item-rec.h"
4
5 char *name;
6 char *topic;
7 char *topic_by;
8 time_t topic_time;
9
10 GHashTable *nicks; /* list of nicks */
11 NICK_REC *ownnick; /* our own nick */
12
13 unsigned int no_modes:1; /* channel doesn't support modes */
14 char *mode;
15 int limit; /* user limit */
16 char *key; /* password key */
17
18 unsigned int chanop:1; /* You're a channel operator */
19 unsigned int names_got:1; /* Received /NAMES list */
20 unsigned int wholist:1; /* WHO list got */
21 unsigned int synced:1; /* Channel synced - all queries done */
22
23 unsigned int joined:1; /* Have we even received JOIN event for this channel? */
24 unsigned int left:1; /* You just left the channel */
25 unsigned int kicked:1; /* You just got kicked */
26 unsigned int session_rejoin:1; /* This channel was joined with /UPGRADE */
27 unsigned int destroying:1;
28
29 /* Return the information needed to call SERVER_REC->channels_join() for
30    this channel. Usually just the channel name, but may contain also the
31    channel key. */
32 char *(*get_join_data)(CHANNEL_REC *channel);