OpenVPN
|
Garbage collection arena used to keep track of dynamically allocated memory. More...
#include <buffer.h>
Data Fields | |
struct gc_entry * | list |
First element of the linked list of gc_entry structures. More... | |
struct gc_entry_special * | list_special |
Garbage collection arena used to keep track of dynamically allocated memory.
This structure contains a linked list of gc_entry
structures. When a block of memory is allocated using the gc_malloc()
function, the allocation is registered in the function's gc_arena
argument. All the dynamically allocated memory registered in a gc_arena
can be freed using the gc_free()
function.
struct gc_entry* gc_arena::list |
First element of the linked list of gc_entry
structures.
Definition at line 118 of file buffer.h.
Referenced by adapter_index_of_ip(), free_buf_gc(), gc_defined(), gc_free(), gc_init(), gc_malloc(), gc_transfer(), get_adapter_index_method_2(), plugin_common_open(), plugin_option_list_print(), print_client_nat_list(), test_buffer_free_gc_one(), test_buffer_free_gc_two(), and x_gc_free().
struct gc_entry_special* gc_arena::list_special |
Definition at line 120 of file buffer.h.
Referenced by gc_addspecial(), gc_free(), gc_init(), gc_realloc(), and x_gc_freespecial().