From b754e71ca502a5027ea3479eb3ea1a0ac28e5282 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jan 2024 00:59:12 +0100 Subject: Initial commit --- inc/log.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 inc/log.h (limited to 'inc/log.h') diff --git a/inc/log.h b/inc/log.h new file mode 100644 index 0000000..fcae172 --- /dev/null +++ b/inc/log.h @@ -0,0 +1,11 @@ +// Copyright (c) 2024, Marvin Borner +// SPDX-License-Identifier: MIT + +#ifndef BLOCADE_LOG_H +#define BLOCADE_LOG_H + +void debug(const char *format, ...); +void debug_enable(int enable); +void fatal(const char *format, ...) __attribute__((noreturn)); + +#endif -- cgit v1.2.3