Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
kaa_buffer.h File Reference
#include "kaa_error.h"

Go to the source code of this file.

Typedefs

typedef struct kaa_buffer_t kaa_buffer_t
 

Functions

kaa_error_t kaa_buffer_create_buffer (kaa_buffer_t **buffer_p, size_t buffer_size)
 
kaa_error_t kaa_buffer_destroy (kaa_buffer_t *buffer_p)
 
kaa_error_t kaa_buffer_allocate_space (kaa_buffer_t *buffer_p, char **buffer, size_t *free_size)
 
kaa_error_t kaa_buffer_reallocate_space (kaa_buffer_t *buffer_p, size_t size)
 
kaa_error_t kaa_buffer_get_locked_space (kaa_buffer_t *buffer_p, size_t *size)
 
kaa_error_t kaa_buffer_get_size (kaa_buffer_t *buffer_p, size_t *size)
 
kaa_error_t kaa_buffer_get_free_space (kaa_buffer_t *buffer_p, size_t *size)
 
kaa_error_t kaa_buffer_lock_space (kaa_buffer_t *buffer_p, size_t lock_size)
 
kaa_error_t kaa_buffer_free_allocated_space (kaa_buffer_t *buffer_p, size_t size)
 
kaa_error_t kaa_buffer_get_unprocessed_space (kaa_buffer_t *buffer_p, char **buffer, size_t *available_size)
 
kaa_error_t kaa_buffer_reset (kaa_buffer_t *buffer_p)
 

Typedef Documentation

typedef struct kaa_buffer_t kaa_buffer_t

Function Documentation

kaa_error_t kaa_buffer_allocate_space ( kaa_buffer_t buffer_p,
char **  buffer,
size_t *  free_size 
)
kaa_error_t kaa_buffer_create_buffer ( kaa_buffer_t **  buffer_p,
size_t  buffer_size 
)
kaa_error_t kaa_buffer_destroy ( kaa_buffer_t buffer_p)
kaa_error_t kaa_buffer_free_allocated_space ( kaa_buffer_t buffer_p,
size_t  size 
)
kaa_error_t kaa_buffer_get_free_space ( kaa_buffer_t buffer_p,
size_t *  size 
)
kaa_error_t kaa_buffer_get_locked_space ( kaa_buffer_t buffer_p,
size_t *  size 
)
kaa_error_t kaa_buffer_get_size ( kaa_buffer_t buffer_p,
size_t *  size 
)
kaa_error_t kaa_buffer_get_unprocessed_space ( kaa_buffer_t buffer_p,
char **  buffer,
size_t *  available_size 
)
kaa_error_t kaa_buffer_lock_space ( kaa_buffer_t buffer_p,
size_t  lock_size 
)
kaa_error_t kaa_buffer_reallocate_space ( kaa_buffer_t buffer_p,
size_t  size 
)
kaa_error_t kaa_buffer_reset ( kaa_buffer_t buffer_p)