From fff5217f02d91268ce90c8c05665602c059faaef Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:18:39 +0200 Subject: Adding upstream version 1.4.5. Signed-off-by: Daniel Baumann --- src/irc/proxy/proxy.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/irc/proxy/proxy.h (limited to 'src/irc/proxy/proxy.h') diff --git a/src/irc/proxy/proxy.h b/src/irc/proxy/proxy.h new file mode 100644 index 0000000..5b3d25f --- /dev/null +++ b/src/irc/proxy/proxy.h @@ -0,0 +1,36 @@ +#ifndef IRSSI_IRC_PROXY_PROXY_H +#define IRSSI_IRC_PROXY_PROXY_H + +#include + +#include +#include +#include + +typedef struct { + int port; + char *port_or_path; + char *ircnet; + + int tag; + GIOChannel *handle; + + GSList *clients; + +} LISTEN_REC; + +typedef struct { + char *nick, *addr; + NET_SENDBUF_REC *handle; + int recv_tag; + char *proxy_address; + LISTEN_REC *listen; + IRC_SERVER_REC *server; + unsigned int pass_sent:1; + unsigned int user_sent:1; + unsigned int connected:1; + unsigned int want_ctcp:1; + unsigned int multiplex:1; +} CLIENT_REC; + +#endif -- cgit v1.2.3