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

« back to all changes in this revision

Viewing changes to src/irc/proxy/proxy.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:
 
1
#ifndef PROXY_H
 
2
#define PROXY_H
 
3
 
 
4
#include "common.h"
 
5
 
 
6
#include "network.h"
 
7
#include "irc.h"
 
8
#include "irc-servers.h"
 
9
 
 
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
        char *nick, *host;
 
22
        NET_SENDBUF_REC *handle;
 
23
        int recv_tag;
 
24
        char *proxy_address;
 
25
        LISTEN_REC *listen;
 
26
        IRC_SERVER_REC *server;
 
27
        unsigned int pass_sent:1;
 
28
        unsigned int user_sent:1;
 
29
        unsigned int connected:1;
 
30
        unsigned int want_ctcp:1;
 
31
} CLIENT_REC;
 
32
 
 
33
#endif