chiark / gitweb /
shared: add formats-util.h
[elogind.git] / src / shared / audit.h
index f2740bc42ca2a1d5604e150f052dab847e803dff..3df9cc6273380b297ff48dddd717d2de6e87ad1d 100644 (file)
@@ -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.
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include "capability.h"
+#include <stdint.h>
+#include <stdbool.h>
+#include <sys/types.h>
 
 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);