diff options
Diffstat (limited to 'src/irc/core/irc-nicklist.h')
-rw-r--r-- | src/irc/core/irc-nicklist.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/irc/core/irc-nicklist.h b/src/irc/core/irc-nicklist.h new file mode 100644 index 00000000..d5cf78d3 --- /dev/null +++ b/src/irc/core/irc-nicklist.h @@ -0,0 +1,15 @@ +#ifndef __IRC_NICKLIST_H +#define __IRC_NICKLIST_H + +#include "nicklist.h" + +void irc_nicklist_init(void); +void irc_nicklist_deinit(void); + +/* Remove all "extra" characters from `nick'. Like _nick_ -> nick */ +char *irc_nick_strip(const char *nick); + +/* Check is `msg' is meant for `nick'. */ +int irc_nick_match(const char *nick, const char *msg); + +#endif |