#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 |
#define | AS_PASSWORD_SIZE 64 |
Typedefs | |
typedef void(* | as_cluster_event_callback )(as_cluster_event *event) |
Enumerations | |
enum | as_auth_mode { AS_AUTH_INTERNAL, AS_AUTH_EXTERNAL, AS_AUTH_EXTERNAL_INSECURE, AS_AUTH_PKI } |
enum | as_cluster_event_type { AS_CLUSTER_ADD_NODE = 0, AS_CLUSTER_REMOVE_NODE = 1, AS_CLUSTER_DISCONNECTED = 2 } |
Functions | |
AS_EXTERN bool | as_auth_mode_from_string (as_auth_mode *auth, const char *str) |
AS_EXTERN 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 56 of file as_config.h.
#define AS_CONFIG_PATH_MAX_SIZE 256 |
The size of path strings
Definition at line 51 of file as_config.h.
#define AS_PASSWORD_SIZE 64 |
Max clear text password size.
Definition at line 61 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 176 of file as_config.h.
enum as_auth_mode |
Authentication mode.
Definition at line 91 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 125 of file as_config.h.
AS_EXTERN bool as_auth_mode_from_string | ( | as_auth_mode * | auth, |
const char * | str | ||
) |
Convert string into as_auth_mode enum.
AS_EXTERN void as_config_set_string | ( | char ** | str, |
const char * | value | ||
) |
Free existing string if not null and copy value to string.