═══ 1. LVM Global Definitions (lvm_gbls.h) ═══ Module: lvm_gbls.h Description Defines various global types which are used throughout the LVM Engine. ═══ 1.1. Basic data types ═══ This section describes the basic data types defined in lvm_gbls.h. ═══ 1.1.1. ADDRESS ═══ An ADDRESS variable is one which holds an address. The address can contain anything, or even be invalid. It is just an address which is presumed to hold some kind of data. typedef void * ADDRESS; ═══ 1.1.2. BOOLEAN ═══ A BOOLEAN variable is one which is either TRUE or FALSE. typedef unsigned char BOOLEAN; #define TRUE 1 #define FALSE 0 ═══ 1.1.3. BYTE ═══ A BYTE is 8 bits of memory with no interpretation attached. #ifdef NEED_BYTE_DEFINED typedef unsigned char BYTE; #else #ifndef BYTE #define BYTE unsigned char #endif #endif ═══ 1.1.4. CARDINAL types ═══ A CARDINAL number is a positive integer >= 0. The number appended to the CARDINAL key word indicates the number of bits used to represent a CARDINAL of that type. typedef unsigned short int CARDINAL16; typedef unsigned long CARDINAL32; typedef unsigned int CARDINAL; /* Use compiler default. */ ═══ 1.1.5. INTEGER types ═══ An INTEGER number is a whole number, either + or -. The number appended to the INTEGER key word indicates the number of bits used to represent an INTEGER of that type. typedef short int INTEGER16; typedef long int INTEGER32; typedef int INTEGER; /* Use compiler default. */ ═══ 1.1.6. pSTRING ═══ A basic string type. typedef char * pSTRING; ═══ 1.1.7. REAL types ═══ A REAL number is a floating point number. typedef float REAL32; typedef double REAL64;