Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_data_buffer Struct Reference

Data buffer containing fixed number of data payloads. More...

Collaboration diagram for ast_data_buffer:
Collaboration graph
[legend]

Data Fields

size_t cache_count
 The current number of data payloads in the cache. More...
 
struct {
   struct data_buffer_payload_entry *   first
 
   struct data_buffer_payload_entry *   last
 
cached_payloads
 A linked list of unused cached data payloads. More...
 
size_t count
 The current number of data payloads in the buffer. More...
 
ast_data_buffer_free_callback free_fn
 Callback function to free a data payload. More...
 
size_t max
 Maximum number of data payloads in the buffer. More...
 
struct {
   struct data_buffer_payload_entry *   first
 
   struct data_buffer_payload_entry *   last
 
payloads
 A linked list of data payloads. More...
 

Detailed Description

Data buffer containing fixed number of data payloads.

Definition at line 59 of file data_buffer.c.

Field Documentation

◆ cache_count

size_t cache_count

The current number of data payloads in the cache.

Definition at line 71 of file data_buffer.c.

Referenced by ast_data_buffer_cache_adjust(), ast_data_buffer_put(), and data_buffer_free_buffer_payload().

◆ 

struct { ... } cached_payloads

◆ count

size_t count

◆ first

Definition at line 63 of file data_buffer.c.

◆ free_fn

Callback function to free a data payload.

Definition at line 61 of file data_buffer.c.

Referenced by ast_data_buffer_alloc(), ast_data_buffer_free(), ast_data_buffer_put(), and ast_data_buffer_resize().

◆ last

Definition at line 63 of file data_buffer.c.

◆ max

size_t max

◆ 

struct { ... } payloads

The documentation for this struct was generated from the following file: