Ignore:
Timestamp:
2007-07-30T19:12:06Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
82135c7
Parents:
85023c6
Message:

Added jabber_error_parse() and using it for both stream- and stanza
(only presence so far) errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r85023c6 r1baaef8  
    194194} get_buddy_flags_t;
    195195
     196struct jabber_error
     197{
     198        char *code, *text, *type;
     199};
     200
    196201struct jabber_buddy *jabber_buddy_add( struct im_connection *ic, char *full_jid );
    197202struct jabber_buddy *jabber_buddy_by_jid( struct im_connection *ic, char *jid, get_buddy_flags_t flags );
     
    201206struct groupchat *jabber_chat_by_name( struct im_connection *ic, const char *name );
    202207time_t jabber_get_timestamp( struct xt_node *xt );
     208struct jabber_error *jabber_error_parse( struct xt_node *node, char *xmlns );
     209void jabber_error_free( struct jabber_error *err );
    203210
    204211extern const struct jabber_away_state jabber_away_state_list[];
Note: See TracChangeset for help on using the changeset viewer.