diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-08-22 11:21:28 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-08-22 11:21:28 +0000 |
commit | 01d699914d19eb64222f5eb0364071f18a1d77d3 (patch) | |
tree | c0d6840a4fcbe791375e69eaf44653a6eefdaf69 /winsup/w32api/include/aclapi.h | |
parent | 9e80cb966cd615cb5f0c61ce2fd0cc3574548fe6 (diff) | |
download | newlib-01d699914d19eb64222f5eb0364071f18a1d77d3.zip newlib-01d699914d19eb64222f5eb0364071f18a1d77d3.tar.gz newlib-01d699914d19eb64222f5eb0364071f18a1d77d3.tar.bz2 |
2003-08-22 Filip Navara <xnavara@volny.cz>
* include/aclapi.h (BuildImpersonateExplicitAccessWithName[AW]):
Add prototypes.
BuildImpersonateTrustee[AW]): Add prototypes.
GetMultipleTrustee[AW]): Add prototypes.
GetMultipleTrusteeOperation[AW]): Add prototypes.
Add missing changelog entry from last commit.
Diffstat (limited to 'winsup/w32api/include/aclapi.h')
-rw-r--r-- | winsup/w32api/include/aclapi.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/winsup/w32api/include/aclapi.h b/winsup/w32api/include/aclapi.h index c8f3c7b..1d02240 100644 --- a/winsup/w32api/include/aclapi.h +++ b/winsup/w32api/include/aclapi.h @@ -1,6 +1,6 @@ #ifndef _ACLAPI_H #define _ACLAPI_H -#if __GNUC__ >=3 +#if __GNUC__ >= 3 #pragma GCC system_header #endif @@ -53,13 +53,14 @@ DWORD WINAPI SetEntriesInAclW(ULONG,PEXPLICIT_ACCESS_W,PACL,PACL*); DWORD WINAPI SetNamedSecurityInfoA(LPSTR,SE_OBJECT_TYPE,SECURITY_INFORMATION,PSID,PSID,PACL,PACL); DWORD WINAPI SetNamedSecurityInfoW(LPWSTR,SE_OBJECT_TYPE,SECURITY_INFORMATION,PSID,PSID,PACL,PACL); DWORD WINAPI SetSecurityInfo(HANDLE,SE_OBJECT_TYPE,SECURITY_INFORMATION,PSID,PSID,PACL,PACL); - -/* These are deprecated by MS and not documented in Aug 2001 PSDK -BuildImpersonateExplicitAccessWithName[AW] -BuildImpersonateTrustee[AW] -GetMultipleTrustee[AW] -GetMultipleTrusteeOperation[AW] -*/ +VOID WINAPI BuildImpersonateExplicitAccessWithNameA(PEXPLICIT_ACCESS_A,LPSTR,PTRUSTEE_A,DWORD,ACCESS_MODE,DWORD); +VOID WINAPI BuildImpersonateExplicitAccessWithNameW(PEXPLICIT_ACCESS_W,LPWSTR,PTRUSTEE_W,DWORD,ACCESS_MODE,DWORD); +VOID WINAPI BuildImpersonateTrusteeA(PTRUSTEE_A,PTRUSTEE_A); +VOID WINAPI BuildImpersonateTrusteeW(PTRUSTEE_W,PTRUSTEE_W); +PTRUSTEE_A WINAPI GetMultipleTrusteeA(PTRUSTEE_A); +PTRUSTEE_W WINAPI GetMultipleTrusteeW(PTRUSTEE_W); +MULTIPLE_TRUSTEE_OPERATION WINAPI GetMultipleTrusteeOperationA(PTRUSTEE_A); +MULTIPLE_TRUSTEE_OPERATION WINAPI GetMultipleTrusteeOperationW(PTRUSTEE_W); #ifdef UNICODE #define BuildExplicitAccessWithName BuildExplicitAccessWithNameW @@ -78,6 +79,10 @@ GetMultipleTrusteeOperation[AW] #define LookupSecurityDescriptorParts LookupSecurityDescriptorPartsW #define SetEntriesInAcl SetEntriesInAclW #define SetNamedSecurityInfo SetNamedSecurityInfoW +#define BuildImpersonateExplicitAccessWithName BuildImpersonateExplicitAccessWithNameW +#define BuildImpersonateTrustee BuildImpersonateTrusteeW +#define GetMultipleTrustee GetMultipleTrusteeW +#define GetMultipleTrusteeOperation GetMultipleTrusteeOperationW #else #define BuildExplicitAccessWithName BuildExplicitAccessWithNameA #define BuildSecurityDescriptor BuildSecurityDescriptorA @@ -95,6 +100,10 @@ GetMultipleTrusteeOperation[AW] #define LookupSecurityDescriptorParts LookupSecurityDescriptorPartsA #define SetEntriesInAcl SetEntriesInAclA #define SetNamedSecurityInfo SetNamedSecurityInfoA +#define BuildImpersonateExplicitAccessWithName BuildImpersonateExplicitAccessWithNameA +#define BuildImpersonateTrustee BuildImpersonateTrusteeA +#define GetMultipleTrustee GetMultipleTrusteeA +#define GetMultipleTrusteeOperation GetMultipleTrusteeOperationA #endif /* UNICODE */ #ifdef __cplusplus |