Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_string_field_pool Struct Reference

#include <stringfields.h>

Collaboration diagram for ast_string_field_pool:
Collaboration graph
[legend]

Data Fields

size_t active
 
char base [0]
 
struct ast_string_field_poolprev
 
size_t size
 
size_t used
 

Detailed Description

Definition at line 208 of file stringfields.h.

Field Documentation

◆ active

size_t active

the amount of space actively in use by fields

Definition at line 212 of file stringfields.h.

Referenced by __ast_string_field_free_memory(), and __ast_string_field_release_active().

◆ base

char base[0]

storage space for the fields

Definition at line 213 of file stringfields.h.

◆ prev

struct ast_string_field_pool* prev

pointer to the previous pool, if any

Definition at line 209 of file stringfields.h.

Referenced by __ast_string_field_free_memory(), __ast_string_field_release_active(), add_string_pool(), and AST_TEST_DEFINE().

◆ size

size_t size

the total size of the pool

Definition at line 210 of file stringfields.h.

Referenced by __ast_calloc_with_stringfields(), and add_string_pool().

◆ used

size_t used

the space used in the pool

Definition at line 211 of file stringfields.h.

Referenced by __ast_string_field_free_memory().


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