summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-20 19:35:39 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-20 20:53:31 +0200
commiteac12355196cbf15d8bc51109a12c65efc34ffde (patch)
tree57e09ece28e940819526845754867d31cd31a560 /source3/smbd/globals.h
parentc4b41c56498bea40baf152e2ee23f9850710891d (diff)
downloadsamba-eac12355196cbf15d8bc51109a12c65efc34ffde.tar.gz
samba-eac12355196cbf15d8bc51109a12c65efc34ffde.tar.bz2
samba-eac12355196cbf15d8bc51109a12c65efc34ffde.zip
s3:smbd: add smbd_smb2_request_done_ex()
Some times we have to return a non-error response with status != NT_STATUS_OK. metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index c5dd97c7c8..93075ad901 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -214,6 +214,9 @@ NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
NTSTATUS status, DATA_BLOB *info);
NTSTATUS smbd_smb2_request_error(struct smbd_smb2_request *req,
NTSTATUS status);
+NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req,
+ NTSTATUS status,
+ DATA_BLOB body, DATA_BLOB *dyn);
NTSTATUS smbd_smb2_request_done(struct smbd_smb2_request *req,
DATA_BLOB body, DATA_BLOB *dyn);