mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
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
This commit is contained in:
parent
7433dafcb1
commit
5ee08ed3c9
6 changed files with 146 additions and 16 deletions
|
|
@ -1,10 +1,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);
|
||||
|
||||
/* Send CTCP reply with flood protection */
|
||||
void ctcp_send_reply(SERVER_REC *server, gchar *data);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue