summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-03 20:16:09 +0100
committerVolker Lendecke <vl@samba.org>2008-11-04 20:52:06 +0100
commite4897a5376309bd73727f4130bf9bc6170158a6f (patch)
tree89f9d751f2c4c2124759fc57c450eb987a0da5ad /source3/smbd/process.c
parentd62ff20cd5cc64a524d401ffba1fe6b3e7e8cc31 (diff)
downloadsamba-e4897a5376309bd73727f4130bf9bc6170158a6f.tar.gz
samba-e4897a5376309bd73727f4130bf9bc6170158a6f.tar.bz2
samba-e4897a5376309bd73727f4130bf9bc6170158a6f.zip
Add construct_reply_common_req wrapper
The goal is to remove the remaining direct calls to construct_reply_common.
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index bd0acbc3c6..1dcfb4b122 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1608,6 +1608,11 @@ void construct_reply_common(const char *inbuf, char *outbuf)
SSVAL(outbuf,smb_mid,SVAL(inbuf,smb_mid));
}
+void construct_reply_common_req(struct smb_request *req, char *outbuf)
+{
+ return construct_reply_common((char *)req->inbuf, outbuf);
+}
+
/****************************************************************************
Construct a chained reply and add it to the already made reply
****************************************************************************/