about summary refs log tree commit diff stats
path: root/src/jabber.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-27 20:23:42 +0000
committerJames Booth <boothj5@gmail.com>2013-01-27 20:23:42 +0000
commit972ca34d4b45f8a34997d480dec9cdcd39bae811 (patch)
tree57abad987380c18a9ef67edf9bc87f3e98534663 /src/jabber.h
parentb9361542992118393fe6c39a8e0a2ec916696485 (diff)
downloadprofani-tty-972ca34d4b45f8a34997d480dec9cdcd39bae811.tar.gz
Refactored connecting, and reconnecting
The user either logs in with an account, in which case its name, and the
password is kept for reconnects. Or the user can login with a jid (and
server) which does not currently exist as a local account.  On success
an account is created, with the jid as the name.
Diffstat (limited to 'src/jabber.h')
-rw-r--r--src/jabber.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jabber.h b/src/jabber.h
index 22538fd1..df75d503 100644
--- a/src/jabber.h
+++ b/src/jabber.h
@@ -56,7 +56,7 @@ typedef enum {
 #define JABBER_PRIORITY_MAX 127
 
 void jabber_init(const int disable_tls);
-jabber_conn_status_t jabber_connect(const char * const jid,
+jabber_conn_status_t jabber_connect_with_details(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);