![]() |
#include <aerospike/as_error.h>
#include <aerospike/as_host.h>
#include <aerospike/as_policy.h>
#include <aerospike/as_password.h>
#include <aerospike/as_vector.h>
Go to the source code of this file.
Data Structures | |
struct | as_addr_map |
struct | as_cluster_event |
struct | as_config |
struct | as_config_lua |
struct | as_config_tls |
Macros | |
#define | AS_CONFIG_PATH_MAX_LEN (AS_CONFIG_PATH_MAX_SIZE - 1) |
#define | AS_CONFIG_PATH_MAX_SIZE 256 |
Typedefs | |
typedef void(* | as_cluster_event_callback )(as_cluster_event *event) |
Enumerations | |
enum | as_cluster_event_type { AS_CLUSTER_ADD_NODE = 0, AS_CLUSTER_REMOVE_NODE = 1, AS_CLUSTER_DISCONNECTED = 2 } |
Functions | |
void | as_config_set_string (char **str, const char *value) |
#define AS_CONFIG_PATH_MAX_LEN (AS_CONFIG_PATH_MAX_SIZE - 1) |
The maximum string length of path strings
Definition at line 65 of file as_config.h.
#define AS_CONFIG_PATH_MAX_SIZE 256 |
The size of path strings
Definition at line 60 of file as_config.h.
typedef void(* as_cluster_event_callback)(as_cluster_event *event) |
Cluster event notification callback function. as_cluster_event is placed on the stack before calling. Do not free node_name or node_address.
Definition at line 146 of file as_config.h.
Cluster event notification type.
Enumerator | |
---|---|
AS_CLUSTER_ADD_NODE |
Node was added to cluster. |
AS_CLUSTER_REMOVE_NODE |
Node was removed fron cluster. |
AS_CLUSTER_DISCONNECTED |
There are no active nodes in the cluster. |
Definition at line 95 of file as_config.h.
void as_config_set_string | ( | char ** | str, |
const char * | value | ||
) |
Free existing string if not null and copy value to string.