Apache HTTPD
Macros | Functions | Variables
apr_dbg_win32_handles.h File Reference

Go to the source code of this file.

Macros

#define apr_dbg_rv(fn, args)   (apr_dbg_log(#fn,(fn) args,__FILE__,__LINE__,0))
 
#define CloseHandle(h)
 
#define CreateEventA(sd, b1, b2, nm)   apr_dbg_rv(CreateEventA,(sd,b1,b2,nm))
 
#define CreateEventW(sd, b1, b2, nm)   apr_dbg_rv(CreateEventW,(sd,b1,b2,nm))
 
#define CreateFileA(nm, d1, d2, sd, d3, d4, h)   apr_dbg_rv(CreateFileA,(nm,d1,d2,sd,d3,d4,h))
 
#define CreateFileW(nm, d1, d2, sd, d3, d4, h)   apr_dbg_rv(CreateFileW,(nm,d1,d2,sd,d3,d4,h))
 
#define CreateFileMappingA(fh, sd, d1, d2, d3, nm)   apr_dbg_rv(CreateFileMappingA,(fh,sd,d1,d2,d3,nm))
 
#define CreateFileMappingW(fh, sd, d1, d2, d3, nm)   apr_dbg_rv(CreateFileMappingW,(fh,sd,d1,d2,d3,nm))
 
#define CreateMutexA(sd, b, nm)   apr_dbg_rv(CreateMutexA,(sd,b,nm))
 
#define CreateMutexW(sd, b, nm)   apr_dbg_rv(CreateMutexW,(sd,b,nm))
 
#define CreateIoCompletionPort(h1, h2, pd1, d2)   apr_dbg_rv(CreateIoCompletionPort,(h1,h2,pd1,d2))
 
#define CreateNamedPipeA(nm, d1, d2, d3, d4, d5, d6, sd)   apr_dbg_rv(CreateNamedPipeA,(nm,d1,d2,d3,d4,d5,d6,sd))
 
#define CreateNamedPipeW(nm, d1, d2, d3, d4, d5, d6, sd)   apr_dbg_rv(CreateNamedPipeW,(nm,d1,d2,d3,d4,d5,d6,sd))
 
#define CreatePipe(ph1, ph2, sd, d)
 
#define CreateProcessA(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)
 
#define CreateProcessW(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)
 
#define CreateSemaphoreA(sd, d1, d2, nm)   apr_dbg_rv(CreateSemaphoreA,(sd,d1,d2,nm))
 
#define CreateSemaphoreW(sd, d1, d2, nm)   apr_dbg_rv(CreateSemaphoreW,(sd,d1,d2,nm))
 
#define CreateThread(sd, d1, fn, pv, d2, pd3)   apr_dbg_rv(CreateThread,(sd,d1,fn,pv,d2,pd3))
 
#define DeregisterEventSource(h)
 
#define DuplicateHandle(h1, h2, h3, ph4, d1, b, d2)
 
#define GetCurrentProcess()
 
#define GetCurrentThread()
 
#define GetModuleHandleA(nm)   apr_dbg_rv(GetModuleHandleA,(nm))
 
#define GetModuleHandleW(nm)   apr_dbg_rv(GetModuleHandleW,(nm))
 
#define GetStdHandle(d)   apr_dbg_rv(GetStdHandle,(d))
 
#define LoadLibraryA(nm)   apr_dbg_rv(LoadLibraryA,(nm))
 
#define LoadLibraryW(nm)   apr_dbg_rv(LoadLibraryW,(nm))
 
#define LoadLibraryExA(nm, h, d)   apr_dbg_rv(LoadLibraryExA,(nm,h,d))
 
#define LoadLibraryExW(nm, h, d)   apr_dbg_rv(LoadLibraryExW,(nm,h,d))
 
#define OpenEventA(d, b, nm)   apr_dbg_rv(OpenEventA,(d,b,nm))
 
#define OpenEventW(d, b, nm)   apr_dbg_rv(OpenEventW,(d,b,nm))
 
#define OpenFileMappingA(d, b, nm)   apr_dbg_rv(OpenFileMappingA,(d,b,nm))
 
