Go to the source code of this file.
Data Structures | |
struct | isc__magic_t |
Defines | |
#define | ISC_MAGIC_H 1 |
#define | ISC_MAGIC_VALID(a, b) |
To use this macro the magic number MUST be the first thing in the structure, and MUST be of type "unsigned int". The intent of this is to allow magic numbers to be checked even though the object is otherwise opaque. | |
#define | ISC_MAGIC(a, b, c, d) ((a) << 24 | (b) << 16 | (c) << 8 | (d)) |
Definition in file magic.h.
#define ISC_MAGIC_VALID | ( | a, | |||
b | ) |
Value:
(((a) != NULL) && \ (((const isc__magic_t *)(a))->magic == (b)))
Definition at line 36 of file magic.h.
Referenced by convert_named_acl().
#define ISC_MAGIC | ( | a, | |||
b, | |||||
c, | |||||
d | ) | ((a) << 24 | (b) << 16 | (c) << 8 | (d)) |