All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
as_nil.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 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 
18 #pragma once
19 
20 #include <aerospike/as_val.h>
21 
22 #include <stdint.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /******************************************************************************
29  * CONSTANTS
30  *****************************************************************************/
31 
32 /**
33  * NIL value
34  * @ingroup aerospike_t
35  */
36 extern const as_val as_nil;
37 
38 /******************************************************************************
39  * FUNCTIONS
40  *****************************************************************************/
41 
42 /**
43  * @private
44  * Internal helper function for destroying an as_val.
45  */
46 void as_nil_val_destroy(as_val * v);
47 
48 /**
49  * @private
50  * Internal helper function for getting the hashcode of an as_val.
51  */
52 uint32_t as_nil_val_hashcode(const as_val * v);
53 
54 /**
55  * @private
56  * Internal helper function for getting the string representation of an as_val.
57  */
58 char * as_nil_val_tostring(const as_val * v);
59 
60 #ifdef __cplusplus
61 } // end extern "C"
62 #endif
uint32_t as_nil_val_hashcode(const as_val *v)
void as_nil_val_destroy(as_val *v)
Definition: as_val.h:56
char * as_nil_val_tostring(const as_val *v)
const as_val as_nil