Ignore:
Timestamp:
2006-09-22T18:39:31Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d8e0484
Parents:
8d74291
Message:

Better detection of successful IQ authentication (using packet caching),
properly working SASL authentication (although only PLAIN so far).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r8d74291 rfe7a554  
    3535        JFLAG_AUTHENTICATED = 2,        /* Set when we're successfully authenticatd. */
    3636        JFLAG_STREAM_RESTART = 4,       /* Set when we want to restart the stream (after SASL or TLS). */
     37        JFLAG_WAIT_SESSION = 8,         /* Set if we sent a <session> tag and need a reply before we continue. */
     38        JFLAG_WAIT_BIND = 16,           /* ... for <bind> tag. */
    3739} jabber_flags_t;
    3840
     
    5355char *set_eval_tls( set_t *set, char *value );
    5456struct xt_node *jabber_make_packet( char *name, char *type, char *to, struct xt_node *children );
     57void jabber_cache_packet( struct gaim_connection *gc, struct xt_node *node );
     58struct xt_node *jabber_packet_from_cache( struct gaim_connection *gc, char *id );
    5559
    5660/* io.c */
     
    8286        char *username;         /* USERNAME@server */
    8387        char *server;           /* username@SERVER -=> server/domain, not hostname */
     88       
     89        struct xt_node *node_cache;
    8490};
    8591
Note: See TracChangeset for help on using the changeset viewer.