]> arthur.barton.de Git - netatalk.git/blob - include/atalk/acl.h
* FIX: dbd: Adding a file with the CNID from it's adouble file did
[netatalk.git] / include / atalk / acl.h
1 /*
2    $Id: acl.h,v 1.1 2009-10-14 15:04:01 franklahm Exp $
3    Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
4
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.
9  
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.
14 */
15
16 #ifndef ATALK_ACL_H
17 #define ATALK_ACL_H
18
19 #ifdef HAVE_CONFIG_H
20 #include "config.h"
21 #endif /* HAVE_CONFIG_H */
22
23 #ifdef HAVE_NFSv4_ACLS
24 #include <sys/acl.h>
25 #endif  /* HAVE_NFSv4_ACLS */
26
27 /* Solaris NFSv4 ACL stuff */
28 #ifdef HAVE_NFSv4_ACLS
29 extern int get_nfsv4_acl(const char *name, ace_t **retAces);
30 extern int remove_acl(const char *name);
31 #endif /* HAVE_NFSv4_ACLS */
32
33
34 #endif  /* ATALK_ACL_H */