All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions
as_info.h File Reference
#include <aerospike/as_cluster.h>
+ Include dependency graph for as_info.h:

Go to the source code of this file.

Data Structures

struct  as_name_value
 

Functions

as_status as_info_command_host (as_cluster *cluster, as_error *err, struct sockaddr_in *sa_in, char *command, bool send_asis, uint64_t deadline_ms, char **response)
 
void as_info_parse_multi_response (char *buf, as_vector *values)
 
as_status as_info_parse_single_response (char *values, char **value)
 

Function Documentation

as_status as_info_command_host ( as_cluster cluster,
as_error err,
struct sockaddr_in *  sa_in,
char *  command,
bool  send_asis,
uint64_t  deadline_ms,
char **  response 
)
private

Send info command to specific host. The values must be freed by the caller on success.

void as_info_parse_multi_response ( char *  buf,
as_vector values 
)
private

Parse info response buffer into name/value pairs, one for each command. The original buffer will be modified with null termination characters to delimit each command name and value referenced by the name/value pairs.

as_status as_info_parse_single_response ( char *  values,
char **  value 
)
private

Return the single command's info response buffer value. The original buffer will be modified with the null termination character.