about summary refs log tree commit diff stats
path: root/src/xmpp/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/connection.h')
-rw-r--r--src/xmpp/connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/connection.h b/src/xmpp/connection.h
index cab579f7..0f0c2c10 100644
--- a/src/xmpp/connection.h
+++ b/src/xmpp/connection.h
@@ -46,6 +46,8 @@ void connection_check_events(void);
 
 jabber_conn_status_t connection_connect(const char* const fulljid, const char* const passwd, const char* const altdomain, int port,
                                         const char* const tls_policy, const char* const auth_policy);
+jabber_conn_status_t connection_register(const char* const altdomain, int port, const char* const tls_policy,
+                                        const char* const username, const char* const password);
 void connection_disconnect(void);
 void connection_set_disconnected(void);
 
@@ -68,3 +70,4 @@ void connection_remove_available_resource(const char* const resource);
 char* connection_create_stanza_id(void);
 
 #endif
+