diff options
author | Timo Sirainen <cras@irssi.org> | 2004-01-20 10:57:57 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-01-20 10:57:57 +0000 |
commit | 217283caeaf5fc19e671a56547610ceb42e2ea7b (patch) | |
tree | 7f2fa9d29fdd2d9bb9f7782f1c928a53cebe70d2 /src/irc/core/irc-nicklist.h | |
parent | 3ccbd0405b8d3185a143c150a5b42070403fdc36 (diff) | |
download | irssi-217283caeaf5fc19e671a56547610ceb42e2ea7b.zip |
isupport patch by David Leadbeater
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
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 |