irssi/src/irc/core/ctcp.h
Timo Sirainen 5ee08ed3c9 Added ctcp_register() and ctcp_unregister() for registering CTCP commands.
It's used by CTCP CLIENTINFO to print list of known CTCP commands. Also
added CTCP USERINFO command + /SET ctcp_userinfo_reply.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 21:36:11 +00:00

14 lines
344 B
C

#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