apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include/arch/win32 misc.h
Date Wed, 21 Nov 2001 17:48:38 GMT
wrowe       01/11/21 09:48:38

  Modified:    include/arch/win32 misc.h
  Log:
    Following comments early this week, add a whole list of 95-unsupported
    dynamic functions that need fixup.  Of course, everywhere these functions
    are actually _USED_ still must be version-tested against 95 if not 98.
  
  Revision  Changes    Path
  1.32      +67 -0     apr/include/arch/win32/misc.h
  
  Index: misc.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/win32/misc.h,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- misc.h	2001/11/21 17:46:17	1.31
  +++ misc.h	2001/11/21 17:48:38	1.32
  @@ -183,6 +183,73 @@
       (hFile));
   #define CancelIo apr_winapi_CancelIo
   
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINBASEAPI, BOOL, WINAPI, TryEnterCriticalSection, 0, (
  +    LPCRITICAL_SECTION lpCriticalSection),
  +    (lpCriticalSection));
  +#define TryEnterCriticalSection apr_winapi_TryEnterCriticalSection
  +
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINBASEAPI, BOOL, WINAPI, SwitchToThread, 0, (
  +    void),
  +    ());
  +#define SwitchToThread apr_winapi_SwitchToThread
  +
  +#undef GetEffectiveRightsFromAcl
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINADVAPI, BOOL, WINAPI, GetEffectiveRightsFromAclA, 0, (
  +    IN PACL pacl,
  +    IN PTRUSTEE_A pTrustee,
  +    OUT PACCESS_MASK pAccessRights),
  +    (pacl, pTrustee, pAccessRights));
  +#define GetEffectiveRightsFromAclA apr_winapi_GetEffectiveRightsFromAclA
  +#define GetEffectiveRightsFromAcl apr_winapi_GetEffectiveRightsFromAclA
  +
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINADVAPI, BOOL, WINAPI, GetEffectiveRightsFromAclW, 0, (
  +    IN PACL pacl,
  +    IN PTRUSTEE_W pTrustee,
  +    OUT PACCESS_MASK pAccessRights),
  +    (pacl, pTrustee, pAccessRights));
  +#define GetEffectiveRightsFromAclW apr_winapi_GetEffectiveRightsFromAclW
  +
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINADVAPI, BOOL, WINAPI, GetNamedSecurityInfoW, 0, (
  +    IN LPWSTR pObjectName,
  +    IN SE_OBJECT_TYPE ObjectType,
  +    IN SECURITY_INFORMATION SecurityInfo,
  +    OUT PSID *ppsidOwner,
  +    OUT PSID *ppsidGroup,
  +    OUT PACL *ppDacl,
  +    OUT PACL *ppSacl,
  +    OUT PSECURITY_DESCRIPTOR *ppSecurityDescriptor),
  +    (pObjectName, ObjectType, SecurityInfo, ppsidOwner, ppsidGroup, 
  +	 ppDacl, ppSacl, ppSecurityDescriptor));
  +#define GetNamedSecurityInfoW apr_winapi_GetNamedSecurityInfoW
  +
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINADVAPI, BOOL, WINAPI, GetNamedSecurityInfoA, 0, (
  +    IN LPSTR pObjectName,
  +    IN SE_OBJECT_TYPE ObjectType,
  +    IN SECURITY_INFORMATION SecurityInfo,
  +    OUT PSID *ppsidOwner,
  +    OUT PSID *ppsidGroup,
  +    OUT PACL *ppDacl,
  +    OUT PACL *ppSacl,
  +    OUT PSECURITY_DESCRIPTOR *ppSecurityDescriptor),
  +    (pObjectName, ObjectType, SecurityInfo, ppsidOwner, ppsidGroup, 
  +	 ppDacl, ppSacl, ppSecurityDescriptor));
  +#define GetNamedSecurityInfoA apr_winapi_GetNamedSecurityInfoA
  +#undef GetNamedSecurityInfo
  +#define GetNamedSecurityInfo apr_winapi_GetNamedSecurityInfoA
  +
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINADVAPI, BOOL, WINAPI, GetSecurityInfo, 0, (
  +    IN HANDLE handle,
  +    IN SE_OBJECT_TYPE ObjectType,
  +    IN SECURITY_INFORMATION SecurityInfo,
  +    OUT PSID *ppsidOwner,
  +    OUT PSID *ppsidGroup,
  +    OUT PACL *ppDacl,
  +    OUT PACL *ppSacl,
  +    OUT PSECURITY_DESCRIPTOR *ppSecurityDescriptor),
  +    (handle, ObjectType, SecurityInfo, ppsidOwner, ppsidGroup, 
  +	 ppDacl, ppSacl, ppSecurityDescriptor));
  +#define GetSecurityInfo apr_winapi_GetSecurityInfo
  +
   apr_status_t apr_get_oslevel(struct apr_pool_t *, apr_oslevel_e *);
   #endif /* WIN32 */
   
  
  
  

Mime
View raw message