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