1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include <stdbool.h>
5 #include <sys/types.h>
6 
7 #include "sd-journal.h"
8 
9 int journal_access_blocked(sd_journal *j);
10 int journal_access_check_and_warn(sd_journal *j, bool quiet, bool want_other_users);
11