#include <babeltrace/babeltrace-internal.h>
+#define BT_COMMON_COLOR_RESET "\033[0m"
+#define BT_COMMON_COLOR_BOLD "\033[1m"
+#define BT_COMMON_COLOR_FG_DEFAULT "\033[39m"
+#define BT_COMMON_COLOR_FG_RED "\033[31m"
+#define BT_COMMON_COLOR_FG_GREEN "\033[32m"
+#define BT_COMMON_COLOR_FG_YELLOW "\033[33m"
+#define BT_COMMON_COLOR_FG_BLUE "\033[34m"
+#define BT_COMMON_COLOR_FG_MAGENTA "\033[35m"
+#define BT_COMMON_COLOR_FG_CYAN "\033[36m"
+#define BT_COMMON_COLOR_FG_LIGHT_GRAY "\033[37m"
+#define BT_COMMON_COLOR_BG_DEFAULT "\033[49m"
+#define BT_COMMON_COLOR_BG_RED "\033[41m"
+#define BT_COMMON_COLOR_BG_GREEN "\033[42m"
+#define BT_COMMON_COLOR_BG_YELLOW "\033[43m"
+#define BT_COMMON_COLOR_BG_BLUE "\033[44m"
+#define BT_COMMON_COLOR_BG_MAGENTA "\033[45m"
+#define BT_COMMON_COLOR_BG_CYAN "\033[46m"
+#define BT_COMMON_COLOR_BG_LIGHT_GRAY "\033[47m"
+
BT_HIDDEN
bool bt_common_is_setuid_setgid(void);
BT_HIDDEN
int bt_common_append_plugin_path_dirs(const char *paths, GPtrArray *dirs);
+BT_HIDDEN
+bool bt_common_colors_supported(void);
+
BT_HIDDEN
const char *bt_common_color_reset(void);