summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcom_socket_wrapper.h
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-11-13 21:21:53 -0500
committerKeith Burns <alagalah@gmail.com>2017-11-14 03:44:25 +0000
commit227867f5d3fb1b1dacbaf2f426812417b72ef03a (patch)
tree6d7b603b196d170717d5f81e23f122ec38989fb9 /src/vcl/vcom_socket_wrapper.h
parent49806fe252030a4cd993f598ff65a89590d57388 (diff)
VCL-LDPRELOAD: add sendfile/sendfile64 implementation.
Change-Id: If0c399269238912456d670432d7e953c9d91b9fb Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vcl/vcom_socket_wrapper.h')
-rw-r--r--src/vcl/vcom_socket_wrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vcl/vcom_socket_wrapper.h b/src/vcl/vcom_socket_wrapper.h
index f44b5a8ef3b..ce03ebe83da 100644
--- a/src/vcl/vcom_socket_wrapper.h
+++ b/src/vcl/vcom_socket_wrapper.h
@@ -159,6 +159,8 @@ int libc_recvmsg (int sockfd, struct msghdr *msg, int flags);
int libc_send (int sockfd, const void *buf, size_t len, int flags);
+ssize_t libc_sendfile (int out_fd, int in_fd, off_t * offset, size_t len);
+
int libc_sendmsg (int sockfd, const struct msghdr *msg, int flags);
int