~ubuntu-branches/ubuntu/oneiric/irssi/oneiric

« back to all changes in this revision

Viewing changes to src/irc/proxy/module.h

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-05-05 15:50:50 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505155050-aoqlnpes7che9rtd
Tags: 0.8.13-1ubuntu1
* Merge from debian unstable (LP: #372411), remaining changes:
  - debian/patches: 03firsttimer_text
    + Adapt it so it tells you about connecting to irc.ubuntu.com and
      joining #ubuntu instead of irc.debian.org and #debian.
  - debian/patches: 90irc-ubuntu-com
* Fixed debian/patches/90irc-ubuntu-com for new irssi.conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#define MODULE_NAME "proxy"
4
4
 
5
5
#include "network.h"
6
 
#include "line-split.h"
7
6
#include "irc.h"
8
7
#include "irc-servers.h"
9
8
 
10
 
typedef struct {
11
 
        int port;
12
 
        char *ircnet;
13
 
 
14
 
        int tag;
15
 
        GIOChannel *handle;
16
 
 
17
 
        GSList *clients;
18
 
} LISTEN_REC;
19
 
 
20
 
typedef struct {
21
 
        LINEBUF_REC *buffer;
22
 
 
23
 
        char *nick, *host;
24
 
        NET_SENDBUF_REC *handle;
25
 
        int recv_tag;
26
 
        char *proxy_address;
27
 
        LISTEN_REC *listen;
28
 
        IRC_SERVER_REC *server;
29
 
        unsigned int pass_sent:1;
30
 
        unsigned int user_sent:1;
31
 
        unsigned int connected:1;
32
 
        unsigned int want_ctcp:1;
33
 
} CLIENT_REC;
 
9
#include "proxy.h"
34
10
 
35
11
extern GSList *proxy_listens;
36
12
extern GSList *proxy_clients;