2 $Id: acl.h,v 1.1 2009-10-14 15:04:01 franklahm Exp $
3 Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
21 #endif /* HAVE_CONFIG_H */
23 #ifdef HAVE_NFSv4_ACLS
25 #endif /* HAVE_NFSv4_ACLS */
27 /* Solaris NFSv4 ACL stuff */
28 #ifdef HAVE_NFSv4_ACLS
30 #define chmod nfsv4_chmod
32 extern int get_nfsv4_acl(const char *name, ace_t **retAces);
33 extern int remove_acl(const char *name);
34 extern int strip_trivial_aces(ace_t **saces, int sacecount);
35 extern int strip_nontrivial_aces(ace_t **saces, int sacecount);
36 extern ace_t *concat_aces(ace_t *aces1, int ace1count, ace_t *aces2, int ace2count);
37 extern int nfsv4_chmod(char *name, mode_t mode);
38 #endif /* HAVE_NFSv4_ACLS */
41 #endif /* ATALK_ACL_H */