/************************************************************************ * * * Copyright (c) 1982, Fred Fish * * All Rights Reserved * * * * This software and/or documentation is released for public * * distribution for personal, non-commercial use only. * * Limited rights to use, modify, and redistribute are hereby * * granted for non-commercial purposes, provided that all * * copyright notices remain intact and all changes are clearly * * documented. The author makes no warranty of any kind with * * respect to this product and explicitly disclaims any implied * * warranties of merchantability or fitness for any particular * * purpose. * * * ************************************************************************ */ /* * FILE * * dex.h header file for documentation extraction modules * * KEY WORDS * * header files * dex * documentation extraction * * SYNOPSIS * * #include "dex.h" * * DESCRIPTION * * Contains structure declarations and other common stuff * for the documentation extraction utility (dex) modules. * Separately compiled modules should include this file. * * In particular, this is where the hardware and software * environment is defined. In general, an environment * dependent variable should be defined which gives * both the name of the machine and its operating * system (or compiler). * * AUTHOR * * Fred Fish * */ /* * Configuration options. Things which are generally somewhat * arbitrary (based on time or size constraints) belong here. * */ #define MAXNAMESIZE 128 /* Max size of any file names */ /* * Default the environment to the Callan Data Systems Unistar 200. */ #ifndef callanunix #define callanunix #endif /* * Environment dependent stuff. */ #ifdef callanunix #define WARNING 1 /* Exit status for warnings */ #define NORMAL_EXIT 0 /* Exit status for no problems */ #define ERROR_EXIT 1 /* Exit status for some error */ #define SEVERE_ERROR 1 /* Exit status for bad bad error */ #endif #define TRUE 1 #define FALSE 0 /* * Documentation section flags. These can be set or reset for * specific section ID's by placing suitable commands in the * reconfiguration file. * */ #define PROCESS 000001 /* Flag to enable section processing */ #define EMITTEXT 000002 /* Flag for emitting the text */ #define EMITBOX 000004 /* Flag for emit box commands */ #define EMITFILL 000010 /* Flag to emit fill by default */ #define EMITUL 000020 /* Flag to underline ID commands */ #define EMITBP 000040 /* Flag to emit new page commands */ #define REGION 100000 /* Flag PROCESS covers entire region */