s4-torture: move torture_wait_for_oplock_break() to central oplock handler.
[pshilovsky/samba-autobuild/.git] / source4 / torture / smb2 / oplock_break_handler.h
index 78bba103fb2173680edc3a594c3011a7ad0ed978..6b1eeb14b639979f3de306f3947ac87301854960 100644 (file)
@@ -40,6 +40,7 @@ bool torture_oplock_ack_handler(struct smb2_transport *transport,
                                const struct smb2_handle *handle,
                                uint8_t level,
                                void *private_data);
+void torture_wait_for_oplock_break(struct torture_context *tctx);
 
 static inline void torture_reset_break_info(struct torture_context *tctx,
                              struct break_info *r)