home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
c
/
getargs.h
< prev
next >
Wrap
Text File
|
1994-03-04
|
377b
|
15 lines
/* getargs.h - typedefs and defines needed for getargs */
#define INTEGER 0
#define BOOLEAN 1
#define CHARACTER 2
#define STRING 3
#define PROC 4
typedef struct
{ unsigned arg ; /* command line switch */
unsigned type ; /* variable type (of those #defined above) */
int *variable ; /* pointer to variable */
char *errmsg ; /* pointer to error message */
} ARG;