summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index d740eb9061..32e69d2e8e 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -122,6 +122,7 @@ typedef struct _sapi_globals_struct {
long post_max_size;
int options;
zend_bool sapi_started;
+ time_t global_request_time;
} sapi_globals_struct;
@@ -197,6 +198,7 @@ SAPI_API int sapi_force_http_10(TSRMLS_D);
SAPI_API int sapi_get_target_uid(uid_t * TSRMLS_DC);
SAPI_API int sapi_get_target_gid(gid_t * TSRMLS_DC);
+SAPI_API time_t sapi_get_request_time(TSRMLS_D);
END_EXTERN_C()
struct _sapi_module_struct {
@@ -225,6 +227,7 @@ struct _sapi_module_struct {
void (*register_server_variables)(zval *track_vars_array TSRMLS_DC);
void (*log_message)(char *message);
+ time_t (*get_request_time)(TSRMLS_D);
char *php_ini_path_override;