#define OpenFileMappingW(d, b, nm)   apr_dbg_rv(OpenFileMappingW,(d,b,nm))
 
#define RegisterEventSourceA(s1, s2)   apr_dbg_rv(RegisterEventSourceA,(s1,s2))
 
#define RegisterEventSourceW(s1, s2)   apr_dbg_rv(RegisterEventSourceW,(s1,s2))
 
#define SetEvent(h)
 
#define SetStdHandle(d, h)
 
#define socket(i1, i2, i3)
 
#define WaitForSingleObject(h, d)
 
#define WaitForSingleObjectEx(h, d, b)
 
#define WaitForMultipleObjects(d1, ah, b, d2)
 
#define WaitForMultipleObjectsEx(d1, ah, b1, d2, b2)
 
#define WSASocketA(i1, i2, i3, pi, g, dw)
 
#define WSASocketW(i1, i2, i3, pi, g, dw)
 
#define closesocket(sh)
 
#define _beginthread(fn, d, pv)
 
#define _beginthreadex(sd, d1, fn, pv, d2, pd3)
 

Functions

 APR_DECLARE_NONSTD (HANDLE) apr_dbg_log(char *fn
 

Variables

HANDLE ha
 
HANDLE charfl
 
HANDLE char int ln
 
HANDLE char int int nh
 

Macro Definition Documentation

◆ _beginthread

#define _beginthread (   fn,
  d,
  pv 
)
Value:
((unsigned long)apr_dbg_log("_beginthread", \
(HANDLE)(_beginthread)(fn,d,pv), \
#define _beginthread(fn, d, pv)
apr_size_t const unsigned char unsigned int unsigned int d
Definition apr_siphash.h:72
apr_size_t size
typedef HANDLE(WINAPI *apr_winapi_fpt_CreateToolhelp32Snapshot)(DWORD dwFlags

Definition at line 203 of file apr_dbg_win32_handles.h.

◆ _beginthreadex

#define _beginthreadex (   sd,
  d1,
  fn,
  pv,
  d2,
  pd3 
)
Value:
((unsigned long)apr_dbg_log("_beginthreadex", \
#define _beginthreadex(sd, d1, fn, pv, d2, pd3)

Definition at line 208 of file apr_dbg_win32_handles.h.

◆ apr_dbg_rv

#define apr_dbg_rv (   fn,
  args 
)    (apr_dbg_log(#fn,(fn) args,__FILE__,__LINE__,0))

Definition at line 59 of file apr_dbg_win32_handles.h.

◆ CloseHandle

#define CloseHandle (   h)
Value:
((BOOL)apr_dbg_log("CloseHandle", \
&(h),""))
#define CloseHandle(h)
#define BOOL
Definition ssl_private.h:81
const apr_hash_t * h
Definition apr_hash.h:97

Definition at line 61 of file apr_dbg_win32_handles.h.

◆ closesocket

#define closesocket (   sh)
Value:
((int)apr_dbg_log("closesocket", \
__FILE__,__LINE__,1,&(sh),""))
#define closesocket(sh)
typedef int(WSAAPI *apr_winapi_fpt_WSAPoll)(IN OUT LPWSAPOLLFD fdArray

Definition at line 198 of file apr_dbg_win32_handles.h.

◆ CreateEventA

#define CreateEventA (   sd,
  b1,
  b2,
  nm 
)    apr_dbg_rv(CreateEventA,(sd,b1,b2,nm))

Definition at line 67 of file apr_dbg_win32_handles.h.

◆ CreateEventW

#define CreateEventW (   sd,
  b1,
  b2,
  nm 
)    apr_dbg_rv(CreateEventW,(sd,b1,b2,nm))

Definition at line 68 of file apr_dbg_win32_handles.h.

◆ CreateFileA

#define CreateFileA (   nm,
  d1,
  d2,
  sd,
  d3,
  d4,
  h 
)    apr_dbg_rv(CreateFileA,(nm,d1,d2,sd,d3,d4,h))

Definition at line 70 of file apr_dbg_win32_handles.h.

◆ CreateFileMappingA

#define CreateFileMappingA (   fh,
  sd,
  d1,
  d2,
  d3,
  nm 
)    apr_dbg_rv(CreateFileMappingA,(fh,sd,d1,d2,d3,nm))

Definition at line 73 of file apr_dbg_win32_handles.h.

◆ CreateFileMappingW

#define CreateFileMappingW (   fh,
  sd,
  d1,
  d2,
  d3,
  nm 
)    apr_dbg_rv(CreateFileMappingW,(fh,sd,d1,d2,d3,nm))

Definition at line 74 of file apr_dbg_win32_handles.h.

◆ CreateFileW

#define CreateFileW (   nm,
  d1,
  d2,
  sd,
  d3,
  d4,
  h 
)    apr_dbg_rv(CreateFileW,(nm,d1,d2,sd,d3,d4,h))

