summaryrefslogtreecommitdiff
path: root/tools/eos-profile-tool/eos-profile-utils.h
blob: b6030c2494b38c606c1a380e5de6e6f7056bb365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <glib.h>

typedef enum {
  EOS_PRINT_COLOR_GREEN,
  EOS_PRINT_COLOR_BLUE,
  EOS_PRINT_COLOR_YELLOW,
  EOS_PRINT_COLOR_RED,

  EOS_PRINT_COLOR_NONE
} EosPrintColor;

void    eos_profile_util_print_message  (const char *prefix,
                                         EosPrintColor color,
                                         const char *fmt,
                                         ...) G_GNUC_PRINTF (3, 4);

void    eos_profile_util_print_error    (const char *msg,
                                         ...) G_GNUC_PRINTF (1, 2);

void    eos_profile_util_print_warning  (const char *msg,
                                         ...) G_GNUC_PRINTF (1, 2);