mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 11:46:20 +00:00
Use Jid datatype in chat rooms
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#define JABBER_H
|
||||
|
||||
#include "accounts.h"
|
||||
#include "jid.h"
|
||||
|
||||
typedef enum {
|
||||
JABBER_UNDEFINED,
|
||||
@@ -59,7 +60,7 @@ jabber_conn_status_t jabber_connect_with_account(ProfAccount *account,
|
||||
const char * const passwd);
|
||||
void jabber_disconnect(void);
|
||||
void jabber_process_events(void);
|
||||
void jabber_join(const char * const room, const char * const nick);
|
||||
void jabber_join(Jid *jid);
|
||||
void jabber_change_room_nick(const char * const room, const char * const nick);
|
||||
void jabber_leave_chat_room(const char * const room_jid);
|
||||
void jabber_subscription(const char * const jid, jabber_subscr_t action);
|
||||
|
||||
Reference in New Issue
Block a user