Definition at line 71 of file apr_dbg_win32_handles.h.

◆ CreateIoCompletionPort

#define CreateIoCompletionPort (   h1,
  h2,
  pd1,
  d2 
)    apr_dbg_rv(CreateIoCompletionPort,(h1,h2,pd1,d2))

Definition at line 79 of file apr_dbg_win32_handles.h.

◆ CreateMutexA

#define CreateMutexA (   sd,
  b,
  nm 
)    apr_dbg_rv(CreateMutexA,(sd,b,nm))

Definition at line 76 of file apr_dbg_win32_handles.h.

◆ CreateMutexW

#define CreateMutexW (   sd,
  b,
  nm 
)    apr_dbg_rv(CreateMutexW,(sd,b,nm))

Definition at line 77 of file apr_dbg_win32_handles.h.

◆ CreateNamedPipeA

#define CreateNamedPipeA (   nm,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  sd 
)    apr_dbg_rv(CreateNamedPipeA,(nm,d1,d2,d3,d4,d5,d6,sd))

Definition at line 81 of file apr_dbg_win32_handles.h.

◆ CreateNamedPipeW

#define CreateNamedPipeW (   nm,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  sd 
)    apr_dbg_rv(CreateNamedPipeW,(nm,d1,d2,d3,d4,d5,d6,sd))

Definition at line 82 of file apr_dbg_win32_handles.h.

◆ CreatePipe

#define CreatePipe (   ph1,
  ph2,
  sd,
  d 
)
Value:
((BOOL)apr_dbg_log("CreatePipe", \
(ph1),"hRead", \
(ph2),"hWrite"))
#define CreatePipe(ph1, ph2, sd, d)

Definition at line 84 of file apr_dbg_win32_handles.h.

◆ CreateProcessA

#define CreateProcessA (   s1,
  s2,
  sd1,
  sd2,
  b,
  d1,
  s3,
  s4,
  pd2,
  hr 
)
Value:
((BOOL)apr_dbg_log("CreateProcessA", \
&((hr)->hProcess),"hProcess", \
&((hr)->hThread),"hThread"))
#define CreateProcessA(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)
apr_pool_t * b
Definition apr_pools.h:529

Definition at line 91 of file apr_dbg_win32_handles.h.

◆ CreateProcessW

#define CreateProcessW (   s1,
  s2,
  sd1,
  sd2,
  b,
  d1,
  s3,
  s4,
  pd2,
  hr 
)
Value:
((BOOL)apr_dbg_log("CreateProcessW", \
&((hr)->hProcess),"hProcess", \
&((hr)->hThread),"hThread"))
#define CreateProcessW(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)

Definition at line 97 of file apr_dbg_win32_handles.h.

◆ CreateSemaphoreA

#define CreateSemaphoreA (   sd,
  d1,
  d2,
  nm 
)    apr_dbg_rv(CreateSemaphoreA,(sd,d1,d2,nm))

Definition at line 104 of file apr_dbg_win32_handles.h.

◆ CreateSemaphoreW

#define CreateSemaphoreW (   sd,
  d1,
  d2,
  nm 
)    apr_dbg_rv(CreateSemaphoreW,(sd,d1,d2,nm))

Definition at line 105 of file apr_dbg_win32_handles.h.

◆ CreateThread

