summaryrefslogtreecommitdiff
path: root/src/irc/core/ctcp.h
blob: beab57110127765e3008aba4fe37e283b2e2adb7 (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(SERVER_REC *server, const char *data);

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

#endif