Merge commit 'ba01fa44feb6deb0f0359f381eafe866991c06c1' into pablo/namespace
[osmocom-bb.git] / src / shared / libosmocore / include / osmocom / core / panic.h
1 #ifndef OSMOCORE_PANIC_H
2 #define OSMOCORE_PANIC_H
3
4 #include <stdarg.h>
5
6 typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
7
8 extern void osmo_panic(const char *fmt, ...);
9 extern void osmo_set_panic_handler(osmo_panic_handler_t h);
10
11 #endif