smbd: Factor out remove_stale_share_mode_entries
[mat/samba.git] / source3 / locking / proto.h
index f6ae462bac608e70179aaf40afdf84ff26f4b2f6..2c9654ce28b8a8528c818aa4b7a88b6721bfb1e1 100644 (file)
@@ -176,6 +176,7 @@ bool is_valid_share_mode_entry(const struct share_mode_entry *e);
 bool share_mode_stale_pid(struct share_mode_data *d, uint32_t idx);
 bool set_share_mode(struct share_mode_lock *lck, files_struct *fsp,
                    uid_t uid, uint64_t mid, uint16 op_type);
+void remove_stale_share_mode_entries(struct share_mode_data *d);
 bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp);
 bool mark_share_mode_disconnected(struct share_mode_lock *lck,
                                  struct files_struct *fsp);