smbd: Factor out "has_other_nonposix_opens"
[nivanova/samba-autobuild/.git] / source3 / smbd / proto.h
index 2a41d9d251ddc78e3af59357baa3f4a7f69a6438..5399c5ab483023a77cd55e212c167badfa20b92b 100644 (file)
@@ -146,6 +146,9 @@ NTSTATUS delete_all_streams(connection_struct *conn,
 bool recursive_rmdir(TALLOC_CTX *ctx,
                     connection_struct *conn,
                     struct smb_filename *smb_dname);
+bool has_other_nonposix_opens(struct share_mode_lock *lck,
+                             struct files_struct *fsp,
+                             struct server_id self);
 
 /* The following definitions come from smbd/conn.c  */