ECP-VELOC Components
User documentation for all components
|
Go to the documentation of this file. 1 #ifndef KVTREE_HELPERS_H
2 #define KVTREE_HELPERS_H
4 #define KVTREE_FAILURE (1)
19 #define KVTREE_MALLOC(X) kvtree_malloc(X, __FILE__, __LINE__);
int kvtree_pack_uint16_t(void *buf, size_t buf_size, size_t *buf_pos, uint16_t val)
int kvtree_pack_uint64_t(void *buf, size_t buf_size, size_t *buf_pos, uint64_t val)
void * kvtree_malloc(size_t size, const char *file, int line)
int kvtree_unpack_uint64_t(const void *buf, size_t buf_size, size_t *buf_pos, uint64_t *val)
int kvtree_atod(char *str, double *val)
int kvtree_unpack_uint32_t(const void *buf, size_t buf_size, size_t *buf_pos, uint32_t *val)
int kvtree_unpack_uint16_t(const void *buf, size_t buf_size, size_t *buf_pos, uint16_t *val)
int kvtree_pack_uint32_t(void *buf, size_t buf_size, size_t *buf_pos, uint32_t val)
void kvtree_free(void *ptr)