summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-04-01 13:19:01 -0700
committerJeremy Allison <jra@samba.org>2013-04-19 14:11:11 -0700
commitfdcaf0fa360b9590114605d24af545b1d42b9fd5 (patch)
treef1a97a02f9e56e10fd6950f0eafa4676b0afaa4a /source3/smbd
parent4b91097002d73ae5dd2d4ac225f8e9eecca11e49 (diff)
downloadsamba-fdcaf0fa360b9590114605d24af545b1d42b9fd5.tar.gz
samba-fdcaf0fa360b9590114605d24af545b1d42b9fd5.tar.bz2
samba-fdcaf0fa360b9590114605d24af545b1d42b9fd5.zip
Add stub static function that will turn on/off receivefile code path.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan (metze) Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index e1671a7473..a983dcdfa5 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -2892,6 +2892,11 @@ static struct tevent_req *smbd_smb2_request_read_send(TALLOC_CTX *mem_ctx,
return req;
}
+static bool is_smb2_recvfile_write(struct smbd_smb2_request_read_state *state)
+{
+ return false;
+}
+
static int smbd_smb2_request_next_vector(struct tstream_context *stream,
void *private_data,
TALLOC_CTX *mem_ctx,