Structure defining a libtrace IO writer module. More...
Data Fields | |
| const char * | name |
| The name of the module. | |
| off_t(* | write )(iow_t *iow, const char *buffer, off_t len) |
| Writes the contents of a buffer using an IO writer. | |
| void(* | close )(iow_t *iow) |
| Closes an IO writer. | |
Structure defining a libtrace IO writer module.
| void(* iow_source_t::close)(iow_t *iow) |
Closes an IO writer.
This function should free the IO writer.
| iow | The IO writer to close |
Referenced by wandio_wdestroy().
| const char* iow_source_t::name |
The name of the module.
Referenced by wandio_wwrite().
| off_t(* iow_source_t::write)(iow_t *iow, const char *buffer, off_t len) |
Writes the contents of a buffer using an IO writer.
| iow | The IO writer to write the data with | |
| buffer | The buffer to be written | |
| len | The amount of writable data in the buffer |
Referenced by wandio_wwrite().
1.7.1