Electroneum
regional Struct Reference

#include <regional.h>

Collaboration diagram for regional:

Public Attributes

char * next
 
char * large_list
 
size_t total_large
 
size_t first_size
 
size_t available
 
char * data
 

Detailed Description

the regional* is the first block*. every block has a ptr to the next in first bytes. and so does the regional struct, which is the first block.

Definition at line 59 of file regional.h.

Member Data Documentation

◆ available

size_t regional::available

number of bytes available in the current chunk.

Definition at line 74 of file regional.h.

◆ data

char* regional::data

current chunk data position.

Definition at line 76 of file regional.h.

◆ first_size

size_t regional::first_size

initial chunk size

Definition at line 72 of file regional.h.

◆ large_list

char* regional::large_list

first large object, cast to char** to obtain next ptr

Definition at line 68 of file regional.h.

◆ next

char* regional::next

next chunk. NULL if first chunk is the only chunk. first inside that chunk is the char* next pointer. When regional_free_all() has been called this value is NULL.

Definition at line 66 of file regional.h.

◆ total_large

size_t regional::total_large

total large size

Definition at line 70 of file regional.h.


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