hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cf_alloc.h File Reference
#include <stddef.h>
#include "cf_atomic.h"
#include "citrusleaf/cf_base_types.h"
Include dependency graph for cf_alloc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define cf_client_rc_release(a)   (cf_client_rc_release_x((a), false))
#define cf_client_rc_releaseandfree(a)   (cf_client_rc_release_x((a), true))

Typedefs

typedef cf_atomic32 cf_client_rc_counter

Functions

cf_atomic_int_t cf_client_rc_count (void *addr)
void * cf_client_rc_alloc (size_t sz)
int cf_client_rc_reserve (void *addr)
cf_atomic_int_t cf_client_rc_release_x (void *addr, bool autofree)
void cf_client_rc_free (void *addr)

Macro Definition Documentation

#define cf_client_rc_release (   a)    (cf_client_rc_release_x((a), false))

Definition at line 46 of file cf_alloc.h.

#define cf_client_rc_releaseandfree (   a)    (cf_client_rc_release_x((a), true))

Definition at line 47 of file cf_alloc.h.

Typedef Documentation

Definition at line 38 of file cf_alloc.h.

Function Documentation

void* cf_client_rc_alloc ( size_t  sz)
cf_atomic_int_t cf_client_rc_count ( void *  addr)
void cf_client_rc_free ( void *  addr)
cf_atomic_int_t cf_client_rc_release_x ( void *  addr,
bool  autofree 
)
int cf_client_rc_reserve ( void *  addr)