Category : Recently Uploaded Files
Archive   : SNIP9503.ZIP
Filename : GETOPTS.H

 
Output of file : GETOPTS.H contained in archive : SNIP9503.ZIP
/*
** GETOPTS.H
**
** public domain by Bob Stout
*/

#undef ERROR
#undef FALSE
#undef TRUE

typedef enum {ERROR = -1,FALSE, TRUE} Boolean_T;

typedef enum {
Boolean_Tag,
Word_Tag,
DWord_Tag,
Double_Tag,
String_Tag
} TAG_TYPE;

struct Option_Tag {
int letter; /* Option switch */
TAG_TYPE type; /* Type of option */
void *buf; /* Storage location */
};

extern struct Option_Tag options[];
extern int xargc;
extern char *xargv[];

int getopts(int, char *[]);


  3 Responses to “Category : Recently Uploaded Files
Archive   : SNIP9503.ZIP
Filename : GETOPTS.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/