void xmpp_promote_room_master(const char *nickname) { /* Ask server the account details of someone */ xmpp_iq_profile_info_get_status(nickname, xmpp_promote_room_master_cb, NULL); }
void cmd_whisper(const char *nickname, const char *message) { if (nickname == NULL || message == NULL) return; struct cb_args *a = calloc(1, sizeof (struct cb_args)); a->message = strdup(message); xmpp_iq_profile_info_get_status(nickname, cmd_whisper_cb, a); }
void cmd_whois(const char *nickname, const char *nick_to, const char *jid_to) { struct cb_args *a = calloc(1, sizeof (struct cb_args)); if (a->nick_to) a->nick_to = strdup(nick_to); if (a->jid_to) a->jid_to = strdup(jid_to); xmpp_iq_profile_info_get_status(nickname, cmd_whois_cb, a); }