~ubuntu-branches/ubuntu/trusty/irssi-plugin-xmpp/trusty

« back to all changes in this revision

Viewing changes to src/core/xmpp-servers.h

  • Committer: Bazaar Package Importer
  • Author(s): David Ammouial
  • Date: 2009-05-12 12:14:44 UTC
  • mfrom: (1.1.3 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090512121444-5jeho5h3zsy4oij7
Tags: 0.13+cvs20090406-1
* New CVS snapshot, built against irssi-dev 0.8.13:
  - New features and bugfixes.
  - Fix segfault when successfully identified (Closes: #521227).
  - Fix build error (Closes: #527697)
* Depend on irssi >=0.8.13, build-depend on irssi-dev >=0.8.13.
* Bump Standards-Version to 3.8.1 (no changes needed).
* Add INTERNAL to documentation files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: xmpp-servers.h,v 1.16 2007/12/29 22:23:34 errtu Exp $ */
 
1
/* $Id: xmpp-servers.h,v 1.20 2008/12/06 18:33:38 cdidier Exp $ */
2
2
 
3
3
#ifndef __XMPP_SERVERS_H
4
4
#define __XMPP_SERVERS_H
31
31
        GSList          *channels_list;
32
32
        int              show;
33
33
        int              priority;
34
 
        gboolean         default_priority;
35
34
};
36
35
 
37
 
typedef enum {
38
 
        XMPP_SERVERS_FEATURE_PING                               = 1 << 0
39
 
} XMPP_SERVERS_FEATURES;
40
 
 
41
36
#define STRUCT_SERVER_CONNECT_REC XMPP_SERVER_CONNECT_REC
42
37
struct _XMPP_SERVER_REC {
43
38
        #include "server-rec.h"
44
39
 
45
 
        char            *nickname;
46
 
 
47
40
        char            *jid;
48
41
        char            *user;
49
 
        char            *host;
 
42
        char            *domain;
50
43
        char            *resource;
51
44
 
52
45
        int              show;
53
46
        int              priority;
54
 
        gboolean         default_priority;
55
47
        char            *ping_id;
56
 
        XMPP_SERVERS_FEATURES features;
57
 
        GSList          *resources;
 
48
        GSList          *server_features;
 
49
        GSList          *my_resources;
58
50
        GSList          *roster;
59
51
 
60
52
        LmConnection     *lmconn;
61
 
        LmMessageHandler *hmessage;
62
 
        LmMessageHandler *hpresence;
63
 
        LmMessageHandler *hiq;
64
 
        LmMessageHandler *hraw;
 
53
        GSList           *msg_handlers;
65
54
};
66
55
 
67
56
__BEGIN_DECLS