Changes in protocols/jabber/jabber.h [5ebff60:9dc67f4]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
r5ebff60 r9dc67f4 48 48 49 49 JFLAG_GTALK = 0x100000, /* Is Google Talk, as confirmed by iq discovery */ 50 JFLAG_HIPCHAT = 0x200000, /* Is hipchat, because prpl->name says so */ 50 51 51 52 JFLAG_SASL_FB = 0x10000, /* Trying Facebook authentication. */ … … 235 236 #define XMLNS_IBB "http://jabber.org/protocol/ibb" /* XEP-0047 */ 236 237 238 /* Hipchat protocol extensions*/ 239 #define XMLNS_HIPCHAT "http://hipchat.com" 240 #define XMLNS_HIPCHAT_PROFILE "http://hipchat.com/protocol/profile" 241 #define XMLNS_HIPCHAT_MUC "http://hipchat.com/protocol/muc#room" 242 237 243 /* jabber.c */ 238 244 void jabber_connect(struct im_connection *ic); … … 244 250 int jabber_get_roster(struct im_connection *ic); 245 251 int jabber_get_vcard(struct im_connection *ic, char *bare_jid); 252 int jabber_iq_disco_muc(struct im_connection *ic, char *muc_server); 246 253 int jabber_add_to_roster(struct im_connection *ic, const char *handle, const char *name, const char *group); 247 254 int jabber_remove_from_roster(struct im_connection *ic, char *handle); … … 249 256 xt_status jabber_iq_query_server(struct im_connection *ic, char *jid, char *xmlns); 250 257 void jabber_iq_version_send(struct im_connection *ic, struct jabber_buddy *bud, void *data); 258 int jabber_iq_disco_server(struct im_connection *ic); 251 259 252 260 /* si.c */ … … 306 314 void jabber_error_free(struct jabber_error *err); 307 315 gboolean jabber_set_me(struct im_connection *ic, const char *me); 316 char *jabber_get_bare_jid(char *jid); 308 317 309 318 extern const struct jabber_away_state jabber_away_state_list[]; … … 341 350 void jabber_chat_invite(struct groupchat *c, char *who, char *message); 342 351 352 /* hipchat.c */ 353 int jabber_get_hipchat_profile(struct im_connection *ic); 354 xt_status jabber_parse_hipchat_profile(struct im_connection *ic, struct xt_node *node, struct xt_node *orig); 355 xt_status hipchat_handle_success(struct im_connection *ic, struct xt_node *node); 356 xt_status jabber_parse_muc_list(struct im_connection *ic, struct xt_node *node, struct xt_node *orig); 357 343 358 #endif
Note: See TracChangeset
for help on using the changeset viewer.