2
Copyright (c) 1990-2000 Info-ZIP. All rights reserved.
4
See the accompanying file LICENSE, version 2000-Apr-09 or later
5
(the contents of which are also included in unzip.h) for terms of use.
6
If, for some reason, all these files are missing, the Info-ZIP license
7
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
9
/* nt.h: central header for EF_NTSD "SD" extra field */
14
#define NTSD_BUFFERSIZE (1024) /* threshold to cause malloc() */
15
#define OVERRIDE_BACKUP 1 /* we have SeBackupPrivilege on remote */
16
#define OVERRIDE_RESTORE 2 /* we have SeRestorePrivilege on remote */
17
#define OVERRIDE_SACL 4 /* we have SeSystemSecurityPrivilege on remote */
20
BOOL bValid; /* are our contents valid? */
21
BOOL bProcessDefer; /* process deferred entry yet? */
22
BOOL bUsePrivileges; /* use privilege overrides? */
23
DWORD dwFileSystemFlags; /* describes target file system */
24
BOOL bRemote; /* is volume remote? */
25
DWORD dwRemotePrivileges; /* relevant only on remote volumes */
26
DWORD dwFileAttributes;
27
char RootPath[MAX_PATH+1]; /* path to network / filesystem */
28
} VOLUMECAPS, *PVOLUMECAPS, *LPVOLUMECAPS;
30
BOOL SecuritySet(char *resource, PVOLUMECAPS VolumeCaps, uch *securitydata);
31
BOOL GetVolumeCaps(char *rootpath, char *name, PVOLUMECAPS VolumeCaps);
32
BOOL ValidateSecurity(uch *securitydata);
33
BOOL ProcessDefer(PDWORD dwDirectoryCount, PDWORD dwBytesProcessed,
34
PDWORD dwDirectoryFail, PDWORD dwBytesFail);