summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-01-28 11:16:24 +0100
committerKarolin Seeger <kseeger@samba.org>2010-05-17 09:50:16 +0200
commitc5f192efcc9f335157838802ab131fbf5a7e6195 (patch)
treee6092fae4806e38176c812db1a5b8f511a30e1ea
parent309fcce878a6206f3b38648c729c5cfc6c1d2860 (diff)
downloadsamba-c5f192efcc9f335157838802ab131fbf5a7e6195.tar.gz
tsocket: Fix the description of tstream_writev_queue_send/recv (cherry picked from commit 88099bcc93fabebe3d4548f8a5aa26b585886a1c)
Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 5f8cb2a49e94f29da85dd62237a5f8967c44d826)
-rw-r--r--lib/tsocket/tsocket.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index 8410a3c27a7..84dc668f50d 100644
--- a/lib/tsocket/tsocket.h
+++ b/lib/tsocket/tsocket.h
@@ -1019,11 +1019,11 @@ struct tevent_req *tstream_readv_pdu_queue_send(TALLOC_CTX *mem_ctx,
int tstream_readv_pdu_queue_recv(struct tevent_req *req, int *perrno);
/**
- * @brief Queue a dgram blob for sending through the socket
+ * @brief Queue an iovector for sending through the socket
*
- * This function queues a blob for sending to destination through an existing
- * dgram socket. The async callback is triggered when the whole blob is
- * delivered to the underlying system socket.
+ * This function queues an iovector for sending to destination through an
+ * existing stream socket. The async callback is triggered when the whole
+ * vectror has been delivered to the underlying system socket.
*
* The caller needs to make sure that all non-scalar input parameters hang
* arround for the whole lifetime of the request.
@@ -1050,13 +1050,13 @@ struct tevent_req *tstream_writev_queue_send(TALLOC_CTX *mem_ctx,
size_t count);
/**
- * @brief Receive the result of the sent dgram blob.
+ * @brief Receive the result of the sent iovector.
*
* @param[in] req The tevent request from tstream_writev_queue_send().
*
* @param[out] perrno The error set to the actual errno.
*
- * @return The length of the datagram (0 is never returned!), -1 on
+ * @return The length of the iovector (0 is never returned!), -1 on
* error with perrno set to the actual errno.
*/
int tstream_writev_queue_recv(struct tevent_req *req, int *perrno);