Mercurial > hg > octave-nkf > gnulib-hg
comparison lib/acl-internal.h @ 10158:73042342e7f6
New function for testing triviality of ACL with POSIX-draft like API.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 04 Jun 2008 22:48:48 +0200 |
parents | cbc922dd9819 |
children | caed32fb1892 |
comparison
equal
deleted
inserted
replaced
10157:0c183af9efd5 | 10158:73042342e7f6 |
---|---|
143 # if !HAVE_ACL_ENTRIES | 143 # if !HAVE_ACL_ENTRIES |
144 # define acl_entries rpl_acl_entries | 144 # define acl_entries rpl_acl_entries |
145 extern int acl_entries (acl_t); | 145 extern int acl_entries (acl_t); |
146 # endif | 146 # endif |
147 | 147 |
148 /* ACL is an ACL, from a file, stored as type ACL_TYPE_ACCESS. | |
149 Return 1 if the given ACL is non-trivial. | |
150 Return 0 if it is trivial, i.e. equivalent to a simple stat() mode. | |
151 Return -1 and set errno upon failure to determine it. */ | |
152 extern int acl_access_nontrivial (acl_t); | |
153 | |
148 # endif | 154 # endif |
149 | 155 |
150 #endif | 156 #endif |