diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-29 20:28:58 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2002-12-29 20:28:58 +0000 |
commit | 114aa1159cc9b299d6ecb1c80817628a84e1bf1b (patch) | |
tree | d9d649525a537b68920b5c12a8f45d6237821990 /include/arch | |
parent | a57aa4ef4b0cc9b02e86f601b02755f57d84c9e3 (diff) | |
download | libapr-114aa1159cc9b299d6ecb1c80817628a84e1bf1b.tar.gz |
Add an internal Win32 apr_file_open flag APR_OPENINFO to allow APR itself
to access a Win32 file or directory without READ/WRITE access, for various
GetFileInformationEx() and security descriptor access. Now the testfile
suite passes on Win32.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64227 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch')
-rw-r--r-- | include/arch/win32/fileio.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/arch/win32/fileio.h b/include/arch/win32/fileio.h index 58a5dba0a..d1aa721b0 100644 --- a/include/arch/win32/fileio.h +++ b/include/arch/win32/fileio.h @@ -133,9 +133,10 @@ void *res_name_from_filename(const char *file, int global, apr_pool_t *pool); #endif /* Internal Flags for apr_file_open */ -#define APR_OPENLINK 8192 /* Open a link itself, if supported */ -#define APR_READCONTROL 4096 /* Read the file's owner/perms */ -#define APR_WRITECONTROL 2048 /* Modifythe file's owner/perms */ +#define APR_OPENINFO 0x4000 /* Open without READ or WRITE access */ +#define APR_OPENLINK 0x2000 /* Open a link itself, if supported */ +#define APR_READCONTROL 0x1000 /* Read the file's owner/perms */ +#define APR_WRITECONTROL 0x0800 /* Modifythe file's owner/perms */ /* Entries missing from the MSVC 5.0 Win32 SDK: */ |