Rename getDirPath to afs_getDirPath in preparation for export
[openafs.git] / src / util / secutil_nt.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef OPENAFS_SECUTIL_NT_H
11 #define OPENAFS_SECUTIL_NT_H
12
13 /* Security related utilities for the Windows platform */
14
15 #include <windows.h>
16 #include <aclapi.h>
17
18 typedef enum _WELLKNOWN_TRUSTEE_ID {
19     WorldGroup = 1,
20     LocalAdministratorsGroup
21 } WELLKNOWN_TRUSTEE_ID;
22
23 DWORD ObjectDaclEntryAdd(HANDLE objectHandle, SE_OBJECT_TYPE objectType,
24                          WELLKNOWN_TRUSTEE_ID trustee, DWORD accessPerm,
25                          ACCESS_MODE accessMode, DWORD inheritance);
26
27 #endif /* OPENAFS_SECUTIL_NT_H */