Ignore:
Timestamp:
2006-10-08T18:41:11Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6a1128d
Parents:
038d17f
Message:

Moved handling of all IQ packets to event handlers. Cleaned up a LOT of
mess in iq.c!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r038d17f r861c199  
    6969};
    7070
    71 typedef xt_status (*jabber_cache_event) ( struct gaim_connection *gc, struct xt_node *packet );
     71typedef xt_status (*jabber_cache_event) ( struct gaim_connection *gc, struct xt_node *node, struct xt_node *orig );
    7272
    7373struct jabber_cache_entry
     
    7979/* iq.c */
    8080xt_status jabber_pkt_iq( struct xt_node *node, gpointer data );
    81 int jabber_start_iq_auth( struct gaim_connection *gc );
     81int jabber_init_iq_auth( struct gaim_connection *gc );
     82xt_status jabber_pkt_bind_sess( struct gaim_connection *gc, struct xt_node *node, struct xt_node *orig );
    8283int jabber_get_roster( struct gaim_connection *gc );
    8384int jabber_add_to_roster( struct gaim_connection *gc, char *handle, char *name );
     
    9697char *set_eval_tls( set_t *set, char *value );
    9798struct xt_node *jabber_make_packet( char *name, char *type, char *to, struct xt_node *children );
    98 void jabber_cache_add( struct gaim_connection *gc, struct xt_node *node );
     99void jabber_cache_add( struct gaim_connection *gc, struct xt_node *node, jabber_cache_event func );
    99100struct xt_node *jabber_cache_get( struct gaim_connection *gc, char *id );
    100101void jabber_cache_entry_free( gpointer entry );
Note: See TracChangeset for help on using the changeset viewer.