High Performance OPC UA Server SDK  1.2.0.193
mem_objectpool_static Struct Reference

Structure for a static memory pool, see also objectpool. More...

#include <objectpool.h>

Data Fields

unsigned int id
 pool id
 
size_t num_objects
 number of possible objects in pool
 
size_t object_size
 size of one object in bytes
 
size_t used
 number of used objects in pool
 
const char * name
 human readable name of buffer
 
void * always_null
 pointer that must be NULL for static pools
 
unsigned char data []
 rest of the pool data
 

Detailed Description

Structure for a static memory pool, see also objectpool.

note, the binary layout of mem_objectpool_static must be indentical with objectpool, because the same functions are used on it.


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