GME  13
Classes | Defines | Typedefs | Enumerations | Functions | Variables
apr_arch_misc.h File Reference

Go to the source code of this file.

Classes

struct  apr_other_child_rec_t
struct  PBI
struct  IOSB
struct  FSI
struct  pollfd

Defines

#define WSAHighByte   2
#define WSALowByte   0
#define APR_HAS_ANSI_FS   1
#define IF_WIN_OS_IS_UNICODE
#define ELSE_WIN_OS_IS_ANSI
#define APR_DECLARE_LATE_DLL_FUNC(lib, rettype, calltype, fn, ord, args, names)
#define APR_HAVE_LATE_DLL_FUNC(fn)   apr_winapi_ld_##fn()
#define GetFileAttributesExA   apr_winapi_GetFileAttributesExA
#define GetFileAttributesEx   apr_winapi_GetFileAttributesExA
#define GetFileAttributesExW   apr_winapi_GetFileAttributesExW
#define CancelIo   apr_winapi_CancelIo
#define TryEnterCriticalSection   apr_winapi_TryEnterCriticalSection
#define SwitchToThread   apr_winapi_SwitchToThread
#define GetEffectiveRightsFromAclW   apr_winapi_GetEffectiveRightsFromAclW
#define GetNamedSecurityInfoW   apr_winapi_GetNamedSecurityInfoW
#define GetNamedSecurityInfoA   apr_winapi_GetNamedSecurityInfoA
#define GetNamedSecurityInfo   apr_winapi_GetNamedSecurityInfoA
#define GetSecurityInfo   apr_winapi_GetSecurityInfo
#define CommandLineToArgvW   apr_winapi_CommandLineToArgvW
#define GetCompressedFileSizeA   apr_winapi_GetCompressedFileSizeA
#define GetCompressedFileSize   apr_winapi_GetCompressedFileSizeA
#define GetCompressedFileSizeW   apr_winapi_GetCompressedFileSizeW
#define QueryTimerResolution   apr_winapi_NtQueryTimerResolution
#define SetTimerResolution   apr_winapi_NtSetTimerResolution
#define QueryInformationProcess   apr_winapi_NtQueryInformationProcess
#define QueryObject   apr_winapi_NtQueryObject
#define ZwQueryInformationFile   apr_winapi_ZwQueryInformationFile
#define CreateToolhelp32Snapshot   apr_winapi_CreateToolhelp32Snapshot
#define Process32FirstW   apr_winapi_Process32FirstW
#define Process32NextW   apr_winapi_Process32NextW
#define POLLRDNORM   0x0100
#define POLLRDBAND   0x0200
#define POLLIN   (POLLRDNORM | POLLRDBAND)
#define POLLPRI   0x0400
#define POLLWRNORM   0x0010
#define POLLOUT   (POLLWRNORM)
#define POLLWRBAND   0x0020
#define POLLERR   0x0001
#define POLLHUP   0x0002
#define POLLNVAL   0x0004
#define WSAPoll   apr_winapi_WSAPoll
#define HAVE_POLL   1
#define SetDllDirectoryW   apr_winapi_SetDllDirectoryW

Typedefs

typedef IN GET_FILEEX_INFO_LEVELS fInfoLevelId
typedef IN
GET_FILEEX_INFO_LEVELS OUT
LPVOID 
lpFileInformation
typedef IN PTRUSTEE_W pTrustee
typedef IN PTRUSTEE_W OUT
PACCESS_MASK 
pAccessRights
typedef IN SE_OBJECT_TYPE ObjectType
typedef IN SE_OBJECT_TYPE IN
SECURITY_INFORMATION 
SecurityInfo
typedef IN SE_OBJECT_TYPE IN
SECURITY_INFORMATION OUT PSID * 
ppsidOwner
typedef IN SE_OBJECT_TYPE IN
SECURITY_INFORMATION OUT PSID
OUT PSID * 
ppsidGroup
typedef IN SE_OBJECT_TYPE IN
SECURITY_INFORMATION OUT PSID
OUT PSID OUT PACL * 
ppDacl
typedef IN SE_OBJECT_TYPE IN
SECURITY_INFORMATION OUT PSID
OUT PSID OUT PACL OUT PACL * 
ppSacl
typedef IN SE_OBJECT_TYPE IN
SECURITY_INFORMATION OUT PSID
OUT PSID OUT PACL OUT PACL OUT
PSECURITY_DESCRIPTOR * 
ppSecurityDescriptor
typedef LPWSTR *WINAPI * apr_winapi_fpt_CommandLineToArgvW (LPCWSTR lpCmdLine, int *pNumArgs)
typedef OUT LPDWORD lpFileSizeHigh
typedef ULONG * pMinRes
typedef ULONG ULONG * pCurRes
typedef BOOL Acquire
typedef BOOL ULONG * pNewRes
typedef struct PBI PBI
typedef struct PBIPPBI
typedef INT info
typedef INT PVOID pPI
typedef INT PVOID ULONG LenPI
typedef INT PVOID ULONG ULONG * pSizePI
typedef INT PVOID pOI
typedef INT PVOID ULONG LenOI
typedef INT PVOID ULONG ULONG * pSizeOI
typedef struct IOSB IOSB
typedef struct IOSBPIOSB
typedef struct FSI FSI
typedef struct FSIPFSI
typedef PVOID pIOSB
typedef PVOID PVOID pFI
typedef PVOID PVOID ULONG LenFI
typedef DWORD th32ProcessID
typedef LPPROCESSENTRY32W lppe
typedef struct pollfd WSAPOLLFD
typedef struct pollfdPWSAPOLLFD
typedef struct pollfdLPWSAPOLLFD
typedef IN ULONG fds
typedef IN ULONG IN INT timeout

