source: vendor/current/source3/modules/vfs_solarisacl.h

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 1.5 KB
Line 
1/*
2 Unix SMB/Netbios implementation.
3 VFS module to get and set Solaris ACLs - prototype header
4 Copyright (C) Michael Adam 2008
5
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.
10
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.
15
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/>.
18*/
19
20#ifndef __VFS_SOLARISACL_H__
21#define __VFS_SOLARISACL_H__
22
23SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
24 const char *path_p,
25 SMB_ACL_TYPE_T type,
26 TALLOC_CTX *mem_ctx);
27
28SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle,
29 files_struct *fsp,
30 TALLOC_CTX *mem_ctx);
31
32int solarisacl_sys_acl_set_file(vfs_handle_struct *handle,
33 const char *name,
34 SMB_ACL_TYPE_T type,
35 SMB_ACL_T theacl);
36
37int solarisacl_sys_acl_set_fd(vfs_handle_struct *handle,
38 files_struct *fsp,
39 SMB_ACL_T theacl);
40
41int solarisacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
42 const char *path);
43
44NTSTATUS vfs_solarisacl_init(void);
45
46#endif
47
Note: See TracBrowser for help on using the repository browser.