Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).
[ddiss/samba.git] / source3 / smbd / proto.h
index 0b7c28fb9112b538594eff18154d9cda677f17cf..0a68a6c3183bb7f0207216b89a19417ffc9a60ea 100644 (file)
@@ -303,14 +303,8 @@ void reply_openerror(struct smb_request *req, NTSTATUS status);
 
 /* The following definitions come from smbd/file_access.c  */
 
-bool can_access_file_acl(struct connection_struct *conn,
-                        const struct smb_filename *smb_fname,
-                        uint32_t access_mask);
 bool can_delete_file_in_directory(connection_struct *conn,
                                  const struct smb_filename *smb_fname);
-bool can_access_file_data(connection_struct *conn,
-                         const struct smb_filename *smb_fname,
-                         uint32 access_mask);
 bool can_write_to_file(connection_struct *conn,
                       const struct smb_filename *smb_fname);
 bool directory_has_default_acl(connection_struct *conn, const char *fname);