|  | 
| static int | _disconnect_cleanup (xmpp_conn_t *conn, void *userdata) | 
|  | 
| static char * | _conn_build_stream_tag (xmpp_conn_t *conn, char **attributes, size_t attributes_len) | 
|  | 
| static int | _conn_open_stream_with_attributes (xmpp_conn_t *conn, char **attributes, size_t attributes_len) | 
|  | 
| static void | _conn_attributes_new (xmpp_conn_t *conn, char **attrs, char ***attributes, size_t *attributes_len) | 
|  | 
| static void | _conn_attributes_destroy (xmpp_conn_t *conn, char **attributes, size_t attributes_len) | 
|  | 
| static void | _handle_stream_start (char *name, char **attrs, void *userdata) | 
|  | 
| static void | _handle_stream_end (char *name, void *userdata) | 
|  | 
| static void | _handle_stream_stanza (xmpp_stanza_t *stanza, void *userdata) | 
|  | 
| static void | _conn_sm_handle_stanza (xmpp_conn_t *const conn, xmpp_stanza_t *stanza) | 
|  | 
| static unsigned short | _conn_default_port (xmpp_conn_t *conn, xmpp_conn_type_t type) | 
|  | 
| static void | _conn_reset (xmpp_conn_t *conn) | 
|  | 
| static int | _conn_connect (xmpp_conn_t *conn, const char *domain, const char *host, unsigned short port, xmpp_conn_type_t type, xmpp_conn_handler callback, void *userdata) | 
|  | 
| static void | _send_valist (xmpp_conn_t *conn, const char *fmt, va_list ap, xmpp_send_queue_owner_t owner) | 
|  | 
| static int | _send_raw (xmpp_conn_t *conn, char *data, size_t len, xmpp_send_queue_owner_t owner, void *userdata) | 
|  | 
| void | xmpp_send_error (xmpp_conn_t *conn, xmpp_error_type_t type, char *text) | 
|  | 
| xmpp_conn_t * | xmpp_conn_new (xmpp_ctx_t *ctx) | 
|  | Create a new Strophe connection object.  More... 
 | 
|  | 
| xmpp_conn_t * | xmpp_conn_clone (xmpp_conn_t *conn) | 
|  | Clone a Strophe connection object.  More... 
 | 
|  | 
| void | xmpp_conn_set_sockopt_callback (xmpp_conn_t *conn, xmpp_sockopt_callback callback) | 
|  | Register sockopt callback Set function to be called when a new socket is created to allow setting socket options before connection is started.  More... 
 | 
|  | 
| int | xmpp_conn_release (xmpp_conn_t *conn) | 
|  | Release a Strophe connection object.  More... 
 | 
|  | 
| const char * | xmpp_conn_get_jid (const xmpp_conn_t *conn) | 
|  | Get the JID which is or will be bound to the connection.  More... 
 | 
|  | 
| const char * | xmpp_conn_get_bound_jid (const xmpp_conn_t *conn) | 
|  | Get the JID discovered during binding time.  More... 
 | 
|  | 
| void | xmpp_conn_set_jid (xmpp_conn_t *conn, const char *jid) | 
|  | Set the JID of the user that will be bound to the connection.  More... 
 | 
|  | 
| void | xmpp_conn_set_certfail_handler (xmpp_conn_t *const conn, xmpp_certfail_handler hndl) | 
|  | Set the Handler function which will be called when the TLS stack can't verify the CA of the server we're trying to connect to.  More... 
 | 
|  | 
| void | xmpp_conn_set_cafile (xmpp_conn_t *const conn, const char *path) | 
|  | Set the CAfile.  More... 
 | 
|  | 
| void | xmpp_conn_set_capath (xmpp_conn_t *const conn, const char *path) | 
|  | Set the CApath.  More... 
 | 
|  | 
| xmpp_tlscert_t * | xmpp_conn_get_peer_cert (xmpp_conn_t *const conn) | 
|  | Retrieve the peer certificate.  More... 
 | 
|  | 
| void | xmpp_conn_set_password_callback (xmpp_conn_t *conn, xmpp_password_callback cb, void *userdata) | 
|  | Set the Callback function which will be called when the TLS stack can't decrypt a password protected key file.  More... 
 | 
|  | 
| void | xmpp_conn_set_password_retries (xmpp_conn_t *conn, unsigned int retries) | 
|  | Set the number of retry attempts to decrypt a private key file.  More... 
 | 
|  | 
| const char * | xmpp_conn_get_keyfile (const xmpp_conn_t *conn) | 
|  | Retrieve the path of the key file that shall be unlocked.  More... 
 | 
|  | 
| void | xmpp_conn_set_client_cert (xmpp_conn_t *const conn, const char *const cert, const char *const key) | 
|  | Set the Client Certificate and Private Key or PKCS#12 encoded file that will be bound to the connection.  More... 
 | 
|  | 
| unsigned int | xmpp_conn_cert_xmppaddr_num (xmpp_conn_t *const conn) | 
|  | Get the number of xmppAddr entries in the client certificate.  More... 
 | 
|  | 
| char * | xmpp_conn_cert_xmppaddr (xmpp_conn_t *const conn, unsigned int n) | 
|  | Get a specific xmppAddr entry.  More... 
 | 
|  | 
| const char * | xmpp_conn_get_pass (const xmpp_conn_t *conn) | 
|  | Get the password used for authentication of a connection.  More... 
 | 
|  | 
| void | xmpp_conn_set_pass (xmpp_conn_t *conn, const char *pass) | 
|  | Set the password used to authenticate the connection.  More... 
 | 
