diff options
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r-- | source3/locking/proto.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 22b79669ff0..c021d978d44 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -173,9 +173,13 @@ void get_file_infos(struct file_id id, struct timespec *write_time); 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, struct files_struct *fsp, - uid_t uid, uint64_t mid, uint16_t op_type, - uint32_t lease_idx); +bool set_share_mode(struct share_mode_lock *lck, + struct files_struct *fsp, + uid_t uid, + uint64_t mid, + uint16_t op_type, + const struct GUID *client_guid, + const struct smb2_lease_key *lease_key); struct share_mode_entry *find_share_mode_entry(struct share_mode_lock *lck, files_struct *fsp); void remove_stale_share_mode_entries(struct share_mode_data *d); |