summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-nicklist.h
blob: e4172b895eac38ece7c86c3d5ef529f5b4c6a2d5 (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 if `msg' is meant for `nick'. */
int irc_nick_match(const char *nick, const char *msg);

#endif