libosmocore
UNKNOWN
Osmocom core library
Toggle main menu visibility
Loading...
Searching...
No Matches
panic.h
Go to the documentation of this file.
1
#pragma once
2
6
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, ...)
__attribute__
((noreturn));
13
extern
void
osmo_set_panic_handler
(
osmo_panic_handler_t
h
);
14
__attribute__
enum gsm0808_assignment_requirement __attribute__
Definition
log2.h:61
osmo_panic_handler_t
void(* osmo_panic_handler_t)(const char *fmt, va_list args)
panic handler callback function type
Definition
panic.h:10
osmo_set_panic_handler
void osmo_set_panic_handler(osmo_panic_handler_t h)
Set the panic handler.
Definition
panic.c:98
osmo_panic
void osmo_panic(const char *fmt,...) __attribute__((noreturn))
Terminate the current program with a panic.
Definition
panic.c:71
h
struct gad_raw_head h
include
osmocom
core
panic.h
Generated by
1.17.0