All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
as_config.h File Reference
#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>
+ Include dependency graph for as_config.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

#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 Documentation

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.

Enumeration Type Documentation

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.

Function Documentation

void as_config_set_string ( char **  str,
const char *  value 
)

Free existing string if not null and copy value to string.