|
Wireshark 4.7.3
The Wireshark network protocol analyzer
|
Internal implementation of GArray, holding the backing buffer and allocation metadata. More...
#include <glib-compat.h>
Public Attributes | |
| guint8 * | data |
| guint | len |
| guint | alloc |
| guint | elt_size |
| guint | zero_terminated |
| guint | clear |
| gatomicrefcount | ref_count |
| GDestroyNotify | clear_func |
Internal implementation of GArray, holding the backing buffer and allocation metadata.
| guint _GRealArray::alloc |
Total number of elements the current backing buffer can hold before reallocation.
| guint _GRealArray::clear |
Non-zero if newly allocated elements are zero-initialised before use.
| GDestroyNotify _GRealArray::clear_func |
Optional callback invoked on each element before it is removed or the array is freed; NULL if not set.
| guint8* _GRealArray::data |
Pointer to the raw backing buffer storing array elements.
| guint _GRealArray::elt_size |
Size in bytes of a single array element.
| guint _GRealArray::len |
Current number of elements stored in the array.
| gatomicrefcount _GRealArray::ref_count |
Atomic reference count controlling the lifetime of this array.
| guint _GRealArray::zero_terminated |
Non-zero if a null element is maintained past the last valid element.