summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-01-06 13:58:05 +0000
committerEdin Kadribasic <edink@php.net>2002-01-06 13:58:05 +0000
commit1788410a56c7ee10fdaabb7d438c7938158c8d4c (patch)
tree761a4f6be2c1f7231600514fcb0fe979c6c1ecfb /main/SAPI.h
parent6e1878b0fcfc55ea91b0559e27e35c37e53e9a64 (diff)
downloadphp-git-1788410a56c7ee10fdaabb7d438c7938158c8d4c.tar.gz
Added argc and argv in request_info needed for the new cli sapi.
Modified registering $argc and $argv to support cli sapi.
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index b8748d0c19..9ca41da77b 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -97,6 +97,10 @@ typedef struct {
/* this is necessary for Safe Mode */
char *current_user;
int current_user_length;
+
+ /* this is necessary for CLI module */
+ int argc;
+ char **argv;
} sapi_request_info;