Ignore:
Timestamp:
2006-09-22T12:04:35Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8d74291
Parents:
deff040
Message:

Basic SASL (PLAIN only ATM) authentication code. Doesn't log in completely
yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    rdeff040 r5997488  
    3232typedef enum
    3333{
    34         JFLAG_STREAM_STARTED = 1,
    35         JFLAG_AUTHENTICATED = 2,
     34        JFLAG_STREAM_STARTED = 1,       /* Set when we detected the beginning of the stream and want to do auth. */
     35        JFLAG_AUTHENTICATED = 2,        /* Set when we're successfully authenticatd. */
     36        JFLAG_STREAM_RESTART = 4,       /* Set when we want to restart the stream (after SASL or TLS). */
     37        JFLAG_SUPPORTS_TLS = 8,         /* Set when there's <starttls/> in <stream:features>. */
    3638} jabber_flags_t;
    3739
     
    6062void jabber_end_stream( struct gaim_connection *gc );
    6163
     64/* sasl.c */
     65xt_status sasl_pkt_mechanisms( struct xt_node *node, gpointer data );
     66xt_status sasl_pkt_challenge( struct xt_node *node, gpointer data );
     67xt_status sasl_pkt_result( struct xt_node *node, gpointer data );
     68
    6269struct jabber_data
    6370{
Note: See TracChangeset for help on using the changeset viewer.