diff options
Diffstat (limited to 'subgetopt.h')
| -rw-r--r-- | subgetopt.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/subgetopt.h b/subgetopt.h new file mode 100644 index 0000000..d26c62a --- /dev/null +++ b/subgetopt.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #ifndef SUBGETOPT_H | ||
| 2 | #define SUBGETOPT_H | ||
| 3 | |||
| 4 | #ifndef SUBGETOPTNOSHORT | ||
| 5 | #define sgopt subgetopt | ||
| 6 | #define sgoptarg subgetoptarg | ||
| 7 | #define sgoptind subgetoptind | ||
| 8 | #define sgoptpos subgetoptpos | ||
| 9 | #define sgoptproblem subgetoptproblem | ||
| 10 | #define sgoptprogname subgetoptprogname | ||
| 11 | #define sgoptdone subgetoptdone | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #define SUBGETOPTDONE -1 | ||
| 15 | |||
| 16 | extern int subgetopt(); | ||
| 17 | extern char *subgetoptarg; | ||
| 18 | extern int subgetoptind; | ||
| 19 | extern int subgetoptpos; | ||
| 20 | extern int subgetoptproblem; | ||
| 21 | extern char *subgetoptprogname; | ||
| 22 | extern int subgetoptdone; | ||
| 23 | |||
| 24 | #endif | ||
