OpenVPN
|
Garbage collection entry for one dynamically allocated block of memory. More...
#include <buffer.h>
Data Fields | |
struct gc_entry * | next |
Pointer to the next item in the linked list. More... | |
Garbage collection entry for one dynamically allocated block of memory.
This structure represents one link in the linked list contained in a gc_arena
structure. Each time the gc_malloc()
function is called, it allocates sizeof(gc_entry)
+ the requested number of bytes. The gc_entry
is then stored as a header in front of the memory address returned to the caller.
struct gc_entry* gc_entry::next |
Pointer to the next item in the linked list.
Definition at line 89 of file buffer.h.
Referenced by free_buf_gc(), gc_malloc(), gc_transfer(), test_buffer_free_gc_two(), and x_gc_free().