/usr/include/zorp/memtrace.h is in libzorpll-6.0-10-dev 6.0.10.0-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 | /***************************************************************************
*
* 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.
*
***************************************************************************/
#ifndef ZORP_MEMTRACE_H_INCLUDED
#define ZORP_MEMTRACE_H_INCLUDED
#include <glib.h>
#ifdef __cplusplus
extern "C" {
#endif
void z_mem_trace_init(const gchar *memtrace_file_name);
void z_mem_trace_stats(void);
void z_mem_trace_dump(void);
#if ZORPLIB_ENABLE_MEM_TRACE
#include <stdlib.h>
void *z_malloc(size_t size, gpointer backtrace[]);
void z_free(void *ptr, gpointer backtrace[]);
void *z_realloc(void *ptr, size_t size, gpointer backtrace[]);
void *z_calloc(size_t nmemb, size_t size, gpointer backtrace[]);
#endif
#ifdef __cplusplus
}
#endif
#endif
|