cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

debug.h (1409B)


      1/**
      2 * WinPR: Windows Portable Runtime
      3 * WinPR Debugging helpers
      4 *
      5 * Copyright 2014 Armin Novak <armin.novak@thincast.com>
      6 * Copyright 2014 Thincast Technologies GmbH
      7 *
      8 * Licensed under the Apache License, Version 2.0 (the "License");
      9 * you may not use this file except in compliance with the License.
     10 * You may obtain a copy of the License at
     11 *
     12 *     http://www.apache.org/licenses/LICENSE-2.0
     13 *
     14 * Unless required by applicable law or agreed to in writing, software
     15 * distributed under the License is distributed on an "AS IS" BASIS,
     16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     17 * See the License for the specific language governing permissions and
     18 * limitations under the License.
     19 */
     20
     21#ifndef WINPR_DEBUG_H
     22#define WINPR_DEBUG_H
     23
     24#ifdef __cplusplus
     25extern "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(DWORD dw, char* dmsg, size_t size);
     40
     41#ifdef __cplusplus
     42}
     43#endif
     44
     45#endif /* WINPR_WLOG_H */