mutek/buffer_pool.h header reference

The source code of this header can be browsed online.

Members  

Types  

Functions  

Members detail  

#define GCT_CONTAINER_LOCK_buffer_queue  

This macro is declared in mutek/buffer_pool.h source file, line 16.

#define GCT_CONTAINER_REFCOUNT_buffer_queue  

This macro is declared in mutek/buffer_pool.h source file, line 17.

#define MUTEK_BUFFER_POOL_H_  

This macro is declared in mutek/buffer_pool.h source file, line 1.

error_t buffer_append(struct buffer_s *buffer, const uint8_t *data, size_t size)  

This function is declared in mutek/buffer_pool.h source file, line 92.

size_t buffer_available(const struct buffer_s *buffer)  

This function is declared in mutek/buffer_pool.h source file, line 72.

struct buffer_s * buffer_pool_alloc(struct buffer_pool_s *pool)  

void buffer_pool_cleanup(struct buffer_pool_s *pool)  

void buffer_pool_init(struct buffer_pool_s *pool, size_t data_size, slab_grow_func_t grow, enum mem_scope_e scope)  

struct buffer_pool_s  

This struct is declared in mutek/buffer_pool.h source file, line 41.

FieldDescription
struct slab_s slab;

size_t buffer_pool_unit_size(const struct buffer_pool_s *pool)  

This function is declared in mutek/buffer_pool.h source file, line 57.

error_t buffer_prepend(struct buffer_s *buffer, const uint8_t *data, size_t size)  

This function is declared in mutek/buffer_pool.h source file, line 79.

typedef void * buffer_queue_entry_t  

This typedef is declared in mutek/buffer_pool.h source file, line 36.

typedef struct buffer_s * buffer_queue_item_t  

This typedef is declared in mutek/buffer_pool.h source file, line 36.

typedef void * buffer_queue_root_t  

This typedef is declared in mutek/buffer_pool.h source file, line 36.

struct buffer_s  

This struct is declared in mutek/buffer_pool.h source file, line 23.

FieldDescription
struct buffer_pool_s * pool;
uint16_t begin;
uint16_t end;
uint8_t data[0];

See also buffer_queue_item_t.

size_t buffer_size(const struct buffer_s *buffer)  

This function is declared in mutek/buffer_pool.h source file, line 66.

#define GCT_CONTAINER_ALGO_buffer_queue  

This macro is declared in mutek/buffer_pool.h source file, line 15.

This macro is for internal use only.

void buffer_destroy(struct buffer_s *buffer)  

This function is for internal use only.

Valid XHTML 1.0 StrictGenerated by diaxen on Wed Oct 17 21:18:38 2018 using MkDoc