linked list of registered groups
#include <cfg_struct.h>
Data Fields
- cfg_add_var_t * add_var
- Additional instances of the variables.
-
unsigned char dynamic
- indicates whether the variables within the group are dynamically allocated or not
- void ** handle
- per-process handle that can be used by the modules to access the variables.
-
cfg_mapping_t * mapping
- describes the mapping betweeen the cfg variable definition and the memory block
-
int meta_offset
- offset of the group within the shmized memory block for the meta_data
-
int num
- number of variables within the group
- void * orig_handle
- Original value that the handle points to when the config group is registered.
-
int size
- size of the memory block that has to be allocated to store the values
-
int var_offset
- offset of the group within the shmized memory block for the variables
- char * vars
- pointer to the memory block where the values are stored -- used only before the config is shmized.
Detailed Description
Definition at line 82 of file cfg_struct.h.
Field Documentation
This linked list is used only before the config is shmized.
Definition at line 89 of file cfg_struct.h.
It is registered when the group is created, and updated every time the block is replaced
Definition at line 98 of file cfg_struct.h.
This is needed to temporary set the handle in the main process and restore it later to its original value.
Definition at line 102 of file cfg_struct.h.
The documentation for this struct was generated from the following file: