imported.
[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
10         unsigned int founder:1;
11 } SILC_NICK_REC;
12
13 SILC_NICK_REC *silc_nicklist_insert(SILC_CHANNEL_REC *channel,
14                                     SilcChannelUser user, int send_massjoin);
15
16 SILC_NICK_REC *silc_nicklist_find(SILC_CHANNEL_REC *channel,
17                                   SilcClientEntry client);
18
19 /* Check if `msg' is meant for `nick'. */
20 int silc_nick_match(const char *nick, const char *msg);
21
22 void silc_nicklist_init(void);
23 void silc_nicklist_deinit(void);
24
25 #endif