home *** CD-ROM | disk | FTP | other *** search
- #ifndef GETARGS_INCLUDED
- #define GETARGS_INCLUDED
- /*
- *
- * Getargs.h
- *
- *!AU: Michael A. Shiels
- *!CD: 22-May-86
- *!FR: Dr. Dobb's May 1985
- *
- */
-
- #define ARG_INTEGER 0
- #define ARG_TBOOLEAN 1
- #define ARG_SBOOLEAN 2
- #define ARG_FBOOLEAN 3
- #define ARG_CHARACTER 4
- #define ARG_STRING 5
- #define ARG_PROCESS 6
-
- typedef struct
- {
- int arg; /* Command Line Switch */
- int type; /* Variable Type */
- int *variable; /* Pointer to Variable */
- char *errmsg; /* Pointer to Error Message */
- }
- ARG ;
-
- #ifndef GETARGS_C
- extern int ARG_ICase;
- extern int ARG_Switch;
- #endif
-
- #endif /* GETARGS_INCLUDED */
-