Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
crash_info.h
1 /* crash_info.h
2  * Routines to try to provide more useful information in crash dumps.
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 2006 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __CRASH_INFO_H__
12 #define __CRASH_INFO_H__
13 
14 #include "ws_symbol_export.h"
15 #include "ws_attributes.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 WS_DLL_PUBLIC void ws_vadd_crash_info(const char *fmt, va_list ap);
22 
23 WS_DLL_PUBLIC void ws_add_crash_info(const char *fmt, ...)
24  G_GNUC_PRINTF(1,2);
25 
26 #ifdef __cplusplus
27 }
28 #endif /* __cplusplus */
29 
30 #endif /* __CRASH_INFO_H__ */