X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Facl-util.h;h=a753ad14fdc24ad939c6f2b47493d1025abbaad5;hb=978553ce5e85a57a203be8256e59f304c8c46f3d;hp=31fbbcd51065eae97a069e9cfc2bbac434eedab0;hpb=f274ece0f76b5709408821e317e87aef76123db6;p=elogind.git
diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h
index 31fbbcd51..a753ad14f 100644
--- a/src/shared/acl-util.h
+++ b/src/shared/acl-util.h
@@ -21,4 +21,16 @@
along with systemd; If not, see .
***/
+#include
+
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);
+
+static inline void acl_freep(acl_t *acl) {
+
+ if (!*acl)
+ return;
+
+ acl_free(*acl);
+}