Loading...
Searching...
No Matches
Data Structures | Macros | 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
 
#define AS_PASSWORD_SIZE   64
 

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)
 

Macro Definition Documentation

◆ AS_CONFIG_PATH_MAX_LEN

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

◆ AS_CONFIG_PATH_MAX_SIZE

#define AS_CONFIG_PATH_MAX_SIZE   256

The size of path strings

Definition at line 51 of file as_config.h.

◆ AS_PASSWORD_SIZE

#define AS_PASSWORD_SIZE   64

Max clear text password size.

Definition at line 61 of file as_config.h.

Function Documentation

◆ as_auth_mode_from_string()

AS_EXTERN bool as_auth_mode_from_string ( as_auth_mode * auth,
const char * str )

Convert string into as_auth_mode enum.

◆ as_config_set_string()

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

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