summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/request.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-18 09:25:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:25 -0500
commitc8c7fb2492d3f19939df67f98e4ea6ad423274da (patch)
treeb67057f342a564245eddc57270e21780125bbb98 /source4/libcli/smb2/request.c
parent799724aae7f431ef721b15745a89f01b12b10d9c (diff)
downloadsamba-c8c7fb2492d3f19939df67f98e4ea6ad423274da.tar.gz
samba-c8c7fb2492d3f19939df67f98e4ea6ad423274da.tar.bz2
samba-c8c7fb2492d3f19939df67f98e4ea6ad423274da.zip
r11775: added support for creating files on SMB2 with initial EA lists and an ACL
(This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
Diffstat (limited to 'source4/libcli/smb2/request.c')
-rw-r--r--source4/libcli/smb2/request.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c
index 41e2ad74e2..3f09c9aeec 100644
--- a/source4/libcli/smb2/request.c
+++ b/source4/libcli/smb2/request.c
@@ -160,6 +160,12 @@ BOOL smb2_request_is_error(struct smb2_request *req)
return NT_STATUS_IS_ERR(req->status);
}
+/* Return true if the last packet was OK */
+BOOL smb2_request_is_ok(struct smb2_request *req)
+{
+ return NT_STATUS_IS_OK(req->status);
+}
+
/*
check if a range in the reply body is out of bounds
*/