mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
217283caea
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
24 lines
692 B
C
24 lines
692 B
C
#ifndef __IRC_NICKLIST_H
|
|
#define __IRC_NICKLIST_H
|
|
|
|
#include "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);
|
|
|
|
/* Remove all "extra" characters from `nick'. Like _nick_ -> nick */
|
|
char *irc_nick_strip(const char *nick);
|
|
|
|
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);
|
|
|
|
/* FIXME: to_rfc1459() is missing things */
|
|
#define to_rfc1459(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x))
|
|
#define to_ascii(x) ((x) >= 65 && (x) <= 94 ? (x) + 32 : (x))
|
|
|
|
#endif
|