summaryrefslogtreecommitdiffstats
path: root/src/irc/core/ctcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/ctcp.h')
-rw-r--r--src/irc/core/ctcp.h14
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