Changeset 5f40da7 for protocols/jabber/jabber.h
- Timestamp:
- 2011-12-26T10:51:19Z (12 years ago)
- Branches:
- master
- Children:
- 199fea6
- Parents:
- 96f954d (diff), 644b808 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
r96f954d r5f40da7 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 … … 188 194 189 195 #define JABBER_XMLCONSOLE_HANDLE "xmlconsole" 196 #define JABBER_OAUTH_HANDLE "jabber_oauth" 190 197 191 198 /* Prefixes to use for packet IDs (mainly for IQ packets ATM). Usually the … … 232 239 #define XMLNS_IBB "http://jabber.org/protocol/ibb" /* XEP-0047 */ 233 240 241 /* jabber.c */ 242 void jabber_connect( struct im_connection *ic ); 243 234 244 /* iq.c */ 235 245 xt_status jabber_pkt_iq( struct xt_node *node, gpointer data ); … … 300 310 struct jabber_error *jabber_error_parse( struct xt_node *node, char *xmlns ); 301 311 void jabber_error_free( struct jabber_error *err ); 312 gboolean jabber_set_me( struct im_connection *ic, const char *me ); 302 313 303 314 extern const struct jabber_away_state jabber_away_state_list[]; … … 316 327 xt_status sasl_pkt_result( struct xt_node *node, gpointer data ); 317 328 gboolean sasl_supported( struct im_connection *ic ); 329 void sasl_oauth2_init( struct im_connection *ic ); 330 int sasl_oauth2_get_refresh_token( struct im_connection *ic, const char *msg ); 331 int sasl_oauth2_refresh( struct im_connection *ic, const char *refresh_token ); 332 333 extern const struct oauth2_service oauth2_service_google; 334 extern const struct oauth2_service oauth2_service_facebook; 335 extern const struct oauth2_service oauth2_service_mslive; 318 336 319 337 /* conference.c */
Note: See TracChangeset
for help on using the changeset viewer.