summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_aixacl_util.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-13 20:14:43 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-14 02:16:11 +0200
commitfe295358dfa495c8f4b564784d728b37882e877d (patch)
treeeb2f7115d3cff7ce82db3268f0fceeb5fd5224a6 /source3/modules/vfs_aixacl_util.h
parentf11a1a4a0796c8e77eee721f1ed1406b01e2b007 (diff)
downloadsamba-fe295358dfa495c8f4b564784d728b37882e877d.tar.gz
samba-fe295358dfa495c8f4b564784d728b37882e877d.tar.bz2
samba-fe295358dfa495c8f4b564784d728b37882e877d.zip
s3-vfs: Put vfs_aixacl_util.c helper functions into a header file
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 14 02:16:11 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/modules/vfs_aixacl_util.h')
-rw-r--r--source3/modules/vfs_aixacl_util.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/modules/vfs_aixacl_util.h b/source3/modules/vfs_aixacl_util.h
new file mode 100644
index 0000000000..2447252eba
--- /dev/null
+++ b/source3/modules/vfs_aixacl_util.h
@@ -0,0 +1,22 @@
+/*
+ Unix SMB/Netbios implementation.
+ VFS module to get and set posix acls
+ Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2006
+
+ 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
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
+struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
+