1 /* SPDX-License-Identifier: LGPL-2.1+ */
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);
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);
17 int syslog_parse_priority(const char **p, int *priority, bool with_facility);