Loading...
Searching...
No Matches
Functions
as_tls.h File Reference
#include <aerospike/as_address.h>
#include <aerospike/as_config.h>
#include <aerospike/as_status.h>
#include <aerospike/as_socket.h>
#include <openssl/ssl.h>
+ Include dependency graph for as_tls.h:

Go to the source code of this file.

Functions

void as_tls_check_init (void)
 
void as_tls_cleanup (void)
 
as_status as_tls_config_reload (as_config_tls *tlscfg, as_tls_context *ctx, as_error *err)
 
int as_tls_connect (as_socket *sock, uint64_t deadline)
 
int as_tls_connect_once (as_socket *sock)
 
void as_tls_context_destroy (as_tls_context *ctx)
 
as_status as_tls_context_setup (as_config_tls *tlscfg, as_tls_context *ctx, as_error *err)
 
int as_tls_read (as_socket *sock, void *buf, size_t num, uint32_t socket_timeout, uint64_t deadline)
 
int as_tls_read_once (as_socket *sock, void *buf, size_t num)
 
int as_tls_read_pending (as_socket *sock)
 
void as_tls_set_context_name (struct ssl_st *ssl, as_tls_context *ctx, const char *tls_name)
 
void as_tls_set_name (as_socket *sock, const char *tls_name)
 
AS_EXTERN void as_tls_thread_cleanup (void)
 
int as_tls_wrap (as_tls_context *ctx, as_socket *sock, const char *tls_name)
 
int as_tls_write (as_socket *sock, void *buf, size_t num, uint32_t socket_timeout, uint64_t deadline)
 
int as_tls_write_once (as_socket *sock, void *buf, size_t num)
 

Function Documentation

◆ as_tls_check_init()

void as_tls_check_init ( void )

◆ as_tls_cleanup()

void as_tls_cleanup ( void )

◆ as_tls_config_reload()

as_status as_tls_config_reload ( as_config_tls * tlscfg,
as_tls_context * ctx,
as_error * err )

◆ as_tls_connect()

int as_tls_connect ( as_socket * sock,
uint64_t deadline )

◆ as_tls_connect_once()

int as_tls_connect_once ( as_socket * sock)

◆ as_tls_context_destroy()

void as_tls_context_destroy ( as_tls_context * ctx)

◆ as_tls_context_setup()

as_status as_tls_context_setup ( as_config_tls * tlscfg,
as_tls_context * ctx,
as_error * err )

◆ as_tls_read()

int as_tls_read ( as_socket * sock,
void * buf,
size_t num,
uint32_t socket_timeout,
uint64_t deadline )

◆ as_tls_read_once()

int as_tls_read_once ( as_socket * sock,
void * buf,
size_t num )

◆ as_tls_read_pending()

int as_tls_read_pending ( as_socket * sock)

◆ as_tls_set_context_name()

void as_tls_set_context_name ( struct ssl_st * ssl,
as_tls_context * ctx,
const char * tls_name )

◆ as_tls_set_name()

void as_tls_set_name ( as_socket * sock,
const char * tls_name )

◆ as_tls_thread_cleanup()

AS_EXTERN void as_tls_thread_cleanup ( void )

◆ as_tls_wrap()

int as_tls_wrap ( as_tls_context * ctx,
as_socket * sock,
const char * tls_name )

◆ as_tls_write()

int as_tls_write ( as_socket * sock,
void * buf,
size_t num,
uint32_t socket_timeout,
uint64_t deadline )

◆ as_tls_write_once()

int as_tls_write_once ( as_socket * sock,
void * buf,
size_t num )