|  | 
| xmpp_ctx_t * | xmpp_conn_get_context (xmpp_conn_t *conn) | 
|  | Get the strophe context that the connection is associated with.  More... 
 | 
|  | 
| int | xmpp_connect_client (xmpp_conn_t *conn, const char *altdomain, unsigned short altport, xmpp_conn_handler callback, void *userdata) | 
|  | Initiate a connection to the XMPP server.  More... 
 | 
|  | 
| int | xmpp_connect_component (xmpp_conn_t *conn, const char *server, unsigned short port, xmpp_conn_handler callback, void *userdata) | 
|  | Initiate a component connection to server.  More... 
 | 
|  | 
| int | xmpp_connect_raw (xmpp_conn_t *conn, const char *altdomain, unsigned short altport, xmpp_conn_handler callback, void *userdata) | 
|  | Initiate a raw connection to the XMPP server.  More... 
 | 
|  | 
| void | conn_established (xmpp_conn_t *conn) | 
|  | 
| int | xmpp_conn_open_stream_default (xmpp_conn_t *conn) | 
|  | Send the default opening stream tag.  More... 
 | 
|  | 
| int | xmpp_conn_open_stream (xmpp_conn_t *conn, char **attributes, size_t attributes_len) | 
|  | Send an opening stream tag.  More... 
 | 
|  | 
| int | xmpp_conn_tls_start (xmpp_conn_t *conn) | 
|  | Start synchronous TLS handshake with the server.  More... 
 | 
|  | 
| void | conn_disconnect_clean (xmpp_conn_t *conn) | 
|  | Cleanly disconnect the connection.  More... 
 | 
|  | 
| void | conn_disconnect (xmpp_conn_t *conn) | 
|  | Disconnect from the XMPP server.  More... 
 | 
|  | 
| void | conn_prepare_reset (xmpp_conn_t *conn, xmpp_open_handler handler) | 
|  | 
| void | conn_parser_reset (xmpp_conn_t *conn) | 
|  | 
| void | xmpp_disconnect (xmpp_conn_t *conn) | 
|  | Initiate termination of the connection to the XMPP server.  More... 
 | 
|  | 
| void | xmpp_send_raw_string (xmpp_conn_t *conn, const char *fmt,...) | 
|  | Send a raw string to the XMPP server.  More... 
 | 
|  | 
| void | xmpp_send_raw (xmpp_conn_t *conn, const char *data, size_t len) | 
|  | Send raw bytes to the XMPP server.  More... 
 | 
|  | 
| void | xmpp_send (xmpp_conn_t *conn, xmpp_stanza_t *stanza) | 
|  | Send an XML stanza to the XMPP server.  More... 
 | 
|  | 
| void | conn_open_stream (xmpp_conn_t *conn) | 
|  | Send the opening <stream:stream> tag to the server.  More... 
 | 
|  | 
| int | conn_tls_start (xmpp_conn_t *conn) | 
|  | 
| long | xmpp_conn_get_flags (const xmpp_conn_t *conn) | 
|  | Return applied flags for the connection.  More... 
 | 
|  | 
| int | xmpp_conn_set_flags (xmpp_conn_t *conn, long flags) | 
|  | Set flags for the connection.  More... 
 | 
|  | 
| void | xmpp_conn_disable_tls (xmpp_conn_t *conn) | 
|  | Disable TLS for this connection, called by users of the library.  More... 
 | 
|  | 
| int | xmpp_conn_is_secured (xmpp_conn_t *conn) | 
|  | Return whether TLS session is established or not.  More... 
 | 
|  | 
| int | xmpp_conn_is_connecting (xmpp_conn_t *conn) | 
|  | 
| int | xmpp_conn_is_connected (xmpp_conn_t *conn) | 
|  | 
| int | xmpp_conn_is_disconnected (xmpp_conn_t *conn) | 
|  | 
| xmpp_sm_state_t * | xmpp_conn_get_sm_state (xmpp_conn_t *conn) | 
|  | This returns the Stream Management state of a connection object after it has been disconnected.  More... 
 | 
|  | 
| int | xmpp_conn_set_sm_state (xmpp_conn_t *conn, xmpp_sm_state_t *sm_state) | 
|  | 
| void | xmpp_free_sm_state (xmpp_sm_state_t *sm_state) | 
|  | c.f.  More... 
 | 
|  | 
| int | xmpp_conn_send_queue_len (const xmpp_conn_t *conn) | 
|  | 
| static char * | _drop_send_queue_element (xmpp_conn_t *conn, xmpp_send_queue_t *e) | 
|  | 
| char * | xmpp_conn_send_queue_drop_element (xmpp_conn_t *conn, xmpp_queue_element_t which) | 
|  | Drop an element of the send queue.  More... 
 | 
|  | 
| static void | _log_open_tag (xmpp_conn_t *conn, char **attrs) | 
|  | 
| static char * | _get_stream_attribute (char **attrs, char *name) | 
|  | 
| char * | queue_element_free (xmpp_ctx_t *ctx, xmpp_send_queue_t *e) | 
|  | 
| void | send_raw (xmpp_conn_t *conn, const char *data, size_t len, xmpp_send_queue_owner_t owner, void *userdata) | 
|  | 
| void | send_raw_string (xmpp_conn_t *conn, const char *fmt,...) | 
|  | 
| void | send_stanza (xmpp_conn_t *conn, xmpp_stanza_t *stanza, xmpp_send_queue_owner_t owner) | 
|  | 
| void | add_queue_back (xmpp_queue_t *queue, xmpp_send_queue_t *item) | 
|  | 
| xmpp_send_queue_t * | pop_queue_front (xmpp_queue_t *queue) | 
|  |