s3-buildoptions Show compiled-in location of the new ncaclrpc and nmbd sockets
[Samba.git] / source3 / modules / vfs_tru64acl.h
blobaf79e2f9b651dbab5c3c9f38fbcb967864832b53
1 /*
2 Unix SMB/Netbios implementation.
3 VFS module to get and set Tru64 acls - prototype header
4 Copyright (C) Michael Adam 2008
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __VFS_TRU64ACL_H__
21 #define __VFS_TRU64ACL_H__
23 SMB_ACL_T tru64acl_sys_acl_get_file(vfs_handle_struct *handle,
24 const char *path_p,
25 SMB_ACL_TYPE_T type);
27 SMB_ACL_T tru64acl_sys_acl_get_fd(vfs_handle_struct *handle,
28 files_struct *fsp);
30 int tru64acl_sys_acl_set_file(vfs_handle_struct *handle,
31 const char *name,
32 SMB_ACL_TYPE_T type,
33 SMB_ACL_T theacl);
35 int tru64acl_sys_acl_set_fd(vfs_handle_struct *handle,
36 files_struct *fsp,
37 SMB_ACL_T theacl);
39 int tru64acl_sys_acl_delete_def_file(vfs_handle_struct *handle,
40 const char *path);
42 NTSTATUS vfs_tru64acl_init(void);
44 #endif