2000-08-26 15:39:44 +00:00
|
|
|
#ifndef __IRC_NICKLIST_H
|
|
|
|
|
#define __IRC_NICKLIST_H
|
|
|
|
|
|
|
|
|
|
#include "nicklist.h"
|
|
|
|
|
|
2001-02-02 22:10:20 +00:00
|
|
|
/* Add new nick to list */
|
|
|
|
|
NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick,
|
2010-07-24 14:36:55 +00:00
|
|
|
int op, int halfop, int voice, int send_massjoin,
|
2011-11-21 21:28:28 +00:00
|
|
|
const char *prefixes);
|
2000-08-26 15:39:44 +00:00
|
|
|
|
2004-01-20 10:57:57 +00:00
|
|
|
int irc_nickcmp_rfc1459(const char *, const char *);
|
|
|
|
|
int irc_nickcmp_ascii(const char *, const char *);
|
|
|
|
|
|
2001-02-02 22:10:20 +00:00
|
|
|
void irc_nicklist_init(void);
|
|
|
|
|
void irc_nicklist_deinit(void);
|
|
|
|
|
|
2004-01-20 10:57:57 +00:00
|
|
|
#define to_rfc1459(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x))
|
2007-05-18 09:51:30 +00:00
|
|
|
#define to_ascii(x) ((x) >= 65 && (x) <= 90 ? (x) + 32 : (x))
|
2004-01-20 10:57:57 +00:00
|
|
|
|
2000-08-26 15:39:44 +00:00
|
|
|
#endif
|