1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-16 06:25:24 +00:00
irssi/src/irc/core/irc-nicklist.h
2019-05-01 22:22:22 +02:00

21 lines
610 B
C

#ifndef IRSSI_IRC_CORE_IRC_NICKLIST_H
#define IRSSI_IRC_CORE_IRC_NICKLIST_H
#include <irssi/src/core/nicklist.h>
/* Add new nick to list */
NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick,
int op, int halfop, int voice, int send_massjoin,
const char *prefixes);
int irc_nickcmp_rfc1459(const char *, const char *);
int irc_nickcmp_ascii(const char *, const char *);
void irc_nicklist_init(void);
void irc_nicklist_deinit(void);
#define to_rfc1459(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x))
#define to_ascii(x) ((x) >= 65 && (x) <= 90 ? (x) + 32 : (x))
#endif