]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/syslog-util.h
Turn VALGRIND variable into a meson configuration switch
[thirdparty/systemd.git] / src / basic / syslog-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 This file is part of systemd.
6
7 Copyright 2010 Lennart Poettering
8 ***/
9
10 #include <stdbool.h>
11
12 int log_facility_unshifted_to_string_alloc(int i, char **s);
13 int log_facility_unshifted_from_string(const char *s);
14 bool log_facility_unshifted_is_valid(int faciliy);
15
16 int log_level_to_string_alloc(int i, char **s);
17 int log_level_from_string(const char *s);
18 bool log_level_is_valid(int level);
19
20 int syslog_parse_priority(const char **p, int *priority, bool with_facility);