37 #define AS_CONFIG_LUA_SYSTEM_PATH "/opt/aerospike/client/sys/udf/lua"
42 #define AS_CONFIG_LUA_USER_PATH "/opt/aerospike/client/usr/udf/lua"
49 #define AS_CONFIG_LUA_SYSTEM_PATH "/usr/local/aerospike/client/sys/udf/lua"
54 #define AS_CONFIG_LUA_USER_PATH "/usr/local/aerospike/client/usr/udf/lua"
60 #define AS_CONFIG_PATH_MAX_SIZE 256
65 #define AS_CONFIG_PATH_MAX_LEN (AS_CONFIG_PATH_MAX_SIZE - 1)
76 typedef struct as_addr_map_s {
95 typedef enum as_cluster_event_type_e {
117 typedef struct as_cluster_event_s {
153 typedef struct as_config_lua_s {
181 typedef struct as_config_tls_s {
396 typedef struct as_config_s {
755 strcpy(lua->
system_path, AS_CONFIG_LUA_SYSTEM_PATH);
756 strcpy(lua->
user_path, AS_CONFIG_LUA_USER_PATH);
bool use_services_alternate
uint32_t shm_takeover_threshold_sec
static void as_config_set_cluster_name(as_config *config, const char *cluster_name)
bool as_config_set_user(as_config *config, const char *user, const char *password)
void * event_callback_udata
bool fail_if_not_connected
static void as_config_tls_set_protocols(as_config *config, const char *protocols)
uint32_t thread_pool_size
uint32_t shm_max_namespaces
const char * node_address
uint32_t conn_pools_per_node
bool as_config_add_hosts(as_config *config, const char *string, uint16_t default_port)
as_cluster_event_callback event_callback
static void as_config_tls_set_certfile(as_config *config, const char *certfile)
static void as_config_tls_set_cert_blacklist(as_config *config, const char *cert_blacklist)
as_cluster_event_type type
as_config * as_config_init(as_config *config)
uint32_t pipe_max_conns_per_node
void(* as_cluster_event_callback)(as_cluster_event *event)
void as_config_add_host(as_config *config, const char *address, uint16_t port)
uint32_t max_conns_per_node
#define AS_CONFIG_PATH_MAX_SIZE
static void as_config_tls_set_cafile(as_config *config, const char *cafile)
void as_config_set_string(char **str, const char *value)
void as_config_tls_add_host(as_config *config, const char *address, const char *tls_name, uint16_t port)
static void as_config_tls_set_capath(as_config *config, const char *capath)
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)
static void as_config_tls_set_keyfile(as_config *config, const char *keyfile)
uint32_t async_max_conns_per_node
char system_path[AS_CONFIG_PATH_MAX_SIZE]
static void as_config_lua_init(as_config_lua *lua)
char user_path[AS_CONFIG_PATH_MAX_SIZE]
#define AS_PASSWORD_HASH_SIZE
void as_config_clear_hosts(as_config *config)