libosmocore
0.9.6.241-b6c8
Osmocom core library
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
panic.h
Go to the documentation of this file.
1
#pragma once
2
9
#include <stdarg.h>
10
12
typedef
void (*
osmo_panic_handler_t
)(
const
char
*fmt, va_list args);
13
14
extern
void
osmo_panic
(
const
char
*fmt, ...);
15
extern
void
osmo_set_panic_handler
(
osmo_panic_handler_t
h);
16
osmo_panic_handler_t
void(* osmo_panic_handler_t)(const char *fmt, va_list args)
panic handler callback function type
Definition:
panic.h:12
osmo_panic
void osmo_panic(const char *fmt,...)
Terminate the current program with a panic.
Definition:
panic.c:75
osmo_set_panic_handler
void osmo_set_panic_handler(osmo_panic_handler_t h)
Set the panic handler.
Definition:
panic.c:96
include
osmocom
core
panic.h
Generated on Fri Jun 23 2017 03:45:08 for libosmocore by
1.8.8