Move to kernel style SPDX license identifiers
[babeltrace.git] / src / string-format / format-error.h
CommitLineData
96c1b5fe 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
96c1b5fe 3 *
0235b0db 4 * Copyright (C) 2019 EfficiOS, Inc.
96c1b5fe
SM
5 */
6
0235b0db
MJ
7#ifndef _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
8#define _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
9
96c1b5fe
SM
10#include <babeltrace2/babeltrace.h>
11#include <common/common.h>
12#include <common/macros.h>
13#include <glib.h>
14
30b828d2
SM
15BT_HIDDEN
16gchar *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
96c1b5fe
SM
22BT_HIDDEN
23gchar *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.026452 seconds and 4 git commands to generate.