// file: global_constants.h // // declaration of the global constants used throughout the code // // make sure definitions are only made once // #ifndef __GLOBAL_CONSTANTS #define __GLOBAL_CONSTANTS // define Boolean values // #define TRUE 1 #define FALSE 0 // define values of program status // #define ERROR 1 #define NO_ERROR 0 // define max string length // #define MAX_STRING_LENGTH 1024 // define help format // #define HELP_FORMAT "more %s" // debug level // #define DEBUG_NONE 0 #define DEBUG_BRIEF 1 #define DEBUG_PARTIAL 2 #define DEBUG_FULL 3 // end of file // #endif