Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Data buffer containing fixed number of data payloads. More...
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... | |
Data buffer containing fixed number of data payloads.
Definition at line 59 of file data_buffer.c.
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 |
A linked list of unused cached data payloads.
Referenced by ast_data_buffer_alloc(), ast_data_buffer_cache_adjust(), ast_data_buffer_free(), ast_data_buffer_put(), and data_buffer_free_buffer_payload().
size_t count |
The current number of data payloads in the buffer.
Definition at line 67 of file data_buffer.c.
Referenced by ast_data_buffer_cache_adjust(), ast_data_buffer_count(), ast_data_buffer_put(), ast_data_buffer_remove_head(), ast_data_buffer_resize(), and data_buffer_free_buffer_payload().
struct data_buffer_payload_entry* first |
Definition at line 63 of file data_buffer.c.
ast_data_buffer_free_callback 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().
struct data_buffer_payload_entry* last |
Definition at line 63 of file data_buffer.c.
size_t max |
Maximum number of data payloads in the buffer.
Definition at line 69 of file data_buffer.c.
Referenced by ast_data_buffer_alloc(), ast_data_buffer_cache_adjust(), ast_data_buffer_max(), ast_data_buffer_put(), ast_data_buffer_resize(), and data_buffer_free_buffer_payload().
struct { ... } payloads |
A linked list of data payloads.
Referenced by ast_data_buffer_alloc(), ast_data_buffer_free(), ast_data_buffer_get(), ast_data_buffer_put(), ast_data_buffer_remove(), ast_data_buffer_remove_head(), and ast_data_buffer_resize().