]> arthur.barton.de Git - netatalk.git/blob - include/atalk/acl.h
Merge branch-2-1
[netatalk.git] / include / atalk / acl.h
1 /*
2    Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
3
4    This program is free software; you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation; either version 2 of the License, or
7    (at your option) any later version.
8  
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13 */
14
15 #ifndef ATALK_ACL_H
16 #define ATALK_ACL_H
17
18 #ifdef HAVE_CONFIG_H
19 #include "config.h"
20 #endif /* HAVE_CONFIG_H */
21
22 #ifdef HAVE_SOLARIS_ACLS
23 #include <sys/acl.h>
24 #endif  /* HAVE_SOLARIS_ACLS */
25
26 #ifdef HAVE_SOLARIS_ACLS
27 extern int get_nfsv4_acl(const char *name, ace_t **retAces);
28 #endif /* HAVE_SOLARIS_ACLS */
29
30 extern int remove_acl_vfs(const char *name);
31
32 #endif  /* ATALK_ACL_H */