2014-06-16 08:13:40 +00:00
|
|
|
#pragma once
|
2010-07-25 16:08:54 +00:00
|
|
|
|
2011-08-17 14:09:19 +00:00
|
|
|
/*! \addtogroup utils
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*! \file panic.h */
|
|
|
|
|
2010-07-25 16:08:54 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2017-06-19 22:17:59 +00:00
|
|
|
/*! panic handler callback function type */
|
2010-07-25 16:08:54 +00:00
|
|
|
typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
|
|
|
|
|
2011-04-26 01:07:46 +00:00
|
|
|
extern void osmo_panic(const char *fmt, ...);
|
|
|
|
extern void osmo_set_panic_handler(osmo_panic_handler_t h);
|
2010-07-25 16:08:54 +00:00
|
|
|
|
2011-08-17 14:09:19 +00:00
|
|
|
/*! @} */
|