summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 0ea9b8d8c7..6b460c1ac2 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -27,6 +27,7 @@ typedef struct {
zend_llist headers;
int http_response_code;
unsigned char send_default_content_type;
+ char *http_status_line;
} sapi_headers_struct;
@@ -49,6 +50,10 @@ typedef struct {
char *content_type;
unsigned char headers_only;
+
+ /* for HTTP authentication */
+ char *auth_user;
+ char *auth_password;
} sapi_request_info;