Tor
0.4.7.0-alpha-dev
|
#include <conftypes.h>
Data Fields | |
const char * | typename |
uint32_t | magic_val |
ptrdiff_t | magic_offset |
Structure to describe the location and preferred value of a "magic number" field within a structure.
These 'magic numbers' are 32-bit values used to tag objects to make sure that they have the correct type.
If all fields in this structure are zero or 0, the magic-number check is not performed.
Definition at line 138 of file conftypes.h.
ptrdiff_t magic_offset |
The location within the structure at which we expect to find magic_val.
Definition at line 145 of file conftypes.h.
Referenced by magic_is_null(), struct_check_magic(), and struct_set_magic().
uint32_t magic_val |
A value used to recognize instances of this structure.
Definition at line 142 of file conftypes.h.
Referenced by config_mgr_freeze(), magic_is_null(), and struct_set_magic().
const char* typename |
The name of the structure
Definition at line 140 of file conftypes.h.
Referenced by magic_is_null().