summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_virtual_cwd.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-06-16 00:07:05 +0000
committerPierre Joye <pajoye@php.net>2009-06-16 00:07:05 +0000
commit18d5751a9e8da170ca02ddbe06120c3993c9bf1e (patch)
tree43d5341a69919e3cd6141b406e708846cb3354f4 /TSRM/tsrm_virtual_cwd.h
parentda9b80e30948d31d42de2c2cdf93398691f0c27c (diff)
downloadphp-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.h7
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