Enumerations

enum  apr_oslevel_e {
  APR_WIN_UNK = 0, APR_WIN_UNSUP = 1, APR_WIN_95 = 10, APR_WIN_95_B = 11,
  APR_WIN_95_OSR2 = 12, APR_WIN_98 = 14, APR_WIN_98_SE = 16, APR_WIN_ME = 18,
  APR_WIN_UNICODE = 20, APR_WIN_CE_3 = 23, APR_WIN_NT = 30, APR_WIN_NT_3_5 = 35,
  APR_WIN_NT_3_51 = 36, APR_WIN_NT_4 = 40, APR_WIN_NT_4_SP2 = 42, APR_WIN_NT_4_SP3 = 43,
  APR_WIN_NT_4_SP4 = 44, APR_WIN_NT_4_SP5 = 45, APR_WIN_NT_4_SP6 = 46, APR_WIN_2000 = 50,
  APR_WIN_2000_SP1 = 51, APR_WIN_2000_SP2 = 52, APR_WIN_XP = 60, APR_WIN_XP_SP1 = 61,
  APR_WIN_XP_SP2 = 62, APR_WIN_2003 = 70, APR_WIN_VISTA = 80
}
enum  apr_dlltoken_e {
  DLL_WINBASEAPI = 0, DLL_WINADVAPI = 1, DLL_WINSOCKAPI = 2, DLL_WINSOCK2API = 3,
  DLL_SHSTDAPI = 4, DLL_NTDLL = 5, DLL_defined = 6
}

Functions

