-------------------------------------------------------------------------*\ * Initializes C structure \*-------------------------------------------------------------------------*/
| 9 | * Initializes C structure |
| 10 | \*-------------------------------------------------------------------------*/ |
| 11 | void io_init(p_io io, p_send send, p_recv recv, p_error error, void *ctx) { |
| 12 | io->send = send; |
| 13 | io->recv = recv; |
| 14 | io->error = error; |
| 15 | io->ctx = ctx; |
| 16 | } |
| 17 | |
| 18 | /*-------------------------------------------------------------------------*\ |
| 19 | * I/O error strings |
no outgoing calls
no test coverage detected