diff options
Diffstat (limited to 'src/irc/core/irc-nicklist.h')
-rw-r--r-- | src/irc/core/irc-nicklist.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/irc/core/irc-nicklist.h b/src/irc/core/irc-nicklist.h index 0b392c77..f2813ea1 100644 --- a/src/irc/core/irc-nicklist.h +++ b/src/irc/core/irc-nicklist.h @@ -10,7 +10,14 @@ NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick, /* 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 |