changeset 3049:a142ddec4dad

* doc/io.sgml (Callbacks): Fixed prototypes of several functions, reported by Stano Menuna. [ Bugzilla 1001293 ]
author sergeig
date Thu, 18 Aug 2011 17:21:33 +0000
parents 399cb84fb504
children b8cb8bedf5e1
files packages/io/common/current/ChangeLog packages/io/common/current/doc/io.sgml
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/common/current/ChangeLog
+++ b/packages/io/common/current/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-16  Sergei Gavrikov  <sergei.gavrikov@gmail.com>
+
+	* doc/io.sgml (Callbacks): Fixed prototypes of several functions,
+	reported by Stano Menuna. [ Bugzilla 1001293 ]
+
 2010-06-06 ccoutand <ccoutand@stmi.com>
 	*doc/io.sgml
 	Updated DEVIO_TABLE definition, missing select argument
--- a/packages/io/common/current/doc/io.sgml
+++ b/packages/io/common/current/doc/io.sgml
@@ -1438,11 +1438,11 @@ CYGINT_IO_SERIAL_BLOCK_TRANSFER&quot;). 
 functions are available as well:</PARA>
 
 <PROGRAMLISTING>
-bool (*data_xmt_req)(serial_channel *chan,
+xmt_req_reply_t (*data_xmt_req)(serial_channel *chan,
                      int space,
                      int* chars_avail,
                      unsigned char** chars)
-void (*data_xmt_done)(serial_channel *chan)
+void (*data_xmt_done)(serial_channel *chan, int chars_sent)
 </PROGRAMLISTING>
 
 <PARA>
@@ -1465,11 +1465,11 @@ driver must call <function>data_xmt_done
 
 
 <PROGRAMLISTING>
-bool (*data_rcv_req)(serial_channel *chan,
+rcv_req_reply_t (*data_rcv_req)(serial_channel *chan,
                      int avail,
                      int* space_avail,
                      unsigned char** space)
-void (*data_rcv_done)(serial_channel *chan)
+void (*data_rcv_done)(serial_channel *chan, int chars_rcvd)
 </PROGRAMLISTING>
 
 <PARA>Instead of calling <function>rcv_char()</function> with a single