Strophe
0.9
XMPP client library
|
TLS implementation with OpenSSL. More...
Data Structures | |
struct | tls_t |
Enumerations | |
enum | { TLS_SHUTDOWN_MAX_RETRIES = 10, TLS_TIMEOUT_SEC = 0, TLS_TIMEOUT_USEC = 100000 } |
Functions | |
static void | _tls_sock_wait (tls_t *tls, int error) |
static void | _tls_set_error (tls_t *tls, int error) |
static void | _tls_log_error (xmpp_ctx_t *ctx) |
void | tls_initialize (void) |
void | tls_shutdown (void) |
int | tls_error (tls_t *tls) |
tls_t * | tls_new (xmpp_conn_t *conn) |
void | tls_free (tls_t *tls) |
int | tls_set_credentials (tls_t *tls, const char *cafilename) |
int | tls_start (tls_t *tls) |
int | tls_stop (tls_t *tls) |
int | tls_is_recoverable (int error) |
int | tls_pending (tls_t *tls) |
int | tls_read (tls_t *tls, void *const buff, const size_t len) |
int | tls_write (tls_t *tls, const void *const buff, const size_t len) |
int | tls_clear_pending_write (tls_t *tls) |
TLS implementation with OpenSSL.
|
static |
|
static |
|
static |
void tls_initialize | ( | void | ) |
void tls_shutdown | ( | void | ) |
int tls_error | ( | tls_t * | tls | ) |
tls_t* tls_new | ( | xmpp_conn_t * | conn | ) |
void tls_free | ( | tls_t * | tls | ) |
int tls_set_credentials | ( | tls_t * | tls, |
const char * | cafilename | ||
) |
int tls_start | ( | tls_t * | tls | ) |
int tls_stop | ( | tls_t * | tls | ) |
int tls_is_recoverable | ( | int | error | ) |
int tls_pending | ( | tls_t * | tls | ) |
int tls_read | ( | tls_t * | tls, |
void *const | buff, | ||
const size_t | len | ||
) |
int tls_write | ( | tls_t * | tls, |
const void *const | buff, | ||
const size_t | len | ||
) |
int tls_clear_pending_write | ( | tls_t * | tls | ) |