summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-nicklist.h
blob: 7d0ae2f4740549cbfc2c3580dd8b2f2e0aeeaba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __IRC_NICKLIST_H
#define __IRC_NICKLIST_H

#include "nicklist.h"

/* Add new nick to list */
NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick,
			      int op, int voice, int send_massjoin);

/* Remove all "extra" characters from `nick'. Like _nick_ -> nick */
char *irc_nick_strip(const char *nick);

void irc_nicklist_init(void);
void irc_nicklist_deinit(void);

#endif