diff options
Diffstat (limited to 'lib/acl.h')
-rw-r--r-- | lib/acl.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,6 +1,6 @@ /* acl.c - access control lists - Copyright (C) 2002, 2008-2012 Free Software Foundation, Inc. + Copyright (C) 2002, 2008-2016 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,12 +17,19 @@ Written by Paul Eggert. */ +#ifndef _GL_ACL_H +#define _GL_ACL_H 1 + +#include <stdbool.h> #include <sys/types.h> #include <sys/stat.h> +bool acl_errno_valid (int) _GL_ATTRIBUTE_CONST; int file_has_acl (char const *, struct stat const *); int qset_acl (char const *, int, mode_t); int set_acl (char const *, int, mode_t); int qcopy_acl (char const *, int, char const *, int, mode_t); int copy_acl (char const *, int, char const *, int, mode_t); int chmod_or_fchmod (char const *, int, mode_t); + +#endif |