include/error/style-plain.h
1
2
3 #ifndef ERR_STYLE_PLAIN_34234_H
4 #define ERR_STYLE_PLAIN_34234_H
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 #define ERR_STYLE_PLAIN_COLON ERR_STYLE_COLON
11 #define ERR_STYLE_PLAIN_QUOTES ERR_STYLE_QUOTES
12
13 extern int err_style_plain_redirect;
14
15 extern err_style_t const err_style_plain_s;
16 #define err_style_plain (&err_style_plain_s)
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 extern err_markup_t *err_markup_plain;
42
43 extern char const *err_markup_plain_color (err_markup_t *, int, int, ERR_BOOL);
44
45 extern void err_markup_plain_begin_part (
46 err_markup_t *,
47 err_formatted_stream_t *,
48 err_v_char_t *,
49 int,
50 int);
51
52
53
54
55 extern int err_style_plain_line_break;
56 extern ERR_BOOL err_style_plain_show_pid;
57 extern ERR_BOOL err_style_plain_show_hostname;
58
59 extern int err_style_plain_show_time;
60 extern ERR_BOOL err_style_plain_show_date;
61 extern int err_style_plain_color;
62 extern char const * err_style_plain_tab;
63
64 extern int err_style_plain_format_progname (
65 err_markup_t *,
66 err_formatted_stream_t *,
67 err_v_char_t *,
68 int , int ,
69 char const * , char const * , int );
70
71
72
73
74
75 extern int err_style_plain_format_tag (
76 err_markup_t *,
77 err_formatted_stream_t *,
78 err_v_char_t *, int , int , int );
79
80
81
82 extern int err_style_plain_format_address_range (
83 err_markup_t *,
84 err_formatted_stream_t *,
85 err_v_char_t *,
86 int , int ,
87 err_area_t const *);
88
89
90
91
92
93
94 extern int err_style_plain_format_time (
95 err_markup_t *,
96 err_formatted_stream_t *,
97 err_v_char_t *,
98 int , int ,
99 time_t );
100
101
102
103
104 extern void err_style_plain_append_cr_perhaps (
105 err_v_char_t *,
106 ERR_BOOL ,
107 int * ,
108 char const * );
109
110 extern err_v_char_t *err_style_plain_post_format (
111 err_formatted_stream_t *,
112 int , int , err_v_char_t const *);
113
114
115
116
117
118
119 extern void err_style_plain_format (
120 err_formatted_stream_t *,
121 err_v_char_t * ,
122 int , int , int ,
123 err_msg_info_t,
124 err_location_t const * ,
125 char const * , char const * , int ,
126 char const * );
127
128
129 extern void err_style_plain_format_marked_up (
130 err_markup_t * ,
131 err_formatted_stream_t *,
132 err_v_char_t * ,
133 int , int , int ,
134 err_msg_info_t,
135 err_location_t const * ,
136 char const * , char const * , int ,
137 char const * );
138
139
140
141
142 extern int err_style_plain_format_area (
143 err_markup_t *,
144 err_formatted_stream_t *,
145 err_v_char_t *,
146 int , int ,
147 err_area_t const *);
148
149
150
151
152
153
154
155
156
157
158 #ifdef __cplusplus
159 }
160 #endif
161
162 #endif