Next: , Up: VRRLIB

4.1 Main project header

Every C source file and header must include the file lib/lib.h. This file contains basic definitions, datatypes and functions, which should be common for all modules.

The programmer can be sure that he gets the following types always defined correctly (by the build/configure script, see Configure script).

In the header there also useful macros (for example for handling complicated structs), memory allocation prototypes (see Memory allocation) and logging and debugging function prototypes (see Logging and debugging).