summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-14 09:52:47 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-15 17:14:13 +0100
commit2802be75e38d5ae64ad5ec36e46d0799c77eec30 (patch)
treecf8bd9b2d8a89960b2aacf2f07824042d79328a9 /source3/smbd/proto.h
parent0cd67698ca69d82936da29658103ce449d797c25 (diff)
downloadsamba-2802be75e38d5ae64ad5ec36e46d0799c77eec30.tar.gz
samba-2802be75e38d5ae64ad5ec36e46d0799c77eec30.tar.bz2
samba-2802be75e38d5ae64ad5ec36e46d0799c77eec30.zip
s3:smbd/aio: add cancel_smb2_aio()
metze
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 0a68a6c318..fe9076647e 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -86,6 +86,7 @@ NTSTATUS schedule_aio_smb2_write(connection_struct *conn,
uint64_t in_offset,
DATA_BLOB in_data,
bool write_through);
+bool cancel_smb2_aio(struct smb_request *smbreq);
int wait_for_aio_completion(files_struct *fsp);
void cancel_aio_by_fsp(files_struct *fsp);
void smbd_aio_complete_aio_ex(struct aio_extra *aio_ex);