home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 December / simtel1292_SIMTEL_1292_Walnut_Creek.iso / msdos / c / help.arc / GETARGS.H < prev    next >
C/C++ Source or Header  |  1988-03-10  |  663b  |  36 lines

  1. #ifndef GETARGS_INCLUDED
  2. #define GETARGS_INCLUDED
  3. /*
  4. *
  5. * Getargs.h
  6. *
  7. *!AU: Michael A. Shiels
  8. *!CD: 22-May-86
  9. *!FR: Dr. Dobb's May 1985
  10. *
  11. */
  12.  
  13. #define ARG_INTEGER        0
  14. #define ARG_TBOOLEAN    1
  15. #define ARG_SBOOLEAN    2
  16. #define ARG_FBOOLEAN    3
  17. #define ARG_CHARACTER    4
  18. #define ARG_STRING        5
  19. #define ARG_PROCESS        6
  20.  
  21. typedef struct
  22. {
  23.         int                arg;            /* Command Line Switch      */
  24.         int                type;            /* Variable Type            */
  25.         int                *variable;        /* Pointer to Variable      */
  26.         char            *errmsg;        /* Pointer to Error Message */
  27. }
  28. ARG ;
  29.  
  30. #ifndef GETARGS_C
  31. extern int    ARG_ICase;
  32. extern int    ARG_Switch;
  33. #endif
  34.  
  35. #endif    /* GETARGS_INCLUDED */
  36.