Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / silc / core / silc-nicklist.h
1 #ifndef __SILC_NICKLIST_H
2 #define __SILC_NICKLIST_H
3
4 #include "nicklist.h"
5
6 typedef struct {
7 #include "nick-rec.h"
8   SilcChannelUser silc_user;
9   unsigned int founder:1;
10 } SILC_NICK_REC;
11
12 SILC_NICK_REC *silc_nicklist_insert(SILC_CHANNEL_REC *channel,
13                                     SilcChannelUser user, int send_massjoin);
14
15 SILC_NICK_REC *silc_nicklist_find(SILC_CHANNEL_REC *channel,
16                                   SilcClientEntry client);
17
18 /* Check if `msg' is meant for `nick'. */
19 int silc_nick_match(const char *nick, const char *msg);
20 void silc_change_nick(SILC_SERVER_REC *server, const char *newnick);
21 void silc_nicklist_init(void);
22 void silc_nicklist_deinit(void);
23
24 #endif