libosmocore  0.10.2
Osmocom core library
panic.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include <stdarg.h>
8 
10 typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
11 
12 extern void osmo_panic(const char *fmt, ...);
14 
void osmo_panic(const char *fmt,...)
Terminate the current program with a panic.
Definition: panic.c:72
void(* osmo_panic_handler_t)(const char *fmt, va_list args)
panic handler callback function type
Definition: panic.h:10
void osmo_set_panic_handler(osmo_panic_handler_t h)
Set the panic handler.
Definition: panic.c:93