magic.h File Reference

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))


Detailed Description

Definition in file magic.h.


Define Documentation

#define ISC_MAGIC_H   1

Definition at line 21 of file magic.h.

#define ISC_MAGIC_VALID ( a,
 ) 

Value:

(((a) != NULL) && \
                                 (((const isc__magic_t *)(a))->magic == (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.

Definition at line 36 of file magic.h.

Referenced by convert_named_acl().

#define ISC_MAGIC ( a,
b,
c,
 )     ((a) << 24 | (b) << 16 | (c) << 8 | (d))

Definition at line 39 of file magic.h.


Generated on Tue Apr 28 17:41:15 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha