home *** CD-ROM | disk | FTP | other *** search
- /* .TITLE "getargs - definitions" */
- /*
- ** Getargs.h Typedefs and defines needed for getargs
- */
-
- #define INTEGER 0
- #define BOOLEAN 1
- #define CHARACTER 2
- #define UCHARACTER 3
- #define STRING 4
- #define PROC 5
- #define LONG 6
-
- typedef struct
- {
- unsigned arg : 7 ; /* Command line switch */
- unsigned type : 4 ; /* variable type */
- void *variable ; /* pointer to variable */
- char *errmsg ; /* pointer to error message */
- } ARG;
-
- #ifdef NOUSAGE
- int getargs0( int argc, char *argv[] , ARG *tabp, int tabsize );
- #else
- int getargs( int argc, char *argv[] , ARG *tabp, int tabsize );
- #endif
-
-