diff options
| author | Edin Kadribasic <edink@php.net> | 2002-01-06 14:08:14 +0000 |
|---|---|---|
| committer | Edin Kadribasic <edink@php.net> | 2002-01-06 14:08:14 +0000 |
| commit | b1f3a91569419fc2c8af1b455bcecc520a0ff3ec (patch) | |
| tree | 530f632d510c52fa38d22e8eeebf541349602029 /sapi/cli/php_getopt.h | |
| parent | 1788410a56c7ee10fdaabb7d438c7938158c8d4c (diff) | |
| download | php-git-b1f3a91569419fc2c8af1b455bcecc520a0ff3ec.tar.gz | |
@- 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.
Diffstat (limited to 'sapi/cli/php_getopt.h')
| -rw-r--r-- | sapi/cli/php_getopt.h | 7 |
1 files changed, 7 insertions, 0 deletions
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); |
