summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/panic.h')
-rw-r--r--include/osmocom/core/panic.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/osmocom/core/panic.h b/include/osmocom/core/panic.h
index c28a8440..fd5cf208 100644
--- a/include/osmocom/core/panic.h
+++ b/include/osmocom/core/panic.h
@@ -1,11 +1,20 @@
#ifndef OSMOCORE_PANIC_H
#define OSMOCORE_PANIC_H
+/*! \addtogroup utils
+ * @{
+ */
+
+/*! \file panic.h */
+
#include <stdarg.h>
+/*! \brief panic handler callback function type */
typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
extern void osmo_panic(const char *fmt, ...);
extern void osmo_set_panic_handler(osmo_panic_handler_t h);
-#endif
+/*! @} */
+
+#endif /* OSMOCORE_PANIC_H */