From b1f3a91569419fc2c8af1b455bcecc520a0ff3ec Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Sun, 6 Jan 2002 14:08:14 +0000 Subject: @- Added CLI (command line intrerface) sapi based on a cut-down version @ of the CGI sapi which is more suited for writing shell scripts. Some of @ the differences are: it prints no HTTP headers, displays plain text @ error messages, etc. (Edin) Added CLI (command line intrerface) sapi. # Let's see if a build expert can make this compile along # side some other sapi. --- sapi/cli/php_getopt.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sapi/cli/php_getopt.h (limited to 'sapi/cli/php_getopt.h') diff --git a/sapi/cli/php_getopt.h b/sapi/cli/php_getopt.h new file mode 100644 index 0000000000..40da432b59 --- /dev/null +++ b/sapi/cli/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); -- cgit v1.2.1