summaryrefslogtreecommitdiff
path: root/source3/locking/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-02 11:37:57 +0000
committerMichael Adam <obnox@samba.org>2013-10-15 23:46:11 +0200
commitc938a1065fed2a001da69b6a6d826ef31be75003 (patch)
tree2c4d7ee16998fa96b61630b7731cdd3ad41dacc1 /source3/locking/proto.h
parent4d85f91a5b309fac76ed8b0ed2a18132c18b2659 (diff)
downloadsamba-c938a1065fed2a001da69b6a6d826ef31be75003.tar.gz
samba-c938a1065fed2a001da69b6a6d826ef31be75003.tar.bz2
samba-c938a1065fed2a001da69b6a6d826ef31be75003.zip
smbd: Factor out remove_stale_share_mode_entries
Will be used in the next commit Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r--source3/locking/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index f6ae462bac..2c9654ce28 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -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);