/usr/include/zorp/stackdump.h is in libzorpll-dev 3.9.1.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | /***************************************************************************
*
* This file is covered by a dual licence. You can choose whether you
* want to use it according to the terms of the GNU GPL version 2, or
* under the terms of Zorp Professional Firewall System EULA located
* on the Zorp installation CD.
*
* $Id: zorplib.h,v 1.10 2003/04/08 13:32:29 sasa Exp $
*
***************************************************************************/
#ifndef ZORP_STACKDUMP_H_INCLUDED
#define ZORP_STACKDUMP_H_INCLUDED
#include <zorp/zorplib.h>
#ifdef __cplusplus
extern "C" {
#endif
#if ZORPLIB_ENABLE_STACKDUMP
typedef struct sigcontext ZSignalContext;
#else
typedef void ZSignalContext;
#endif
/**
* Return the current signal context used for stack dumping.
* The variable passed as parameter must be declared in a signal handler.
**/
#define z_stackdump_get_context(p) \
(ZSignalContext *) (((char *) &p) + 16)
void z_stackdump_log(ZSignalContext *context);
#ifdef G_OS_WIN32
void z_enable_write_dump_file();
#ifndef _SYSCRT
int z_set_unhandled_exception_filter(void);
#else
void z_set_unhandled_exception_filter(void);
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif
|