Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
aerospike
as_info.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2014 Aerospike, Inc.
3
*
4
* Portions may be licensed to Aerospike, Inc. under one or more contributor
5
* license agreements.
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
8
* use this file except in compliance with the License. You may obtain a copy of
9
* the License at http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
* License for the specific language governing permissions and limitations under
15
* the License.
16
*/
17
#pragma once
18
19
#include <
aerospike/as_vector.h
>
20
21
/******************************************************************************
22
* TYPES
23
*****************************************************************************/
24
25
/**
26
* @private
27
* Name value pair.
28
*/
29
typedef
struct
as_name_value_s {
30
char
*
name
;
31
char
*
value
;
32
}
as_name_value
;
33
34
/******************************************************************************
35
* FUNCTIONS
36
******************************************************************************/
37
38
/**
39
* @private
40
* Parse info response buffer into name/value pairs, one for each command.
41
* The original buffer will be modified with null termination characters to
42
* delimit each command name and value referenced by the name/value pairs.
43
*/
44
void
45
as_info_parse_multi_response
(
char
* buf,
as_vector
*
/* <as_name_value> */
values);
as_info_parse_multi_response
void as_info_parse_multi_response(char *buf, as_vector *values)
as_vector
Definition:
as_vector.h:31
as_name_value::value
char * value
Definition:
as_info.h:31
as_name_value::name
char * name
Definition:
as_info.h:30
as_name_value
Definition:
as_info.h:29
as_vector.h