summaryrefslogtreecommitdiff
path: root/src/irc/core/ctcp.h
blob: a146b15f59f6896ba2ab291bc0cc305410715779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __CTCP_H
#define __CTCP_H

/* Register/unregister CTCP command, so it shows in CTCP CLIENTINFO */
void ctcp_register(const char *name);
void ctcp_unregister(const char *name);

/* Send CTCP reply with flood protection */
void ctcp_send_reply(IRC_SERVER_REC *server, const char *data);

void ctcp_init(void);
void ctcp_deinit(void);

#endif