Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    re14b47b8 r96f954d  
    4747        JFLAG_XMLCONSOLE = 64,          /* If the user added an xmlconsole buddy. */
    4848        JFLAG_STARTTLS_DONE = 128,      /* If a plaintext session was converted to TLS. */
    49        
    50         JFLAG_SASL_FB = 0x10000,        /* Trying Facebook authentication. */
    5149} jabber_flags_t;
    5250
     
    9492        char *username;         /* USERNAME@server */
    9593        char *server;           /* username@SERVER -=> server/domain, not hostname */
    96         char *me;               /* bare jid */
    97        
    98         const struct oauth2_service *oauth2_service;
    99         char *oauth2_access_token;
    10094       
    10195        /* After changing one of these two (or the priority setting), call
     
    238232#define XMLNS_IBB          "http://jabber.org/protocol/ibb"                      /* XEP-0047 */
    239233
    240 /* jabber.c */
    241 void jabber_connect( struct im_connection *ic );
    242 
    243234/* iq.c */
    244235xt_status jabber_pkt_iq( struct xt_node *node, gpointer data );
     
    309300struct jabber_error *jabber_error_parse( struct xt_node *node, char *xmlns );
    310301void jabber_error_free( struct jabber_error *err );
    311 gboolean jabber_set_me( struct im_connection *ic, const char *me );
    312302
    313303extern const struct jabber_away_state jabber_away_state_list[];
     
    317307int jabber_write( struct im_connection *ic, char *buf, int len );
    318308gboolean jabber_connected_plain( gpointer data, gint source, b_input_condition cond );
    319 gboolean jabber_connected_ssl( gpointer data, void *source, b_input_condition cond );
     309gboolean jabber_connected_ssl( gpointer data, int returncode, void *source, b_input_condition cond );
    320310gboolean jabber_start_stream( struct im_connection *ic );
    321311void jabber_end_stream( struct im_connection *ic );
     
    326316xt_status sasl_pkt_result( struct xt_node *node, gpointer data );
    327317gboolean sasl_supported( struct im_connection *ic );
    328 void sasl_oauth2_init( struct im_connection *ic );
    329 int sasl_oauth2_get_refresh_token( struct im_connection *ic, const char *msg );
    330 int sasl_oauth2_refresh( struct im_connection *ic, const char *refresh_token );
    331 
    332 extern const struct oauth2_service oauth2_service_google;
    333 extern const struct oauth2_service oauth2_service_facebook;
    334 extern const struct oauth2_service oauth2_service_mslive;
    335318
    336319/* conference.c */
Note: See TracChangeset for help on using the changeset viewer.