int apr_wastrtoastr (char const *const **retarr, wchar_t const *const *arr, int args)
apr_status_t apr_get_oslevel (apr_oslevel_e *)
static APR_INLINE void * apr_malloc_dbg (size_t size, const char *filename, int linenumber)
static APR_INLINE void * apr_realloc_dbg (void *userData, size_t newSize, const char *filename, int linenumber)
FARPROC apr_load_dll_func (apr_dlltoken_e fnLib, char *fnName, int ordinal)
typedef BOOL (WINAPI *apr_winapi_fpt_GetFileAttributesExA)(IN LPCSTR lpFileName
static APR_INLINE int apr_winapi_ld_GetFileAttributesExA (void)
static APR_INLINE BOOL apr_winapi_GetFileAttributesExA (IN LPCSTR lpFileName, IN GET_FILEEX_INFO_LEVELS fInfoLevelId, OUT LPVOID lpFileInformation)
static APR_INLINE int apr_winapi_ld_GetFileAttributesExW (void)
static APR_INLINE BOOL apr_winapi_GetFileAttributesExW (IN LPCWSTR lpFileName, IN GET_FILEEX_INFO_LEVELS fInfoLevelId, OUT LPVOID lpFileInformation)
static APR_INLINE int apr_winapi_ld_CancelIo (void)
static APR_INLINE BOOL apr_winapi_CancelIo (IN HANDLE hFile)
static APR_INLINE int apr_winapi_ld_TryEnterCriticalSection (void)
static APR_INLINE BOOL apr_winapi_TryEnterCriticalSection (LPCRITICAL_SECTION lpCriticalSection)
static APR_INLINE int apr_winapi_ld_SwitchToThread (void)
static APR_INLINE BOOL apr_winapi_SwitchToThread (void)
static APR_INLINE int apr_winapi_ld_GetEffectiveRightsFromAclW (void)
static APR_INLINE BOOL apr_winapi_GetEffectiveRightsFromAclW (IN PACL pacl, IN PTRUSTEE_W pTrustee, OUT PACCESS_MASK pAccessRights)
static APR_INLINE int apr_winapi_ld_GetNamedSecurityInfoW (void)
static APR_INLINE BOOL apr_winapi_GetNamedSecurityInfoW (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)
static APR_INLINE int apr_winapi_ld_GetNamedSecurityInfoA (void)
static APR_INLINE BOOL apr_winapi_GetNamedSecurityInfoA (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)
static APR_INLINE int apr_winapi_ld_GetSecurityInfo (void)
static APR_INLINE BOOL apr_winapi_GetSecurityInfo (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)
static APR_INLINE int apr_winapi_ld_CommandLineToArgvW (void)
static APR_INLINE LPWSTR * apr_winapi_CommandLineToArgvW (LPCWSTR lpCmdLine, int *pNumArgs)
typedef DWORD (WINAPI *apr_winapi_fpt_GetCompressedFileSizeA)(IN LPCSTR lpFileName
static APR_INLINE int apr_winapi_ld_GetCompressedFileSizeA (void)
static APR_INLINE DWORD apr_winapi_GetCompressedFileSizeA (IN LPCSTR lpFileName, OUT LPDWORD lpFileSizeHigh)
static APR_INLINE int apr_winapi_ld_GetCompressedFileSizeW (void)
static APR_INLINE DWORD apr_winapi_GetCompressedFileSizeW (IN LPCWSTR lpFileName, OUT LPDWORD lpFileSizeHigh)
typedef LONG (WINAPI *apr_winapi_fpt_NtQueryTimerResolution)(ULONG *pMaxRes
static APR_INLINE int apr_winapi_ld_NtQueryTimerResolution (void)
static APR_INLINE LONG apr_winapi_NtQueryTimerResolution (ULONG *pMaxRes, ULONG *pMinRes, ULONG *pCurRes)
static APR_INLINE int apr_winapi_ld_NtSetTimerResolution (void)
static APR_INLINE LONG apr_winapi_NtSetTimerResolution (ULONG ReqRes, BOOL Acquire, ULONG *pNewRes)
static APR_INLINE int apr_winapi_ld_NtQueryInformationProcess (void)
static APR_INLINE LONG apr_winapi_NtQueryInformationProcess (HANDLE hProcess, INT info, PVOID pPI, ULONG LenPI, ULONG *pSizePI)
static APR_INLINE int apr_winapi_ld_NtQueryObject (void)
static APR_INLINE LONG apr_winapi_NtQueryObject (HANDLE hObject, INT info, PVOID pOI, ULONG LenOI, ULONG *pSizeOI)
static APR_INLINE int apr_winapi_ld_ZwQueryInformationFile (void)
static APR_INLINE LONG apr_winapi_ZwQueryInformationFile (HANDLE hObject, PVOID pIOSB, PVOID pFI, ULONG LenFI, ULONG info)
typedef HANDLE (WINAPI *apr_winapi_fpt_CreateToolhelp32Snapshot)(DWORD dwFlags
static APR_INLINE int apr_winapi_ld_CreateToolhelp32Snapshot (void)
static APR_INLINE HANDLE apr_winapi_CreateToolhelp32Snapshot (DWORD dwFlags, DWORD th32ProcessID)
static APR_INLINE int apr_winapi_ld_Process32FirstW (void)
static APR_INLINE BOOL apr_winapi_Process32FirstW (HANDLE hSnapshot, LPPROCESSENTRY32W lppe)
static APR_INLINE int apr_winapi_ld_Process32NextW (void)
static APR_INLINE BOOL apr_winapi_Process32NextW (HANDLE hSnapshot, LPPROCESSENTRY32W lppe)
typedef int (WSAAPI *apr_winapi_fpt_WSAPoll)(IN OUT LPWSAPOLLFD fdArray
static APR_INLINE int apr_winapi_ld_WSAPoll (void)
static APR_INLINE int apr_winapi_WSAPoll (IN OUT LPWSAPOLLFD fdArray, IN ULONG fds, IN INT timeout)
static APR_INLINE int apr_winapi_ld_SetDllDirectoryW (void)
static APR_INLINE BOOL apr_winapi_SetDllDirectoryW (IN LPCWSTR lpPathName)

Variables

int APR_DECLARE_DATA apr_app_init_complete
APR_DECLARE_DATA apr_oslevel_e apr_os_level
static
apr_winapi_fpt_GetFileAttributesExA 
apr_winapi_pfn_GetFileAttributesExA = NULL
static int apr_winapi_chk_GetFileAttributesExA = 0
static
apr_winapi_fpt_GetFileAttributesExW 
apr_winapi_pfn_GetFileAttributesExW = NULL
static int apr_winapi_chk_GetFileAttributesExW = 0
static apr_winapi_fpt_CancelIo apr_winapi_pfn_CancelIo = NULL
static int apr_winapi_chk_CancelIo = 0
static
apr_winapi_fpt_TryEnterCriticalSection 
apr_winapi_pfn_TryEnterCriticalSection = NULL
static int apr_winapi_chk_TryEnterCriticalSection = 0
static
apr_winapi_fpt_SwitchToThread 
apr_winapi_pfn_SwitchToThread = NULL
static int apr_winapi_chk_SwitchToThread = 0
static
apr_winapi_fpt_GetEffectiveRightsFromAclW 
apr_winapi_pfn_GetEffectiveRightsFromAclW = NULL
static int apr_winapi_chk_GetEffectiveRightsFromAclW = 0
static
apr_winapi_fpt_GetNamedSecurityInfoW 
apr_winapi_pfn_GetNamedSecurityInfoW = NULL
static int apr_winapi_chk_GetNamedSecurityInfoW = 0
static
apr_winapi_fpt_GetNamedSecurityInfoA 
apr_winapi_pfn_GetNamedSecurityInfoA = NULL
static int apr_winapi_chk_GetNamedSecurityInfoA = 0
static
apr_winapi_fpt_GetSecurityInfo 
apr_winapi_pfn_GetSecurityInfo = NULL
static int apr_winapi_chk_GetSecurityInfo = 0
static
apr_winapi_fpt_CommandLineToArgvW 
apr_winapi_pfn_CommandLineToArgvW = NULL
static int apr_winapi_chk_CommandLineToArgvW = 0
static
apr_winapi_fpt_GetCompressedFileSizeA 
apr_winapi_pfn_GetCompressedFileSizeA = NULL
static int apr_winapi_chk_GetCompressedFileSizeA = 0
static
apr_winapi_fpt_GetCompressedFileSizeW 
apr_winapi_pfn_GetCompressedFileSizeW = NULL
static int apr_winapi_chk_GetCompressedFileSizeW = 0
static
apr_winapi_fpt_NtQueryTimerResolution 
apr_winapi_pfn_NtQueryTimerResolution = NULL
static int apr_winapi_chk_NtQueryTimerResolution = 0
static
apr_winapi_fpt_NtSetTimerResolution 
apr_winapi_pfn_NtSetTimerResolution = NULL
static int apr_winapi_chk_NtSetTimerResolution = 0
static
apr_winapi_fpt_NtQueryInformationProcess 
apr_winapi_pfn_NtQueryInformationProcess = NULL
static int apr_winapi_chk_NtQueryInformationProcess = 0
static apr_winapi_fpt_NtQueryObject apr_winapi_pfn_NtQueryObject = NULL
static int apr_winapi_chk_NtQueryObject = 0
static
apr_winapi_fpt_ZwQueryInformationFile 
apr_winapi_pfn_ZwQueryInformationFile = NULL
static int apr_winapi_chk_ZwQueryInformationFile = 0
static
apr_winapi_fpt_CreateToolhelp32Snapshot 
apr_winapi_pfn_CreateToolhelp32Snapshot = NULL
static int apr_winapi_chk_CreateToolhelp32Snapshot = 0
static
apr_winapi_fpt_Process32FirstW 
apr_winapi_pfn_Process32FirstW = NULL
static int apr_winapi_chk_Process32FirstW = 0
static
apr_winapi_fpt_Process32NextW 
apr_winapi_pfn_Process32NextW = NULL
static int apr_winapi_chk_Process32NextW = 0
static apr_winapi_fpt_WSAPoll apr_winapi_pfn_WSAPoll = NULL
static int apr_winapi_chk_WSAPoll = 0
static
apr_winapi_fpt_SetDllDirectoryW 
apr_winapi_pfn_SetDllDirectoryW = NULL
static int apr_winapi_chk_SetDllDirectoryW = 0

Define Documentation

#define APR_DECLARE_LATE_DLL_FUNC (   lib,
  rettype,
  calltype,
  fn,
  ord,
  args,
  names 
)
Value:
typedef rettype (calltype *apr_winapi_fpt_##fn) args; \
    static apr_winapi_fpt_##fn apr_winapi_pfn_##fn = NULL; \
    static int apr_winapi_chk_##fn = 0; \
    static APR_INLINE int apr_winapi_ld_##fn(void) \
    {   if (apr_winapi_pfn_##fn) return 1; \
        if (apr_winapi_chk_##fn ++) return 0; \
        if (!apr_winapi_pfn_##fn) \
            apr_winapi_pfn_##fn = (apr_winapi_fpt_##fn) \
                                      apr_load_dll_func(lib, #fn, ord); \
        if (apr_winapi_pfn_##fn) return 1; else return 0; }; \
    static APR_INLINE rettype apr_winapi_##fn args \
    {   if (apr_winapi_ld_##fn()) \
            return (*(apr_winapi_pfn_##fn)) names; \
        else { SetLastError(ERROR_INVALID_FUNCTION); return 0;} }; \

Definition at line 189 of file win32/apr_arch_misc.h.

#define APR_HAS_ANSI_FS   1

Definition at line 128 of file win32/apr_arch_misc.h.

#define APR_HAVE_LATE_DLL_FUNC (   fn)    apr_winapi_ld_##fn()

Definition at line 205 of file win32/apr_arch_misc.h.

Definition at line 254 of file win32/apr_arch_misc.h.

Definition at line 318 of file win32/apr_arch_misc.h.

Definition at line 421 of file win32/apr_arch_misc.h.

Definition at line 140 of file win32/apr_arch_misc.h.

Definition at line 336 of file win32/apr_arch_misc.h.

Definition at line 334 of file win32/apr_arch_misc.h.

Definition at line 345 of file win32/apr_arch_misc.h.

Definition at line 271 of file win32/apr_arch_misc.h.

Definition at line 239 of file win32/apr_arch_misc.h.

Definition at line 237 of file win32/apr_arch_misc.h.

Definition at line 249 of file win32/apr_arch_misc.h.

Definition at line 299 of file win32/apr_arch_misc.h.

Definition at line 297 of file win32/apr_arch_misc.h.

Definition at line 284 of file win32/apr_arch_misc.h.

Definition at line 312 of file win32/apr_arch_misc.h.

#define HAVE_POLL   1

Definition at line 473 of file win32/apr_arch_misc.h.

Definition at line 139 of file win32/apr_arch_misc.h.

#define POLLERR   0x0001

Definition at line 452 of file win32/apr_arch_misc.h.

#define POLLHUP   0x0002

Definition at line 453 of file win32/apr_arch_misc.h.

#define POLLIN   (POLLRDNORM | POLLRDBAND)

Definition at line 445 of file win32/apr_arch_misc.h.

#define POLLNVAL   0x0004

Definition at line 454 of file win32/apr_arch_misc.h.

#define POLLOUT   (POLLWRNORM)

Definition at line 449 of file win32/apr_arch_misc.h.

#define POLLPRI   0x0400

Definition at line 446 of file win32/apr_arch_misc.h.

#define POLLRDBAND   0x0200

Definition at line 444 of file win32/apr_arch_misc.h.

#define POLLRDNORM   0x0100

Definition at line 443 of file win32/apr_arch_misc.h.

#define POLLWRBAND   0x0020

Definition at line 450 of file win32/apr_arch_misc.h.

#define POLLWRNORM   0x0010

Definition at line 448 of file win32/apr_arch_misc.h.

Definition at line 430 of file win32/apr_arch_misc.h.

Definition at line 439 of file win32/apr_arch_misc.h.

Definition at line 378 of file win32/apr_arch_misc.h.

Definition at line 387 of file win32/apr_arch_misc.h.

Definition at line 353 of file win32/apr_arch_misc.h.

Definition at line 481 of file win32/apr_arch_misc.h.

Definition at line 360 of file win32/apr_arch_misc.h.

Definition at line 264 of file win32/apr_arch_misc.h.

Definition at line 259 of file win32/apr_arch_misc.h.

#define WSAHighByte   2

Definition at line 59 of file win32/apr_arch_misc.h.

#define WSALowByte   0

Definition at line 60 of file win32/apr_arch_misc.h.

Definition at line 472 of file win32/apr_arch_misc.h.

Definition at line 412 of file win32/apr_arch_misc.h.


Typedef Documentation

typedef BOOL Acquire

Definition at line 359 of file win32/apr_arch_misc.h.

typedef LPWSTR* WINAPI* apr_winapi_fpt_CommandLineToArgvW(LPCWSTR lpCmdLine, int *pNumArgs)

Definition at line 317 of file win32/apr_arch_misc.h.

typedef IN ULONG fds

Definition at line 471 of file win32/apr_arch_misc.h.

typedef IN GET_FILEEX_INFO_LEVELS fInfoLevelId

Definition at line 236 of file win32/apr_arch_misc.h.

typedef struct FSI FSI
typedef PVOID PVOID ULONG ULONG info

Definition at line 377 of file win32/apr_arch_misc.h.

typedef struct IOSB IOSB
typedef PVOID PVOID ULONG LenFI

Definition at line 411 of file win32/apr_arch_misc.h.

typedef INT PVOID ULONG LenOI

Definition at line 386 of file win32/apr_arch_misc.h.

typedef INT PVOID ULONG LenPI

Definition at line 377 of file win32/apr_arch_misc.h.

typedef IN GET_FILEEX_INFO_LEVELS OUT LPVOID lpFileInformation

Definition at line 236 of file win32/apr_arch_misc.h.

typedef OUT LPDWORD lpFileSizeHigh

Definition at line 333 of file win32/apr_arch_misc.h.

typedef LPPROCESSENTRY32W lppe

Definition at line 429 of file win32/apr_arch_misc.h.

typedef struct pollfd* LPWSAPOLLFD
typedef IN SE_OBJECT_TYPE ObjectType

Definition at line 283 of file win32/apr_arch_misc.h.

typedef IN PTRUSTEE_W OUT PACCESS_MASK pAccessRights

Definition at line 270 of file win32/apr_arch_misc.h.

typedef struct PBI PBI
typedef ULONG ULONG* pCurRes

Definition at line 352 of file win32/apr_arch_misc.h.

typedef PVOID PVOID pFI

Definition at line 411 of file win32/apr_arch_misc.h.

typedef struct FSI * PFSI
typedef struct IOSB * PIOSB
typedef PVOID pIOSB

Definition at line 411 of file win32/apr_arch_misc.h.

typedef ULONG* pMinRes

Definition at line 352 of file win32/apr_arch_misc.h.

typedef BOOL ULONG* pNewRes

Definition at line 359 of file win32/apr_arch_misc.h.

typedef INT PVOID pOI

Definition at line 386 of file win32/apr_arch_misc.h.

typedef struct PBI * PPBI
typedef IN SE_OBJECT_TYPE IN SECURITY_INFORMATION OUT PSID OUT PSID OUT PACL * ppDacl

Definition at line 283 of file win32/apr_arch_misc.h.

typedef INT PVOID pPI

Definition at line 377 of file win32/apr_arch_misc.h.

typedef IN SE_OBJECT_TYPE IN SECURITY_INFORMATION OUT PSID OUT PSID OUT PACL OUT PACL * ppSacl

Definition at line 283 of file win32/apr_arch_misc.h.

typedef IN SE_OBJECT_TYPE IN SECURITY_INFORMATION OUT PSID OUT PSID OUT PACL OUT PACL OUT PSECURITY_DESCRIPTOR * ppSecurityDescriptor

Definition at line 283 of file win32/apr_arch_misc.h.

typedef IN SE_OBJECT_TYPE IN SECURITY_INFORMATION OUT PSID OUT PSID * ppsidGroup

Definition at line 283 of file win32/apr_arch_misc.h.

typedef IN SE_OBJECT_TYPE IN SECURITY_INFORMATION OUT PSID * ppsidOwner

Definition at line 283 of file win32/apr_arch_misc.h.

typedef INT PVOID ULONG ULONG* pSizeOI

Definition at line 386 of file win32/apr_arch_misc.h.

typedef INT PVOID ULONG ULONG* pSizePI

Definition at line 377 of file win32/apr_arch_misc.h.

typedef IN PTRUSTEE_W pTrustee

Definition at line 270 of file win32/apr_arch_misc.h.

typedef struct pollfd * PWSAPOLLFD
typedef IN SE_OBJECT_TYPE IN SECURITY_INFORMATION SecurityInfo

Definition at line 283 of file win32/apr_arch_misc.h.

Definition at line 420 of file win32/apr_arch_misc.h.

typedef struct pollfd WSAPOLLFD

Enumeration Type Documentation

Enumerator:
DLL_WINBASEAPI 
DLL_WINADVAPI 
DLL_WINSOCKAPI 
DLL_WINSOCK2API 
DLL_SHSTDAPI 
DLL_NTDLL 
DLL_defined 

Definition at line 174 of file win32/apr_arch_misc.h.

Enumerator:
APR_WIN_UNK 
APR_WIN_UNSUP 
APR_WIN_95 
APR_WIN_95_B 
APR_WIN_95_OSR2 
APR_WIN_98 
APR_WIN_98_SE 
APR_WIN_ME 
APR_WIN_UNICODE 
APR_WIN_CE_3 
APR_WIN_NT 
APR_WIN_NT_3_5 
APR_WIN_NT_3_51 
APR_WIN_NT_4 
APR_WIN_NT_4_SP2 
APR_WIN_NT_4_SP3 
APR_WIN_NT_4_SP4 
APR_WIN_NT_4_SP5 
APR_WIN_NT_4_SP6 
APR_WIN_2000 
APR_WIN_2000_SP1 
APR_WIN_2000_SP2 
APR_WIN_XP 
APR_WIN_XP_SP1 
APR_WIN_XP_SP2 
APR_WIN_2003 
APR_WIN_VISTA 

Definition at line 76 of file win32/apr_arch_misc.h.


Function Documentation

FARPROC apr_load_dll_func ( apr_dlltoken_e  fnLib,
char *  fnName,
int  ordinal 
)
static APR_INLINE void* apr_malloc_dbg ( size_t  size,
const char *  filename,
int  linenumber 
) [static]

Definition at line 160 of file win32/apr_arch_misc.h.

static APR_INLINE void* apr_realloc_dbg ( void *  userData,
size_t  newSize,
const char *  filename,
int  linenumber 
) [static]

Definition at line 166 of file win32/apr_arch_misc.h.

int apr_wastrtoastr ( char const *const **  retarr,
wchar_t const *const *  arr,
int  args 
)
static APR_INLINE BOOL apr_winapi_CancelIo ( IN HANDLE  hFile) [static]

Definition at line 253 of file win32/apr_arch_misc.h.

static APR_INLINE LPWSTR* apr_winapi_CommandLineToArgvW ( LPCWSTR  lpCmdLine,
int pNumArgs 
) [static]

Definition at line 317 of file win32/apr_arch_misc.h.

static APR_INLINE HANDLE apr_winapi_CreateToolhelp32Snapshot ( DWORD  dwFlags,
DWORD  th32ProcessID 
) [static]

Definition at line 420 of file win32/apr_arch_misc.h.

static APR_INLINE DWORD apr_winapi_GetCompressedFileSizeA ( IN LPCSTR  lpFileName,
OUT LPDWORD  lpFileSizeHigh 
) [static]

Definition at line 333 of file win32/apr_arch_misc.h.

static APR_INLINE DWORD apr_winapi_GetCompressedFileSizeW ( IN LPCWSTR  lpFileName,
OUT LPDWORD  lpFileSizeHigh 
) [static]

Definition at line 344 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_GetEffectiveRightsFromAclW ( IN PACL  pacl,
IN PTRUSTEE_W  pTrustee,
OUT PACCESS_MASK  pAccessRights 
) [static]

Definition at line 270 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_GetFileAttributesExA ( IN LPCSTR  lpFileName,
IN GET_FILEEX_INFO_LEVELS  fInfoLevelId,
OUT LPVOID  lpFileInformation 
) [static]

Definition at line 236 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_GetFileAttributesExW ( IN LPCWSTR  lpFileName,
IN GET_FILEEX_INFO_LEVELS  fInfoLevelId,
OUT LPVOID  lpFileInformation 
) [static]

Definition at line 248 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_GetNamedSecurityInfoA ( 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 
) [static]

Definition at line 296 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_GetNamedSecurityInfoW ( 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 
) [static]

Definition at line 283 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_GetSecurityInfo ( 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 
) [static]

Definition at line 311 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_CancelIo ( void  ) [static]

Definition at line 253 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_CommandLineToArgvW ( void  ) [static]

Definition at line 317 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_CreateToolhelp32Snapshot ( void  ) [static]

Definition at line 420 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetCompressedFileSizeA ( void  ) [static]

Definition at line 333 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetCompressedFileSizeW ( void  ) [static]

Definition at line 344 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetEffectiveRightsFromAclW ( void  ) [static]

Definition at line 270 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetFileAttributesExA ( void  ) [static]

Definition at line 236 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetFileAttributesExW ( void  ) [static]

Definition at line 248 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetNamedSecurityInfoA ( void  ) [static]

Definition at line 296 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetNamedSecurityInfoW ( void  ) [static]

Definition at line 283 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_GetSecurityInfo ( void  ) [static]

Definition at line 311 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_NtQueryInformationProcess ( void  ) [static]

Definition at line 377 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_NtQueryObject ( void  ) [static]

Definition at line 386 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_NtQueryTimerResolution ( void  ) [static]

Definition at line 352 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_NtSetTimerResolution ( void  ) [static]

Definition at line 359 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_Process32FirstW ( void  ) [static]

Definition at line 429 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_Process32NextW ( void  ) [static]

Definition at line 438 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_SetDllDirectoryW ( void  ) [static]

Definition at line 480 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_SwitchToThread ( void  ) [static]

Definition at line 263 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_TryEnterCriticalSection ( void  ) [static]

Definition at line 258 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_WSAPoll ( void  ) [static]

Definition at line 471 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_ld_ZwQueryInformationFile ( void  ) [static]

Definition at line 411 of file win32/apr_arch_misc.h.

static APR_INLINE LONG apr_winapi_NtQueryInformationProcess ( HANDLE  hProcess,
INT  info,
PVOID  pPI,
ULONG  LenPI,
ULONG *  pSizePI 
) [static]

Definition at line 377 of file win32/apr_arch_misc.h.

static APR_INLINE LONG apr_winapi_NtQueryObject ( HANDLE  hObject,
INT  info,
PVOID  pOI,
ULONG  LenOI,
ULONG *  pSizeOI 
) [static]

Definition at line 386 of file win32/apr_arch_misc.h.

static APR_INLINE LONG apr_winapi_NtQueryTimerResolution ( ULONG *  pMaxRes,
ULONG *  pMinRes,
ULONG *  pCurRes 
) [static]

Definition at line 352 of file win32/apr_arch_misc.h.

static APR_INLINE LONG apr_winapi_NtSetTimerResolution ( ULONG  ReqRes,
BOOL  Acquire,
ULONG *  pNewRes 
) [static]

Definition at line 359 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_Process32FirstW ( HANDLE  hSnapshot,
LPPROCESSENTRY32W  lppe 
) [static]

Definition at line 429 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_Process32NextW ( HANDLE  hSnapshot,
LPPROCESSENTRY32W  lppe 
) [static]

Definition at line 438 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_SetDllDirectoryW ( IN LPCWSTR  lpPathName) [static]

Definition at line 480 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_SwitchToThread ( void  ) [static]

Definition at line 263 of file win32/apr_arch_misc.h.

static APR_INLINE BOOL apr_winapi_TryEnterCriticalSection ( LPCRITICAL_SECTION  lpCriticalSection) [static]

Definition at line 258 of file win32/apr_arch_misc.h.

static APR_INLINE int apr_winapi_WSAPoll ( IN OUT LPWSAPOLLFD  fdArray,
IN ULONG  fds,
IN INT  timeout 
) [static]

Definition at line 471 of file win32/apr_arch_misc.h.

static APR_INLINE LONG apr_winapi_ZwQueryInformationFile ( HANDLE  hObject,
PVOID  pIOSB,
PVOID  pFI,
ULONG  LenFI,
ULONG  info 
) [static]

Definition at line 411 of file win32/apr_arch_misc.h.

typedef BOOL ( WINAPI *  apr_winapi_fpt_GetFileAttributesExA)
typedef DWORD ( WINAPI *  apr_winapi_fpt_GetCompressedFileSizeA)
typedef HANDLE ( WINAPI *  apr_winapi_fpt_CreateToolhelp32Snapshot)
typedef int ( WSAAPI *  apr_winapi_fpt_WSAPoll)
typedef LONG ( WINAPI *  apr_winapi_fpt_NtQueryTimerResolution)

Variable Documentation

int APR_DECLARE_DATA apr_app_init_complete
APR_DECLARE_DATA apr_oslevel_e apr_os_level

Definition at line 253 of file win32/apr_arch_misc.h.

Definition at line 317 of file win32/apr_arch_misc.h.

Definition at line 420 of file win32/apr_arch_misc.h.

Definition at line 333 of file win32/apr_arch_misc.h.

Definition at line 344 of file win32/apr_arch_misc.h.

Definition at line 270 of file win32/apr_arch_misc.h.

Definition at line 236 of file win32/apr_arch_misc.h.

Definition at line 248 of file win32/apr_arch_misc.h.

Definition at line 296 of file win32/apr_arch_misc.h.

Definition at line 283 of file win32/apr_arch_misc.h.

Definition at line 311 of file win32/apr_arch_misc.h.

Definition at line 377 of file win32/apr_arch_misc.h.

Definition at line 386 of file win32/apr_arch_misc.h.

Definition at line 352 of file win32/apr_arch_misc.h.

Definition at line 359 of file win32/apr_arch_misc.h.

Definition at line 429 of file win32/apr_arch_misc.h.

Definition at line 438 of file win32/apr_arch_misc.h.

Definition at line 480 of file win32/apr_arch_misc.h.

Definition at line 263 of file win32/apr_arch_misc.h.

Definition at line 258 of file win32/apr_arch_misc.h.

Definition at line 471 of file win32/apr_arch_misc.h.

Definition at line 411 of file win32/apr_arch_misc.h.

apr_winapi_fpt_CancelIo apr_winapi_pfn_CancelIo = NULL [static]

Definition at line 253 of file win32/apr_arch_misc.h.

Definition at line 317 of file win32/apr_arch_misc.h.

apr_winapi_fpt_CreateToolhelp32Snapshot apr_winapi_pfn_CreateToolhelp32Snapshot = NULL [static]

Definition at line 420 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetCompressedFileSizeA apr_winapi_pfn_GetCompressedFileSizeA = NULL [static]

Definition at line 333 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetCompressedFileSizeW apr_winapi_pfn_GetCompressedFileSizeW = NULL [static]

Definition at line 344 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetEffectiveRightsFromAclW apr_winapi_pfn_GetEffectiveRightsFromAclW = NULL [static]

Definition at line 270 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetFileAttributesExA apr_winapi_pfn_GetFileAttributesExA = NULL [static]

Definition at line 236 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetFileAttributesExW apr_winapi_pfn_GetFileAttributesExW = NULL [static]

Definition at line 248 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetNamedSecurityInfoA apr_winapi_pfn_GetNamedSecurityInfoA = NULL [static]

Definition at line 296 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetNamedSecurityInfoW apr_winapi_pfn_GetNamedSecurityInfoW = NULL [static]

Definition at line 283 of file win32/apr_arch_misc.h.

apr_winapi_fpt_GetSecurityInfo apr_winapi_pfn_GetSecurityInfo = NULL [static]

Definition at line 311 of file win32/apr_arch_misc.h.

apr_winapi_fpt_NtQueryInformationProcess apr_winapi_pfn_NtQueryInformationProcess = NULL [static]

Definition at line 377 of file win32/apr_arch_misc.h.

apr_winapi_fpt_NtQueryObject apr_winapi_pfn_NtQueryObject = NULL [static]

Definition at line 386 of file win32/apr_arch_misc.h.

apr_winapi_fpt_NtQueryTimerResolution apr_winapi_pfn_NtQueryTimerResolution = NULL [static]

Definition at line 352 of file win32/apr_arch_misc.h.

apr_winapi_fpt_NtSetTimerResolution apr_winapi_pfn_NtSetTimerResolution = NULL [static]

Definition at line 359 of file win32/apr_arch_misc.h.

apr_winapi_fpt_Process32FirstW apr_winapi_pfn_Process32FirstW = NULL [static]

Definition at line 429 of file win32/apr_arch_misc.h.

apr_winapi_fpt_Process32NextW apr_winapi_pfn_Process32NextW = NULL [static]

Definition at line 438 of file win32/apr_arch_misc.h.

apr_winapi_fpt_SetDllDirectoryW apr_winapi_pfn_SetDllDirectoryW = NULL [static]

Definition at line 480 of file win32/apr_arch_misc.h.

apr_winapi_fpt_SwitchToThread apr_winapi_pfn_SwitchToThread = NULL [static]

Definition at line 263 of file win32/apr_arch_misc.h.

apr_winapi_fpt_TryEnterCriticalSection apr_winapi_pfn_TryEnterCriticalSection = NULL [static]

Definition at line 258 of file win32/apr_arch_misc.h.

apr_winapi_fpt_WSAPoll apr_winapi_pfn_WSAPoll = NULL [static]

Definition at line 471 of file win32/apr_arch_misc.h.

apr_winapi_fpt_ZwQueryInformationFile apr_winapi_pfn_ZwQueryInformationFile = NULL [static]

Definition at line 411 of file win32/apr_arch_misc.h.