diff options
author | Jeremy Allison <jra@samba.org> | 2010-04-23 13:10:15 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-04-23 13:10:15 -0700 |
commit | 2bbb8c917e372ceeb1e144259d9d2b0eab7cc212 (patch) | |
tree | f9cbf789caf28cf2cbd3506e82b575f9ac4af2d8 /source3/include | |
parent | dd2025947136f28b22b70de59309e149a1f45f3d (diff) | |
download | samba-2bbb8c917e372ceeb1e144259d9d2b0eab7cc212.tar.gz samba-2bbb8c917e372ceeb1e144259d9d2b0eab7cc212.tar.bz2 samba-2bbb8c917e372ceeb1e144259d9d2b0eab7cc212.zip |
Allow smb2 create requests to be cancelled.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 073a0dc989..d4e7f39026 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6658,6 +6658,7 @@ bool map_open_params_to_ntcreate(const struct smb_filename *smb_fname, uint32 *pcreate_disposition, uint32 *pcreate_options, uint32_t *pprivate_flags); +void remove_deferred_open_entry(struct file_id id, uint64_t mid); NTSTATUS open_file_fchmod(struct smb_request *req, connection_struct *conn, struct smb_filename *smb_fname, files_struct **result); @@ -6819,9 +6820,11 @@ bool get_deferred_open_message_state(struct smb_request *smbreq, struct timeval *p_request_time, void **pp_state); bool push_deferred_open_message_smb(struct smb_request *req, - struct timeval request_time, - struct timeval timeout, - char *private_data, size_t priv_len); + struct timeval request_time, + struct timeval timeout, + struct file_id id, + char *private_data, + size_t priv_len); struct idle_event *event_add_idle(struct event_context *event_ctx, TALLOC_CTX *mem_ctx, struct timeval interval, |