home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / MM1 / GRAPHICS / jpegshow.lzh / JPEGSHOW / getargs.h < prev    next >
Text File  |  1990-10-23  |  511b  |  17 lines

  1. /*      GETTARGS.H      typedefs and defines needed for getargs     */
  2.  
  3. #define INTEGER         0
  4. #define BOOLEAN         1
  5. #define CHARACTER       2
  6. #define STRING          3
  7. #define PROC            4
  8.  
  9. typedef struct
  10. {
  11.         unsigned        arg       ;     /* command line switch      */
  12.         unsigned        type      ;     /* variable type            */
  13.         int             *variable ;     /* pointer to variable      */
  14.         char            *errmsg   ;     /* pointer to error message */
  15. }
  16. ARG;
  17.