2000-09-29 23:59:51 +00:00
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
|
|
#define MODULE_NAME "proxy"
|
|
|
|
|
|
2000-11-06 02:29:01 +00:00
|
|
|
#include "network.h"
|
2001-11-02 14:53:39 +00:00
|
|
|
#include "irc.h"
|
2000-11-06 02:29:01 +00:00
|
|
|
#include "irc-servers.h"
|
2000-09-29 23:59:51 +00:00
|
|
|
|
2008-11-02 12:13:36 +00:00
|
|
|
#include "proxy.h"
|
2000-09-29 23:59:51 +00:00
|
|
|
|
2000-11-06 02:29:01 +00:00
|
|
|
extern GSList *proxy_listens;
|
|
|
|
|
extern GSList *proxy_clients;
|
2000-09-29 23:59:51 +00:00
|
|
|
|
2001-12-07 15:39:30 +00:00
|
|
|
void proxy_listen_init(void);
|
|
|
|
|
void proxy_listen_deinit(void);
|
2000-11-06 02:29:01 +00:00
|
|
|
|
|
|
|
|
void proxy_settings_init(void);
|
|
|
|
|
|
2001-12-07 15:39:30 +00:00
|
|
|
void proxy_dump_data(CLIENT_REC *client);
|
2001-12-07 15:58:58 +00:00
|
|
|
void proxy_client_reset_nick(CLIENT_REC *client);
|
2000-11-06 02:29:01 +00:00
|
|
|
|
|
|
|
|
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, ...);
|
2001-10-19 11:28:56 +00:00
|
|
|
void proxy_outserver_all(IRC_SERVER_REC *server, const char *data, ...);
|
2000-11-06 02:29:01 +00:00
|
|
|
void proxy_outserver_all_except(CLIENT_REC *client, const char *data, ...);
|