chiark / gitweb /
tree-wide: remove Lennart's copyright lines
[elogind.git] / src / basic / syslog-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include <stdbool.h>
5
6 int log_facility_unshifted_to_string_alloc(int i, char **s);
7 int log_facility_unshifted_from_string(const char *s);
8 #if 0 /// UNNEEDED by elogind
9 bool log_facility_unshifted_is_valid(int faciliy);
10 #endif // 0
11
12 int log_level_to_string_alloc(int i, char **s);
13 int log_level_from_string(const char *s);
14 #if 0 /// UNNEEDED by elogind
15 bool log_level_is_valid(int level);
16
17 int syslog_parse_priority(const char **p, int *priority, bool with_facility);
18 #endif // 0