summaryrefslogtreecommitdiffstats
path: root/src/irc/proxy/module.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
commitfff5217f02d91268ce90c8c05665602c059faaef (patch)
tree2ba24d32dc96eafe7ed0a85269548e76796d849d /src/irc/proxy/module.h
parentInitial commit. (diff)
downloadirssi-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 '')
-rw-r--r--src/irc/proxy/module.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/irc/proxy/module.h b/src/irc/proxy/module.h
new file mode 100644
index 0000000..b6ad3a4
--- /dev/null
+++ b/src/irc/proxy/module.h
@@ -0,0 +1,26 @@
+#include <irssi/src/common.h>
+
+#define MODULE_NAME "proxy"
+
+#include <irssi/src/core/network.h>
+#include <irssi/src/irc/core/irc.h>
+#include <irssi/src/irc/core/irc-servers.h>
+
+#include <irssi/src/irc/proxy/proxy.h>
+
+extern GSList *proxy_listens;
+extern GSList *proxy_clients;
+
+void proxy_listen_init(void);
+void proxy_listen_deinit(void);
+
+void proxy_settings_init(void);
+
+void proxy_dump_data(CLIENT_REC *client);
+void proxy_client_reset_nick(CLIENT_REC *client);
+
+void proxy_outdata(CLIENT_REC *client, const char *data, ...);
+void proxy_outdata_all(IRC_SERVER_REC *server, const char *data, ...);
+void proxy_outserver(CLIENT_REC *client, const char *data, ...);
+void proxy_outserver_all(IRC_SERVER_REC *server, const char *data, ...);
+void proxy_outserver_all_except(CLIENT_REC *client, const char *data, ...);