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 struct as_config_lua_s {
123 typedef struct as_config_tls_s {
311 typedef struct as_config_s {
608 strcpy(lua->
system_path, AS_CONFIG_LUA_SYSTEM_PATH);
609 strcpy(lua->
user_path, AS_CONFIG_LUA_USER_PATH);
bool use_services_alternate
uint32_t shm_takeover_threshold_sec
bool as_config_set_user(as_config *config, const char *user, const char *password)
bool fail_if_not_connected
void as_config_destroy(as_config *config)
uint32_t thread_pool_size
uint32_t shm_max_namespaces
bool as_config_add_hosts(as_config *config, const char *string, uint16_t default_port)
as_config * as_config_init(as_config *config)
uint32_t pipe_max_conns_per_node
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
void as_config_set_cluster_id(as_config *config, const char *cluster_id)
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