libosmocore/include/osmocom/core/panic.h

18 lines
322 B
C
Raw Normal View History

#pragma once
2011-08-17 14:09:19 +00:00
/*! \addtogroup utils
* @{
*/
/*! \file panic.h */
#include <stdarg.h>
/*! panic handler callback function type */
typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
extern void osmo_panic(const char *fmt, ...);
extern void osmo_set_panic_handler(osmo_panic_handler_t h);
2011-08-17 14:09:19 +00:00
/*! @} */