FreeRDP
libwinpr/utils/unwind/debug.h
1 
21 #ifndef WINPR_DEBUG_UNWIND_H
22 #define WINPR_DEBUG_UNWIND_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  void winpr_unwind_backtrace_free(void* buffer);
34 
35  WINPR_ATTR_MALLOC(winpr_unwind_backtrace_free, 1)
36  void* winpr_unwind_backtrace(DWORD size);
37 
38  WINPR_ATTR_MALLOC(free, 1)
39  char** winpr_unwind_backtrace_symbols(void* buffer, size_t* used);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* WINPR_DEBUG_UNWIND_H */