OpenVPN
Data Fields
gc_entry Struct Reference

Garbage collection entry for one dynamically allocated block of memory. More...

#include <buffer.h>

Collaboration diagram for gc_entry:
Collaboration graph
[legend]

Data Fields

struct gc_entrynext
 Pointer to the next item in the linked list. More...
 

Detailed Description

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.

Definition at line 87 of file buffer.h.

Field Documentation

◆ next

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().


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