]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/journal-util.h
resolved: rework parsing of /etc/hosts
[thirdparty/systemd.git] / src / shared / journal-util.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
f18edd8a 2#pragma once
4f37cbd9
ZJS
3
4#include <stdbool.h>
53978b98 5#include <sys/types.h>
4f37cbd9
ZJS
6
7#include "sd-journal.h"
8
53978b98
LP
9bool journal_field_valid(const char *p, size_t l, bool allow_protected);
10
e79d0b59 11int journal_access_check_and_warn(sd_journal *j, bool quiet, bool want_other_users);