X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Faudit.h;h=6de331c73e5f8b4d341a4680be9c8a35c3c31a42;hp=490a0b03208f34904d9c92b662b4f8a286a8aad4;hb=ebbac6d948b9d323b3d57bfd7c3513776e591dc1;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/src/shared/audit.h b/src/shared/audit.h index 490a0b032..6de331c73 100644 --- a/src/shared/audit.h +++ b/src/shared/audit.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooaudithfoo -#define fooaudithfoo +#pragma once /*** This file is part of systemd. @@ -22,11 +21,13 @@ along with systemd; If not, see . ***/ +#include +#include #include -#include "capability.h" +#define AUDIT_SESSION_INVALID ((uint32_t) -1) int audit_session_from_pid(pid_t pid, uint32_t *id); int audit_loginuid_from_pid(pid_t pid, uid_t *uid); -#endif +bool use_audit(void);