summaryrefslogtreecommitdiff
path: root/src/irc/proxy/module.h
diff options
context:
space:
mode:
authorJochen Eisinger <c0ffee@irssi.org>2008-11-02 12:13:36 +0000
committerc0ffee <c0ffee@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-11-02 12:13:36 +0000
commitf8461d39bc5bfd3efe908924c09d661756e447a1 (patch)
treeb401ca0b17d3eef63fbf9413bf63fdfd317c3b6f /src/irc/proxy/module.h
parent73b18f2672585d8d6427862afed6ba8f63629ef3 (diff)
downloadirssi-f8461d39bc5bfd3efe908924c09d661756e447a1.zip
introduce the type Irssi::Irc::Client and signals to communicate with proxy
clients to allow for scripting parts of the irssi-proxy. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4882 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/proxy/module.h')
-rw-r--r--src/irc/proxy/module.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/irc/proxy/module.h b/src/irc/proxy/module.h
index e2580e1b..ff95227f 100644
--- a/src/irc/proxy/module.h
+++ b/src/irc/proxy/module.h
@@ -6,28 +6,7 @@
#include "irc.h"
#include "irc-servers.h"
-typedef struct {
- int port;
- char *ircnet;
-
- int tag;
- GIOChannel *handle;
-
- GSList *clients;
-} LISTEN_REC;
-
-typedef struct {
- char *nick, *host;
- 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;
-} CLIENT_REC;
+#include "proxy.h"
extern GSList *proxy_listens;
extern GSList *proxy_clients;