s4:kdc: Implement KDC plugin hardware authentication policy
[samba.git] / source3 / modules / vfs_posixacl.h
index b0fe841e1ba63d41ce732090e192bedefed82111..91166ed6452eabaf785a0b90e0350b8c6c44b0be 100644 (file)
 #ifndef __VFS_POSIXACL_H__
 #define __VFS_POSIXACL_H__
 
-SMB_ACL_T posixacl_sys_acl_get_file(vfs_handle_struct *handle,
-                                   const char *path_p,
-                                   SMB_ACL_TYPE_T type,
-                                   TALLOC_CTX *mem_ctx);
-
 SMB_ACL_T posixacl_sys_acl_get_fd(vfs_handle_struct *handle,
                                  files_struct *fsp,
+                                 SMB_ACL_TYPE_T type,
                                  TALLOC_CTX *mem_ctx);
 
-int posixacl_sys_acl_set_file(vfs_handle_struct *handle,
-                             const char *name,
-                             SMB_ACL_TYPE_T type,
-                             SMB_ACL_T theacl);
-
 int posixacl_sys_acl_set_fd(vfs_handle_struct *handle,
                            files_struct *fsp,
+                           SMB_ACL_TYPE_T type,
                            SMB_ACL_T theacl);
 
-int posixacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
-                                    const char *path);
-
-NTSTATUS vfs_posixacl_init(void);
+int posixacl_sys_acl_delete_def_fd(vfs_handle_struct *handle,
+                               files_struct *fsp);
 
 #endif