Changes in protocols/jabber/jabber.h [e14b47b8:96f954d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
re14b47b8 r96f954d 47 47 JFLAG_XMLCONSOLE = 64, /* If the user added an xmlconsole buddy. */ 48 48 JFLAG_STARTTLS_DONE = 128, /* If a plaintext session was converted to TLS. */ 49 50 JFLAG_SASL_FB = 0x10000, /* Trying Facebook authentication. */51 49 } jabber_flags_t; 52 50 … … 94 92 char *username; /* USERNAME@server */ 95 93 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;100 94 101 95 /* After changing one of these two (or the priority setting), call … … 238 232 #define XMLNS_IBB "http://jabber.org/protocol/ibb" /* XEP-0047 */ 239 233 240 /* jabber.c */241 void jabber_connect( struct im_connection *ic );242 243 234 /* iq.c */ 244 235 xt_status jabber_pkt_iq( struct xt_node *node, gpointer data ); … … 309 300 struct jabber_error *jabber_error_parse( struct xt_node *node, char *xmlns ); 310 301 void jabber_error_free( struct jabber_error *err ); 311 gboolean jabber_set_me( struct im_connection *ic, const char *me );312 302 313 303 extern const struct jabber_away_state jabber_away_state_list[]; … … 317 307 int jabber_write( struct im_connection *ic, char *buf, int len ); 318 308 gboolean jabber_connected_plain( gpointer data, gint source, b_input_condition cond ); 319 gboolean jabber_connected_ssl( gpointer data, void *source, b_input_condition cond );309 gboolean jabber_connected_ssl( gpointer data, int returncode, void *source, b_input_condition cond ); 320 310 gboolean jabber_start_stream( struct im_connection *ic ); 321 311 void jabber_end_stream( struct im_connection *ic ); … … 326 316 xt_status sasl_pkt_result( struct xt_node *node, gpointer data ); 327 317 gboolean 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;335 318 336 319 /* conference.c */
Note: See TracChangeset
for help on using the changeset viewer.