1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2010 Lennart Poettering
12 int log_facility_unshifted_to_string_alloc(int i, char **s);
13 int log_facility_unshifted_from_string(const char *s);
14 #if 0 /// UNNEEDED by elogind
15 bool log_facility_unshifted_is_valid(int faciliy);
18 int log_level_to_string_alloc(int i, char **s);
19 int log_level_from_string(const char *s);
20 #if 0 /// UNNEEDED by elogind
21 bool log_level_is_valid(int level);
23 int syslog_parse_priority(const char **p, int *priority, bool with_facility);