blob: 2bb4240b2971d39d8369563621c1e1f058e861c3 [file] [log] [blame]
Piotr Krysik9e2e8352018-02-27 12:16:25 +01001#pragma once
2
3/*! \addtogroup utils
4 * @{
5 * \file panic.h */
6
7#include <stdarg.h>
8
9/*! panic handler callback function type */
10typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
11
12extern void osmo_panic(const char *fmt, ...);
13extern void osmo_set_panic_handler(osmo_panic_handler_t h);
14
15/*! @} */