37#define AS_CONFIG_LUA_USER_PATH "/opt/aerospike/client/usr/udf/lua"
40#if defined(__APPLE__) || defined(__FreeBSD__)
41#define AS_CONFIG_LUA_USER_PATH "/usr/local/aerospike/client/usr/udf/lua"
45#define AS_CONFIG_LUA_USER_PATH "C:/aerospike/client/usr/udf/lua"
51#define AS_CONFIG_PATH_MAX_SIZE 256
56#define AS_CONFIG_PATH_MAX_LEN (AS_CONFIG_PATH_MAX_SIZE - 1)
61#define AS_PASSWORD_SIZE 64
72typedef struct as_addr_map_s {
91typedef enum as_auth_mode_e {
125typedef enum as_cluster_event_type_e {
140} as_cluster_event_type;
147typedef struct as_cluster_event_s {
183typedef struct as_config_lua_s {
204typedef struct as_config_tls_s {
430typedef struct as_config_s {
905 strcpy(lua->
user_path, AS_CONFIG_LUA_USER_PATH);
@ AS_AUTH_EXTERNAL_INSECURE
AS_EXTERN bool as_auth_mode_from_string(as_auth_mode *auth, const char *str)
@ AS_CLUSTER_DISCONNECTED
AS_EXTERN void as_config_set_string(char **str, const char *value)
#define AS_CONFIG_PATH_MAX_SIZE
const char * node_address
as_cluster_event_type type
char user_path[AS_CONFIG_PATH_MAX_SIZE]
uint32_t login_timeout_ms
uint32_t thread_pool_size
static void as_config_tls_set_protocols(as_config *config, const char *protocols)
uint32_t pipe_max_conns_per_node
bool use_services_alternate
AS_EXTERN as_config * as_config_init(as_config *config)
static void as_config_lua_init(as_config_lua *lua)
uint32_t shm_takeover_threshold_sec
AS_EXTERN bool as_config_set_user(as_config *config, const char *user, const char *password)
AS_EXTERN bool as_config_add_hosts(as_config *config, const char *string, uint16_t default_port)
static void as_config_tls_set_certstring(as_config *config, const char *certstring)
uint32_t min_conns_per_node
void * event_callback_udata
static void as_config_tls_set_keyfile_pw(as_config *config, const char *pw)
uint32_t max_conns_per_node
static void as_config_tls_set_cert_blacklist(as_config *config, const char *cert_blacklist)
static void as_config_tls_set_keyfile(as_config *config, const char *keyfile)
static void as_config_tls_set_cipher_suite(as_config *config, const char *cipher_suite)
static void as_config_set_cluster_event_callback(as_config *config, as_cluster_event_callback callback, void *udata)
AS_EXTERN void as_config_tls_add_host(as_config *config, const char *address, const char *tls_name, uint16_t port)
static void as_config_set_cluster_name(as_config *config, const char *cluster_name)
uint32_t async_min_conns_per_node
AS_EXTERN void as_config_clear_hosts(as_config *config)
static void as_config_tls_set_cafile(as_config *config, const char *cafile)
as_cluster_event_callback event_callback
static void as_config_tls_set_keystring(as_config *config, const char *keystring)
static void as_config_tls_set_castring(as_config *config, const char *castring)
AS_EXTERN void as_config_add_host(as_config *config, const char *address, uint16_t port)
static void as_config_tls_set_certfile(as_config *config, const char *certfile)
uint32_t async_max_conns_per_node
AS_EXTERN void as_config_add_rack_id(as_config *config, int rack_id)
bool fail_if_not_connected
uint32_t conn_pools_per_node
static void as_config_tls_set_capath(as_config *config, const char *capath)
uint32_t error_rate_window
uint32_t shm_max_namespaces