mirror of https://gerrit.osmocom.org/libosmocore
16 lines
343 B
C
16 lines
343 B
C
#pragma once
|
|
|
|
/*! \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, ...) __attribute__ ((noreturn));
|
|
extern void osmo_set_panic_handler(osmo_panic_handler_t h);
|
|
|
|
/*! @} */
|