X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Facl-util.h;h=36ef490d7eb92fe567d2fcb44f1ef10c434ea1b7;hp=9f11636aa105b38e5780d1a77ce034b798624a10;hb=aa62a8936f5983770e90b791083d55107659f7a1;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h index 9f11636aa..36ef490d7 100644 --- a/src/shared/acl-util.h +++ b/src/shared/acl-util.h @@ -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 . ***/ -int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry); +#include -#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);