FreeRDP
include/winpr/debug.h
1 
21 #ifndef WINPR_DEBUG_H
22 #define WINPR_DEBUG_H
23 
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28 
29 #include <winpr/wtypes.h>
30 #include <winpr/winpr.h>
31 #include <winpr/wlog.h>
32 
33  WINPR_API void winpr_log_backtrace(const char* tag, DWORD level, DWORD size);
34  WINPR_API void winpr_log_backtrace_ex(wLog* log, DWORD level, DWORD size);
35  WINPR_API void* winpr_backtrace(DWORD size);
36  WINPR_API void winpr_backtrace_free(void* buffer);
37  WINPR_API char** winpr_backtrace_symbols(void* buffer, size_t* used);
38  WINPR_API void winpr_backtrace_symbols_fd(void* buffer, int fd);
39  WINPR_API char* winpr_strerror(INT32 dw, char* dmsg, size_t size);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* WINPR_WLOG_H */