summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-nicklist.h
blob: d5cf78d3d55df553807c144bb0522a75c582cc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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