2021-11-26 03:31:05 +00:00
|
|
|
/** @file
|
2013-01-15 21:54:41 +00:00
|
|
|
* Routines to try to provide more useful information in crash dumps.
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 2006 Gerald Combs
|
|
|
|
*
|
2018-02-07 11:26:45 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2013-01-15 21:54:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CRASH_INFO_H__
|
|
|
|
#define __CRASH_INFO_H__
|
|
|
|
|
2021-12-19 19:09:05 +00:00
|
|
|
#include <wireshark.h>
|
2013-02-28 14:09:46 +00:00
|
|
|
|
2013-01-15 21:54:41 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-03-25 22:09:56 +00:00
|
|
|
WS_DLL_PUBLIC void ws_vadd_crash_info(const char *fmt, va_list ap);
|
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC void ws_add_crash_info(const char *fmt, ...)
|
2013-01-15 21:54:41 +00:00
|
|
|
G_GNUC_PRINTF(1,2);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* __CRASH_INFO_H__ */
|