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