Debian Codegraph @

src/shared/libaudit-util.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include "shared-forward.h"
5
6 int dlopen_libaudit(int log_level);
7
8 #if HAVE_AUDIT
9 # include <libaudit.h> /* IWYU pragma: export */
10
11 # include "dlfcn-util.h"
12
13 extern DLSYM_PROTOTYPE(audit_log_acct_message);
14 extern DLSYM_PROTOTYPE(audit_log_user_avc_message);
15 extern DLSYM_PROTOTYPE(audit_log_user_comm_message);
16 #endif
17
18 bool use_audit(void);
19
20 int close_audit_fd(int fd);
21 int open_audit_fd_or_warn(void);