#include <sslconn.h>
Data Fields | |
gboolean(* | init )(void) |
Initializes the SSL system provided. | |
void(* | uninit )(void) |
Unloads the SSL system. | |
void(* | connectfunc )(PurpleSslConnection *gsc) |
Sets up the SSL connection for a PurpleSslConnection once the TCP connection has been established. | |
void(* | close )(PurpleSslConnection *gsc) |
Destroys the internal data of the SSL connection provided. | |
size_t(* | read )(PurpleSslConnection *gsc, void *data, size_t len) |
Reads data from a connection (like POSIX read()). | |
size_t(* | write )(PurpleSslConnection *gsc, const void *data, size_t len) |
Writes data to a connection (like POSIX send()). | |
void(* | _purple_reserved1 )(void) |
void(* | _purple_reserved2 )(void) |
void(* | _purple_reserved3 )(void) |
void(* | _purple_reserved4 )(void) |
Every SSL implementation must provide all of these and register it via purple_ssl_set_ops() These should not be called directly! Instead, use the purple_ssl_* functions.
|
Destroys the internal data of the SSL connection provided. Freeing gsc itself is left to purple_ssl_close() |
|
Initializes the SSL system provided.
|
|
Reads data from a connection (like POSIX read()).
|
|
Unloads the SSL system. Inverse of init. |
|
Writes data to a connection (like POSIX send()).
|