| 1 | /***************************************************************************** |
| 2 | * |
| 3 | * MODULE NAME : GETOPT.H |
| 4 | * |
| 5 | * COPYRIGHTS: |
| 6 | * This module contains code made available by IBM |
| 7 | * Corporation on an AS IS basis. Any one receiving the |
| 8 | * module is considered to be licensed under IBM copyrights |
| 9 | * to use the IBM-provided source code in any way he or she |
| 10 | * deems fit, including copying it, compiling it, modifying |
| 11 | * it, and redistributing it, with or without |
| 12 | * modifications. No license under any IBM patents or |
| 13 | * patent applications is to be implied from this copyright |
| 14 | * license. |
| 15 | * |
| 16 | * A user of the module should understand that IBM cannot |
| 17 | * provide technical support for the module and will not be |
| 18 | * responsible for any consequences of use of the program. |
| 19 | * |
| 20 | * Any notices, including this one, are not to be removed |
| 21 | * from the module without the prior written consent of |
| 22 | * IBM. |
| 23 | * |
| 24 | * AUTHOR: Original author: |
| 25 | * G. R. Blair (BOBBLAIR at AUSVM1) |
| 26 | * Internet: [email protected] |
| 27 | * |
| 28 | * Extensively revised by: |
| 29 | * John Q. Walker II, Ph.D. (JOHHQ at RALVM6) |
| 30 | * Internet: [email protected] |
| 31 | * |
| 32 | *****************************************************************************/ |
| 33 | #ifndef WIN32_GETOPT_H |
| 34 | #define WIN32_GETOPT_H |
| 35 | |
| 36 | #ifdef __cplusplus |
| 37 | extern "C" { |
| 38 | #endif |
| 39 | |
| 40 | extern char * optarg; |
| 41 | extern int optind; |
| 42 | |
| 43 | int getopt ( int argc, char **argv, char *optstring); |
| 44 | |
| 45 | #ifdef __cplusplus |
| 46 | } |
| 47 | #endif |
| 48 | |
| 49 | #endif // WIN32_GETOPT_H |