diff options
Diffstat (limited to 'sapi/cgi/php_getopt.h')
-rw-r--r-- | sapi/cgi/php_getopt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sapi/cgi/php_getopt.h b/sapi/cgi/php_getopt.h new file mode 100644 index 0000000000..5f3af64b64 --- /dev/null +++ b/sapi/cgi/php_getopt.h @@ -0,0 +1,9 @@ +/* Borrowed from Apache NT Port */ +#include "php.h" + +PHPAPI extern char *ap_php_optarg; +PHPAPI extern int ap_php_optind; +extern int ap_php_opterr; +extern int ap_php_optopt; + +PHPAPI int ap_php_getopt(int argc, char* const *argv, const char *optstr); |