diff options
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 0b8ef5818c..bfed901bf4 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -264,7 +264,8 @@ NTSTATUS smbd_smb2_send_oplock_break(struct smbd_server_connection *sconn, uint64_t file_id_volatile, uint8_t oplock_level); -NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req); +NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req, + struct tevent_req *subreq); NTSTATUS smbd_smb2_request_check_session(struct smbd_smb2_request *req); NTSTATUS smbd_smb2_request_check_tcon(struct smbd_smb2_request *req); @@ -311,6 +312,12 @@ struct smbd_smb2_request { NTSTATUS next_status; + /* + * The sub request for async backend calls. + * This is used for SMB2 Cancel. + */ + struct tevent_req *subreq; + struct { /* the NBT header is not allocated */ uint8_t nbt_hdr[4]; |