Ignore:
Timestamp:
2015-02-21T06:18:21Z (10 years ago)
Author:
dequis <dx@…>
Children:
89db90e
Parents:
59c1fe7
Message:

Add hipchat support to the jabber module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r59c1fe7 r0e4c3dd  
    250250#define XMLNS_IBB          "http://jabber.org/protocol/ibb"                      /* XEP-0047 */
    251251
     252/* Hipchat protocol extensions*/
     253#define XMLNS_HIPCHAT         "http://hipchat.com"
     254#define XMLNS_HIPCHAT_PROFILE "http://hipchat.com/protocol/profile"
     255#define XMLNS_HIPCHAT_MUC     "http://hipchat.com/protocol/muc#room"
     256
    252257/* jabber.c */
    253258void jabber_connect(struct im_connection *ic);
     
    259264int jabber_get_roster(struct im_connection *ic);
    260265int jabber_get_vcard(struct im_connection *ic, char *bare_jid);
     266int jabber_iq_disco_muc(struct im_connection *ic, char *muc_server);
    261267int jabber_add_to_roster(struct im_connection *ic, const char *handle, const char *name, const char *group);
    262268int jabber_remove_from_roster(struct im_connection *ic, char *handle);
     
    264270xt_status jabber_iq_query_server(struct im_connection *ic, char *jid, char *xmlns);
    265271void jabber_iq_version_send(struct im_connection *ic, struct jabber_buddy *bud, void *data);
     272int jabber_iq_disco_server(struct im_connection *ic);
    266273
    267274/* si.c */
     
    357364void jabber_chat_invite(struct groupchat *c, char *who, char *message);
    358365
     366/* hipchat.c */
     367int jabber_get_hipchat_profile(struct im_connection *ic);
     368xt_status jabber_parse_hipchat_profile(struct im_connection *ic, struct xt_node *node, struct xt_node *orig);
     369xt_status hipchat_handle_success(struct im_connection *ic, struct xt_node *node);
     370xt_status jabber_parse_muc_list(struct im_connection *ic, struct xt_node *node, struct xt_node *orig);
     371
    359372#endif
Note: See TracChangeset for help on using the changeset viewer.