#include <citrusleaf/cf_atomic.h>
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Get the hashcode value for the value.
- Parameters
-
__v | The as_val to get the hashcode value for. |
- Returns
- The hashcode value.
Definition at line 119 of file as_val.h.
Increment the as_val.count
of a value.
- Parameters
-
__v | The as_val to be incremented. |
- Returns
- The value, with it's refcount incremented.
Definition at line 100 of file as_val.h.
Get the string representation of the value.
- Parameters
-
__v | The as_val to get the string value for. |
- Returns
- The string representation on success. Otherwise NULL.
Definition at line 128 of file as_val.h.
Returns the as_val.type
of a value.
- Parameters
-
__v | The as_val to get the type of |
- Returns
- An as_val_t value. If the type is unknown, then it will be AS_UNKNOWN.
Definition at line 91 of file as_val.h.
enum as_val_t __attribute__ |
( |
(packed) |
| ) |
|
Helper function for decrementing the count of a value, and if count==0 and free==true, then free the value.
uint32_t as_val_val_hashcode |
( |
const as_val * |
| ) |
|
|
private |
Helper function for calculating the hash value.
Helper function for incrementing the count of a value.
char* as_val_val_tostring |
( |
const as_val * |
| ) |
|
|
private |
Helper function for generating the string representation.