mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
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
This commit is contained in:
parent
73b18f2672
commit
f8461d39bc
13 changed files with 94 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue