# HG changeset patch # User sergeig # Date 1313688093 0 # Node ID a142ddec4dad3adca3385fddb2d1f64250b80dc1 # Parent 399cb84fb5044a3043c45fbee1132f8a6294ad1d * doc/io.sgml (Callbacks): Fixed prototypes of several functions, reported by Stano Menuna. [ Bugzilla 1001293 ] diff --git a/packages/io/common/current/ChangeLog b/packages/io/common/current/ChangeLog --- a/packages/io/common/current/ChangeLog +++ b/packages/io/common/current/ChangeLog @@ -1,3 +1,8 @@ +2011-08-16 Sergei Gavrikov + + * doc/io.sgml (Callbacks): Fixed prototypes of several functions, + reported by Stano Menuna. [ Bugzilla 1001293 ] + 2010-06-06 ccoutand *doc/io.sgml Updated DEVIO_TABLE definition, missing select argument diff --git a/packages/io/common/current/doc/io.sgml b/packages/io/common/current/doc/io.sgml --- 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"). functions are available as well: -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) @@ -1465,11 +1465,11 @@ driver must call data_xmt_done -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) Instead of calling rcv_char() with a single