Ignore:
Timestamp:
2007-12-18T02:07:59Z (16 years ago)
Author:
kenobi <kenobi@…>
Branches:
master
Children:
eded1f7
Parents:
8076ec0
Message:

sending via proxy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r8076ec0 rdc0ba9c  
    5757} jabber_buddy_flags_t;
    5858
     59/* Stores a streamhost's(a.k.a. proxy) data */
     60typedef struct
     61{
     62        char *jid;
     63        char *host;
     64        char port[6];
     65} jabber_streamhost_t;
     66
    5967struct jabber_data
    6068{
     
    8391
    8492        GSList *filetransfers;
     93        GSList *streamhosts;
     94        int have_streamhosts;
    8595};
    8696
     
    111121        struct jabber_away_state *away_state;
    112122        char *away_message;
     123        GSList *features;
    113124       
    114125        time_t last_act;
     
    182193#define XMLNS_XDATA        "jabber:x:data"                                       /* XEP-0004 */
    183194#define XMLNS_CHATSTATES   "http://jabber.org/protocol/chatstates"               /* XEP-0085 */
    184 #define XMLNS_DISCOVER     "http://jabber.org/protocol/disco#info"               /* XEP-0030 */
     195#define XMLNS_DISCO_INFO   "http://jabber.org/protocol/disco#info"               /* XEP-0030 */
     196#define XMLNS_DISCO_ITEMS  "http://jabber.org/protocol/disco#items"              /* XEP-0030 */
    185197#define XMLNS_MUC          "http://jabber.org/protocol/muc"                      /* XEP-0045 */
    186198#define XMLNS_MUC_USER     "http://jabber.org/protocol/muc#user"                 /* XEP-0045 */
     
    199211int jabber_add_to_roster( struct im_connection *ic, char *handle, char *name );
    200212int jabber_remove_from_roster( struct im_connection *ic, char *handle );
     213xt_status jabber_iq_query_features( struct im_connection *ic, char *bare_jid );
     214xt_status jabber_iq_query_server( struct im_connection *ic, char *jid, char *xmlns );
    201215
    202216/* si.c */
Note: See TracChangeset for help on using the changeset viewer.