Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    rd76e12f re1c926f  
    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. */
    4951} jabber_flags_t;
    5052
     
    9294        char *username;         /* USERNAME@server */
    9395        char *server;           /* username@SERVER -=> server/domain, not hostname */
     96       
     97        char *oauth2_access_token;
    9498       
    9599        /* After changing one of these two (or the priority setting), call
     
    232236#define XMLNS_IBB          "http://jabber.org/protocol/ibb"                      /* XEP-0047 */
    233237
     238/* jabber.c */
     239void jabber_connect( struct im_connection *ic );
     240
    234241/* iq.c */
    235242xt_status jabber_pkt_iq( struct xt_node *node, gpointer data );
     
    316323xt_status sasl_pkt_result( struct xt_node *node, gpointer data );
    317324gboolean sasl_supported( struct im_connection *ic );
     325void sasl_oauth2_init( struct im_connection *ic );
     326int sasl_oauth2_get_refresh_token( struct im_connection *ic, const char *msg );
     327int sasl_oauth2_refresh( struct im_connection *ic, const char *refresh_token );
    318328
    319329/* conference.c */
Note: See TracChangeset for help on using the changeset viewer.