From 214fc09a3443ab62772666a985975fa548b215fa Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 19 Nov 2014 14:21:17 +0000 Subject: lib: Split out iov_buf[len] Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/include/proto.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index dcecf74a86..d9815f49f1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -566,9 +566,8 @@ NTSTATUS read_fd_with_timeout(int fd, char *buf, unsigned int time_out, size_t *size_ret); NTSTATUS read_data_ntstatus(int fd, char *buffer, size_t N); + ssize_t write_data(int fd, const char *buffer, size_t N); -ssize_t iov_buflen(const struct iovec *iov, int iovlen); -uint8_t *iov_buf(TALLOC_CTX *mem_ctx, const struct iovec *iov, int iovcnt); ssize_t write_data_iov(int fd, const struct iovec *orig_iov, int iovcnt); bool send_keepalive(int client); NTSTATUS read_smb_length_return_keepalive(int fd, char *inbuf, -- cgit