smbd: Add share_mode_forall_entries()
[samba.git] / source3 / locking / proto.h
index f60655eb590878918b98e62bb114ea207f4a4800..ae8768e68e91be96c9b6cd7db2a93bb2ca45e933 100644 (file)
@@ -223,6 +223,13 @@ bool share_mode_forall_leases(
                   void *private_data),
        void *private_data);
 
+bool share_mode_forall_entries(
+       struct share_mode_lock *lck,
+       bool (*fn)(struct share_mode_entry *e,
+                  bool *modified,
+                  void *private_data),
+       void *private_data);
+
 
 /* The following definitions come from locking/posix.c  */