#define CreateThread (   sd,
  d1,
  fn,
  pv,
  d2,
  pd3 
)    apr_dbg_rv(CreateThread,(sd,d1,fn,pv,d2,pd3))

Definition at line 107 of file apr_dbg_win32_handles.h.

◆ DeregisterEventSource

#define DeregisterEventSource (   h)
Value:
((BOOL)apr_dbg_log("DeregisterEventSource", \
&(h),""))
#define DeregisterEventSource(h)

Definition at line 109 of file apr_dbg_win32_handles.h.

◆ DuplicateHandle

#define DuplicateHandle (   h1,
  h2,
  h3,
  ph4,
  d1,
  b,
  d2 
)
Value:
((BOOL)apr_dbg_log("DuplicateHandle", \
? "Target" : "EXTERN Target", \
&(h2),((h1)==GetCurrentProcess()) \
? "Source" : "EXTERN Source"))
#define GetCurrentProcess()
#define DuplicateHandle(h1, h2, h3, ph4, d1, b, d2)
const apr_hash_t * h1
Definition apr_hash.h:232
const apr_hash_t const apr_hash_t * h2
Definition apr_hash.h:233

Definition at line 115 of file apr_dbg_win32_handles.h.

◆ GetCurrentProcess

#define GetCurrentProcess ( )
Value:
(apr_dbg_log("GetCurrentProcess", \

Definition at line 124 of file apr_dbg_win32_handles.h.

◆ GetCurrentThread

#define GetCurrentThread ( )
Value:
(apr_dbg_log("GetCurrentThread", \
#define GetCurrentThread()

Definition at line 128 of file apr_dbg_win32_handles.h.

◆ GetModuleHandleA

#define GetModuleHandleA (   nm)    apr_dbg_rv(GetModuleHandleA,(nm))

Definition at line 132 of file apr_dbg_win32_handles.h.

◆ GetModuleHandleW

#define GetModuleHandleW (   nm)    apr_dbg_rv(GetModuleHandleW,(nm))

Definition at line 133 of file apr_dbg_win32_handles.h.

◆ GetStdHandle

#define GetStdHandle (   d)    apr_dbg_rv(GetStdHandle,(d))

Definition at line 135 of file apr_dbg_win32_handles.h.

◆ LoadLibraryA

#define LoadLibraryA (   nm)    apr_dbg_rv(LoadLibraryA,(nm))

Definition at line 137 of file apr_dbg_win32_handles.h.

◆ LoadLibraryExA

#define LoadLibraryExA (   nm,
  h,
  d 
)    apr_dbg_rv(LoadLibraryExA,(nm,h,d))

Definition at line 140 of file apr_dbg_win32_handles.h.

◆ LoadLibraryExW

#define LoadLibraryExW (   nm,
  h,
  d 
)    apr_dbg_rv(LoadLibraryExW,(nm,h,d))

Definition at line 141 of file apr_dbg_win32_handles.h.

◆ LoadLibraryW

#define LoadLibraryW (   nm)    apr_dbg_rv(LoadLibraryW,(nm))

Definition at line 138 of file apr_dbg_win32_handles.h.

◆ OpenEventA

#define OpenEventA (   d,
  b,
  nm 
)    apr_dbg_rv(OpenEventA,(d,b,nm))

Definition at line 143 of file apr_dbg_win32_handles.h.

◆ OpenEventW

#define OpenEventW (   d,
  b,
  nm 
)    apr_dbg_rv(OpenEventW,(d,b,nm))

Definition at line 144 of file apr_dbg_win32_handles.h.

◆ OpenFileMappingA

#define OpenFileMappingA (   d,
  b,
  nm 
)    apr_dbg_rv(OpenFileMappingA,(d,b,nm))

Definition at line 146 of file apr_dbg_win32_handles.h.

◆ OpenFileMappingW

#define OpenFileMappingW (   d,
  b,
  nm 
)    apr_dbg_rv(OpenFileMappingW,(d,b,nm))

Definition at line 147 of file apr_dbg_win32_handles.h.

◆ RegisterEventSourceA

#define RegisterEventSourceA (   s1,
  s2 
)    apr_dbg_rv(RegisterEventSourceA,(s1,s2))

