mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 10:16:21 +00:00
refactored jabber_connect functions
* similar code moved to jabber_connect() * variables saved_* moved to a structure saved_user * 'user' renamed to 'jid'
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "accounts.h"
|
||||
|
||||
typedef enum {
|
||||
JABBER_UNDEFINED,
|
||||
JABBER_STARTED,
|
||||
JABBER_CONNECTING,
|
||||
JABBER_CONNECTED,
|
||||
@@ -49,7 +50,7 @@ typedef enum {
|
||||
} jabber_subscr_t;
|
||||
|
||||
void jabber_init(const int disable_tls);
|
||||
jabber_conn_status_t jabber_connect(const char * const user,
|
||||
jabber_conn_status_t jabber_connect(const char * const jid,
|
||||
const char * const passwd, const char * const altdomain);
|
||||
jabber_conn_status_t jabber_connect_with_account(ProfAccount *account,
|
||||
const char * const passwd);
|
||||
|
||||
Reference in New Issue
Block a user