diff options
author | Pierre Joye <pajoye@php.net> | 2009-06-16 00:07:05 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-06-16 00:07:05 +0000 |
commit | 18d5751a9e8da170ca02ddbe06120c3993c9bf1e (patch) | |
tree | 43d5341a69919e3cd6141b406e708846cb3354f4 /TSRM/tsrm_virtual_cwd.h | |
parent | da9b80e30948d31d42de2c2cdf93398691f0c27c (diff) | |
download | php-git-18d5751a9e8da170ca02ddbe06120c3993c9bf1e.tar.gz |
- Windows ACL cache support, update existing tests and add a new one
Diffstat (limited to 'TSRM/tsrm_virtual_cwd.h')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index 28e93fc7cc..8ddbee6f0f 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -210,6 +210,12 @@ typedef struct _realpath_cache_bucket { int realpath_len; int is_dir; time_t expires; +#ifdef PHP_WIN32 + unsigned char is_rvalid; + unsigned char is_readable; + unsigned char is_wvalid; + unsigned char is_writable; +#endif struct _realpath_cache_bucket *next; } realpath_cache_bucket; @@ -231,6 +237,7 @@ extern virtual_cwd_globals cwd_globals; CWD_API void realpath_cache_clean(TSRMLS_D); CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC); +CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC); /* The actual macros to be used in programs using TSRM * If the program defines VIRTUAL_DIR it will use the |