diff options
| author | Volker Lendecke <vl@samba.org> | 2014-11-19 14:21:17 +0000 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-12-07 00:12:07 +0100 |
| commit | 214fc09a3443ab62772666a985975fa548b215fa (patch) | |
| tree | 3ff90a94c972deabf6a200de528e1ec1eeadfc64 /source3/include | |
| parent | a8491cb95a2c181d40b0b94cceff8d69d137935c (diff) | |
| download | samba-214fc09a3443ab62772666a985975fa548b215fa.tar.gz samba-214fc09a3443ab62772666a985975fa548b215fa.tar.xz samba-214fc09a3443ab62772666a985975fa548b215fa.zip | |
lib: Split out iov_buf[len]
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include')
| -rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 1 insertions, 2 deletions
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, |
