diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-06 02:29:01 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-06 02:29:01 +0000 |
commit | a8c139d5e2f11b5f37bdffa83fbcef0d927bae9d (patch) | |
tree | 5aac2532b76b8551a0166fe914deb9f1db6a8a71 /src/irc/proxy/proxy.h | |
parent | 2fc8c5b83fd9f077433a4740df2f30cd67d899a2 (diff) | |
download | irssi-a8c139d5e2f11b5f37bdffa83fbcef0d927bae9d.zip |
Proxy plugin fixes and cleanups. Supports now multiple servers, doesn't
let clients see CTCP requests and if one client writes message, other
clients will see it as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@810 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/proxy/proxy.h')
-rw-r--r-- | src/irc/proxy/proxy.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/irc/proxy/proxy.h b/src/irc/proxy/proxy.h deleted file mode 100644 index dadc044d..00000000 --- a/src/irc/proxy/proxy.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef __PROXY_H -#define __PROXY_H - - -#include "module.h" -#include "../../core/modules.h" - -#include "network.h" -#include <core/line-split.h> -#include <core/servers-redirect.h> -#include "commands.h" - -typedef struct -{ - MODULE_REC *plugin; - gboolean loaded; - - IPADDR ip; - gint port; - gchar *password; - - gint listen_tag; - gint listen_handle; - - GSList *clients; -} -PLUGIN_DATA; - -typedef struct -{ - LINEBUF_REC *buffer; - - gchar *nick; - gint handle; - gint tag; - - SERVER_REC *server; - gboolean pass_sent; - gboolean connected; -} -CLIENT_REC; - -void plugin_proxy_setup_init(MODULE_REC *plugin); -void plugin_proxy_setup_deinit(MODULE_REC *plugin); - -void plugin_proxy_listen_init(); -void plugin_proxy_listen_deinit(); - -void proxy_settings_init(void); - -void plugin_proxy_dump_data(CLIENT_REC *client); - -/* #define MODULE_NAME "proxy" */ - -#endif |