libosmocore/include/osmocore/panic.h

12 lines
242 B
C

#ifndef OSMOCORE_PANIC_H
#define OSMOCORE_PANIC_H
#include <stdarg.h>
typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
void osmo_panic(const char *fmt, ...);
void osmo_set_panic_handler(osmo_panic_handler_t h);
#endif