Move to kernel style SPDX license identifiers
[babeltrace.git] / src / string-format / format-error.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2019 EfficiOS, Inc.
5 */
6
7 #ifndef _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
8 #define _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
9
10 #include <babeltrace2/babeltrace.h>
11 #include <common/common.h>
12 #include <common/macros.h>
13 #include <glib.h>
14
15 BT_HIDDEN
16 gchar *format_bt_error_cause(
17 const bt_error_cause *error_cause,
18 unsigned int columns,
19 bt_logging_level log_level,
20 enum bt_common_color_when use_colors);
21
22 BT_HIDDEN
23 gchar *format_bt_error(
24 const bt_error *error,
25 unsigned int columns,
26 bt_logging_level log_level,
27 enum bt_common_color_when use_colors);
28
29 #endif /* _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H */
This page took 0.029833 seconds and 4 git commands to generate.