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-2018 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_std.h>
21 #include <aerospike/as_val.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /******************************************************************************
28  * CONSTANTS
29  *****************************************************************************/
30 
31 /**
32  * NIL value
33  * @ingroup aerospike_t
34  */
35 AS_EXTERN extern const as_val as_nil;
36 
37 /******************************************************************************
38  * FUNCTIONS
39  *****************************************************************************/
40 
41 /**
42  * @private
43  * Internal helper function for destroying an as_val.
44  */
46 
47 /**
48  * @private
49  * Internal helper function for getting the hashcode of an as_val.
50  */
51 AS_EXTERN uint32_t as_nil_val_hashcode(const as_val * v);
52 
53 /**
54  * @private
55  * Internal helper function for getting the string representation of an as_val.
56  */
57 AS_EXTERN char * as_nil_val_tostring(const as_val * v);
58 
59 #ifdef __cplusplus
60 } // end extern "C"
61 #endif
AS_EXTERN char * as_nil_val_tostring(const as_val *v)
AS_EXTERN const as_val as_nil
Definition: as_val.h:61
#define AS_EXTERN
Definition: as_std.h:25
AS_EXTERN uint32_t as_nil_val_hashcode(const as_val *v)
AS_EXTERN void as_nil_val_destroy(as_val *v)