chiark / gitweb /
systemctl: suppress duplicate newline if there's not log output in "systemctl status"
[elogind.git] / src / shared / acl-util.h
index 9f11636aa105b38e5780d1a77ce034b798624a10..36ef490d7eb92fe567d2fcb44f1ef10c434ea1b7 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef fooaclutilhfoo
-#define fooaclutilhfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -22,6 +21,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry);
+#include <stdbool.h>
 
-#endif
+int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry);
+int calc_acl_mask_if_needed(acl_t *acl_p);
+int search_acl_groups(char*** dst, const char* path, bool* belong);