k_buffer.h
Go to the documentation of this file.
void k_buffer_free_new(k_buffer_t *buffer, k_alloc_t *alloc)
Stdlib Allocator Implementation.
k_buffer_t * k_buffer_add(struct k_buffer *next, void *data, size_t size)
Buffer Allocator Wrapper.
struct k_buffer k_buffer_t
CSP Allocator Implementation.
int k_buffer_realloc(k_buffer_t *buffer, size_t new_size)
size_t k_buffer_size(k_buffer_t *buffer)
k_buffer_t * k_buffer_alloc(struct k_buffer *next, void *data, size_t size, k_alloc_t *alloc)
Definition: k_buffer.h:43
void k_buffer_free(k_buffer_t *buffer)
Definition: k_alloc.h:38
k_buffer_t * k_buffer_new(void *data, size_t size)
int k_buffer_realloc_new(k_buffer_t *buffer, size_t new_size, k_alloc_t *alloc)
void k_buffer_init()