FreeRDP
|
#include <winpr/config.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <winpr/crt.h>
#include <winpr/string.h>
#include <winpr/wlog.h>
#include <winpr/debug.h>
Macros | |
#define | __STDC_WANT_LIB_EXT1__ 1 |
#define | MIN(a, b) (a) < (b) ? (a) : (b) |
#define | TAG "com.winpr.utils.debug" |
#define | LOGT(...) |
#define | LOGD(...) |
#define | LOGI(...) |
#define | LOGW(...) |
#define | LOGE(...) |
#define | LOGF(...) |
Functions | |
void | winpr_backtrace_free (void *buffer) |
void * | winpr_backtrace (DWORD size) |
char ** | winpr_backtrace_symbols (void *buffer, size_t *used) |
void | winpr_backtrace_symbols_fd (void *buffer, int fd) |
void | winpr_log_backtrace (const char *tag, DWORD level, DWORD size) |
void | winpr_log_backtrace_ex (wLog *log, DWORD level, DWORD size) |
char * | winpr_strerror (DWORD dw, char *dmsg, size_t size) |
Variables | |
static const char * | support_msg = "Invalid stacktrace buffer! check if platform is supported!" |
#define __STDC_WANT_LIB_EXT1__ 1 |
WinPR: Windows Portable Runtime Debugging Utils
Copyright 2014 Armin Novak armin Copyright 2014 Thincast Technologies GmbH .nov ak@th inca st.co m
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
#define LOGD | ( | ... | ) |
#define LOGE | ( | ... | ) |
#define LOGF | ( | ... | ) |
#define LOGI | ( | ... | ) |
#define LOGT | ( | ... | ) |
#define LOGW | ( | ... | ) |
#define MIN | ( | a, | |
b | |||
) | (a) < (b) ? (a) : (b) |
#define TAG "com.winpr.utils.debug" |
void* winpr_backtrace | ( | DWORD | size | ) |
void winpr_backtrace_free | ( | void * | buffer | ) |
char** winpr_backtrace_symbols | ( | void * | buffer, |
size_t * | used | ||
) |
void winpr_backtrace_symbols_fd | ( | void * | buffer, |
int | fd | ||
) |
void winpr_log_backtrace | ( | const char * | tag, |
DWORD | level, | ||
DWORD | size | ||
) |
WinPR: Windows Portable Runtime WinPR Debugging helpers
Copyright 2014 Armin Novak armin Copyright 2014 Thincast Technologies GmbH .nov ak@th inca st.co m
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
void winpr_log_backtrace_ex | ( | wLog * | log, |
DWORD | level, | ||
DWORD | size | ||
) |
char* winpr_strerror | ( | DWORD | dw, |
char * | dmsg, | ||
size_t | size | ||
) |