]>
Commit | Line | Data |
---|---|---|
1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ | |
2 | #pragma once | |
3 | ||
4 | #include "forward.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 | bool log_facility_unshifted_is_valid(int faciliy); | |
9 | ||
10 | int log_level_to_string_alloc(int i, char **s); | |
11 | int log_level_from_string(const char *s); | |
12 | bool log_level_is_valid(int level); | |
13 | ||
14 | int syslog_parse_priority(const char **p, int *priority, bool with_facility); | |
15 | ||
16 | bool log_namespace_name_valid(const char *s); |