diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-13 20:14:43 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-14 02:16:11 +0200 |
commit | fe295358dfa495c8f4b564784d728b37882e877d (patch) | |
tree | eb2f7115d3cff7ce82db3268f0fceeb5fd5224a6 /source3/modules | |
parent | f11a1a4a0796c8e77eee721f1ed1406b01e2b007 (diff) | |
download | samba-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')
-rw-r--r-- | source3/modules/vfs_aixacl.c | 4 | ||||
-rw-r--r-- | source3/modules/vfs_aixacl_util.c | 1 | ||||
-rw-r--r-- | source3/modules/vfs_aixacl_util.h | 22 |
3 files changed, 24 insertions, 3 deletions
diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c index c4bb02eebf..9f66d2a70c 100644 --- a/source3/modules/vfs_aixacl.c +++ b/source3/modules/vfs_aixacl.c @@ -20,9 +20,7 @@ #include "includes.h" #include "system/filesys.h" #include "smbd/smbd.h" - -extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl); -extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl); +#include "vfs_aixacl_util.h" SMB_ACL_T aixacl_sys_acl_get_file(vfs_handle_struct *handle, const char *path_p, diff --git a/source3/modules/vfs_aixacl_util.c b/source3/modules/vfs_aixacl_util.c index d867f9d92f..b359c401ef 100644 --- a/source3/modules/vfs_aixacl_util.c +++ b/source3/modules/vfs_aixacl_util.c @@ -20,6 +20,7 @@ #include "includes.h" #include "system/filesys.h" #include "smbd/smbd.h" +#include "vfs_aixacl_util.h" SMB_ACL_T aixacl_to_smbacl(struct acl *file_acl) { 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); + |