summaryrefslogtreecommitdiff
path: root/sapi/milter/php_getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/milter/php_getopt.h')
-rw-r--r--sapi/milter/php_getopt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sapi/milter/php_getopt.h b/sapi/milter/php_getopt.h
new file mode 100644
index 0000000..40da432
--- /dev/null
+++ b/sapi/milter/php_getopt.h
@@ -0,0 +1,7 @@
+/* Borrowed from Apache NT Port */
+#include "php.h"
+
+extern char *ap_php_optarg;
+extern int ap_php_optind;
+
+int ap_php_getopt(int argc, char* const *argv, const char *optstr);