Definition at line 149 of file apr_dbg_win32_handles.h.

◆ RegisterEventSourceW

#define RegisterEventSourceW (   s1,
  s2 
)    apr_dbg_rv(RegisterEventSourceW,(s1,s2))

Definition at line 150 of file apr_dbg_win32_handles.h.

◆ SetEvent

#define SetEvent (   h)
Value:
((BOOL)apr_dbg_log("SetEvent", \
(HANDLE)(SetEvent)(h), \
&(h),""))
#define SetEvent(h)

Definition at line 152 of file apr_dbg_win32_handles.h.

◆ SetStdHandle

#define SetStdHandle (   d,
  h 
)
Value:
((BOOL)apr_dbg_log("SetStdHandle", \
__FILE__,__LINE__,1,&(h),""))
#define SetStdHandle(d, h)

Definition at line 158 of file apr_dbg_win32_handles.h.

◆ socket

#define socket (   i1,
  i2,
  i3 
)
Value:
((SOCKET)apr_dbg_log("socket", \
(HANDLE)(socket)(i1,i2,i3), \
#define socket(i1, i2, i3)

Definition at line 163 of file apr_dbg_win32_handles.h.

◆ WaitForMultipleObjects

#define WaitForMultipleObjects (   d1,
  ah,
  b,
  d2 
)
Value:
((DWORD)apr_dbg_log("WaitForMultipleObjects", \
__FILE__,__LINE__,1,ah,"Signaled"))
#define WaitForMultipleObjects(d1, ah, b, d2)
typedef DWORD(WINAPI *apr_winapi_fpt_GetCompressedFileSizeA)(IN LPCSTR lpFileName

Definition at line 178 of file apr_dbg_win32_handles.h.

◆ WaitForMultipleObjectsEx

#define WaitForMultipleObjectsEx (   d1,
  ah,
  b1,
  d2,
  b2 
)
Value:
((DWORD)apr_dbg_log("WaitForMultipleObjectsEx", \
__FILE__,__LINE__,1,ah,"Signaled"))
#define WaitForMultipleObjectsEx(d1, ah, b1, d2, b2)

Definition at line 183 of file apr_dbg_win32_handles.h.

◆ WaitForSingleObject

#define WaitForSingleObject (   h,
  d 
)
Value:
((DWORD)apr_dbg_log("WaitForSingleObject", \
__FILE__,__LINE__,1,&(h),"Signaled"))
#define WaitForSingleObject(h, d)

Definition at line 168 of file apr_dbg_win32_handles.h.

◆ WaitForSingleObjectEx

#define WaitForSingleObjectEx (   h,
  d,
  b 
)
Value:
((DWORD)apr_dbg_log("WaitForSingleObjectEx", \
__FILE__,__LINE__,1,&(h),"Signaled"))
#define WaitForSingleObjectEx(h, d, b)

Definition at line 173 of file apr_dbg_win32_handles.h.

◆ WSASocketA

#define WSASocketA (   i1,
  i2,
  i3,
  pi,
  g,
  dw 
)
Value:
((SOCKET)apr_dbg_log("WSASocketA", \
#define WSASocketA(i1, i2, i3, pi, g, dw)

Definition at line 188 of file apr_dbg_win32_handles.h.

◆ WSASocketW

#define WSASocketW (   i1,
  i2,
  i3,
  pi,
  g,
  dw 
)
Value:
((SOCKET)apr_dbg_log("WSASocketW", \
#define WSASocketW(i1, i2, i3, pi, g, dw)

Definition at line 193 of file apr_dbg_win32_handles.h.

Function Documentation

◆ APR_DECLARE_NONSTD()

APR_DECLARE_NONSTD ( HANDLE  )

Variable Documentation

◆ fl

HANDLE char* fl

Definition at line 56 of file apr_dbg_win32_handles.h.

◆ ha

HANDLE ha

Definition at line 56 of file apr_dbg_win32_handles.h.

◆ ln

Definition at line 56 of file apr_dbg_win32_handles.h.

◆ nh

Definition at line 57 of file apr_dbg_win32_handles.h.