]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/syslog-util.h
tree-wide: drop 'This file is part of systemd' blurb
[thirdparty/systemd.git] / src / basic / syslog-util.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
7ccbd1ae
LP
2#pragma once
3
4/***
7ccbd1ae 5 Copyright 2010 Lennart Poettering
7ccbd1ae
LP
6***/
7
8#include <stdbool.h>
9
10int log_facility_unshifted_to_string_alloc(int i, char **s);
11int log_facility_unshifted_from_string(const char *s);
12bool log_facility_unshifted_is_valid(int faciliy);
13
14int log_level_to_string_alloc(int i, char **s);
15int log_level_from_string(const char *s);
16bool log_level_is_valid(int level);
17
18int syslog_parse_priority(const char **p, int *priority, bool with_facility);