diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:39 +0000 |
commit | fff5217f02d91268ce90c8c05665602c059faaef (patch) | |
tree | 2ba24d32dc96eafe7ed0a85269548e76796d849d /src/irc/core/ctcp.h | |
parent | Initial commit. (diff) | |
download | irssi-fff5217f02d91268ce90c8c05665602c059faaef.tar.xz irssi-fff5217f02d91268ce90c8c05665602c059faaef.zip |
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/irc/core/ctcp.h')
-rw-r--r-- | src/irc/core/ctcp.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/irc/core/ctcp.h b/src/irc/core/ctcp.h new file mode 100644 index 0000000..c8a8a84 --- /dev/null +++ b/src/irc/core/ctcp.h @@ -0,0 +1,14 @@ +#ifndef IRSSI_IRC_CORE_CTCP_H +#define IRSSI_IRC_CORE_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 |