summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-05-28 09:32:26 +0200
committerStefan Metzmacher <metze@samba.org>2015-06-12 17:08:17 +0200
commit44584f810720602201a9afaaa087eeb83579eff5 (patch)
treef0df83717a2878c26f937399e224e916cb4311fe /lib
parent88971d4870a197f656ef912911ca1e4ff5b56749 (diff)
downloadsamba-44584f810720602201a9afaaa087eeb83579eff5.tar.gz
tevent.h: propose tstream_ versions of read_packet_send/recv and writev_send/recv
The functions operating on the raw file descriptor are for advanced callers, which take extra care and avoid the problems of https://bugzilla.samba.org/show_bug.cgi?id=11141. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11316 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/tevent/tevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index 6861ffbbfd4..b6c39d1037b 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -616,8 +616,8 @@ void tevent_get_trace_callback(struct tevent_context *ev,
* file descriptor (tevent_add_fd) and timer (tevent_add_timed) events
* are considered too low-level to be used in larger computations. To
* read and write from and to sockets, Samba provides two calls on top
- * of tevent_add_fd: read_packet_send/recv and writev_send/recv. These
- * requests are much easier to compose than the low-level event
+ * of tevent_add_fd: tstream_read_packet_send/recv and tstream_writev_send/recv.
+ * These requests are much easier to compose than the low-level event
* handlers called from tevent_add_fd.
*
* A lot of the simplicity tevent_req has brought to the notoriously