Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r5ebff60 r9dc67f4  
    4848
    4949        JFLAG_GTALK =  0x100000,        /* Is Google Talk, as confirmed by iq discovery */
     50        JFLAG_HIPCHAT = 0x200000,       /* Is hipchat, because prpl->name says so */
    5051
    5152        JFLAG_SASL_FB = 0x10000,        /* Trying Facebook authentication. */
     
    235236#define XMLNS_IBB          "http://jabber.org/protocol/ibb"                      /* XEP-0047 */
    236237
     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
    237243/* jabber.c */
    238244void jabber_connect(struct im_connection *ic);
     
    244250int jabber_get_roster(struct im_connection *ic);
    245251int jabber_get_vcard(struct im_connection *ic, char *bare_jid);
     252int jabber_iq_disco_muc(struct im_connection *ic, char *muc_server);
    246253int jabber_add_to_roster(struct im_connection *ic, const char *handle, const char *name, const char *group);
    247254int jabber_remove_from_roster(struct im_connection *ic, char *handle);
     
    249256xt_status jabber_iq_query_server(struct im_connection *ic, char *jid, char *xmlns);
    250257void jabber_iq_version_send(struct im_connection *ic, struct jabber_buddy *bud, void *data);
     258int jabber_iq_disco_server(struct im_connection *ic);
    251259
    252260/* si.c */
     
    306314void jabber_error_free(struct jabber_error *err);
    307315gboolean jabber_set_me(struct im_connection *ic, const char *me);
     316char *jabber_get_bare_jid(char *jid);
    308317
    309318extern const struct jabber_away_state jabber_away_state_list[];
     
    341350void jabber_chat_invite(struct groupchat *c, char *who, char *message);
    342351
     352/* hipchat.c */
     353int jabber_get_hipchat_profile(struct im_connection *ic);
     354xt_status jabber_parse_hipchat_profile(struct im_connection *ic, struct xt_node *node, struct xt_node *orig);
     355xt_status hipchat_handle_success(struct im_connection *ic, struct xt_node *node);
     356xt_status jabber_parse_muc_list(struct im_connection *ic, struct xt_node *node, struct xt_node *orig);
     357
    343358#endif
Note: See TracChangeset for help on using the changeset viewer.