Structure specifying a writing operation on an IO handle. More...
#include <gnunet_bio_lib.h>
Data Fields | |
GNUNET_BIO_WriteHandler | wh |
Function performing data serialization. More... | |
void * | cls |
Closure for rh. More... | |
const char * | what |
What is being read (for error message creation) More... | |
void * | source |
Source buffer. More... | |
size_t | source_size |
Size of source. More... | |
Structure specifying a writing operation on an IO handle.
Definition at line 522 of file gnunet_bio_lib.h.
GNUNET_BIO_WriteHandler GNUNET_BIO_WriteSpec::wh |
Function performing data serialization.
Definition at line 527 of file gnunet_bio_lib.h.
void* GNUNET_BIO_WriteSpec::cls |
const char* GNUNET_BIO_WriteSpec::what |
What is being read (for error message creation)
Definition at line 537 of file gnunet_bio_lib.h.
Referenced by GNUNET_BIO_write_spec_int32(), and GNUNET_BIO_write_spec_string().
void* GNUNET_BIO_WriteSpec::source |
Source buffer.
The data in this buffer will be written to the handle.
Definition at line 542 of file gnunet_bio_lib.h.
size_t GNUNET_BIO_WriteSpec::source_size |
Size of source.
If it's smaller than the real size of source, only this many bytes will be written.
Definition at line 548 of file gnunet_bio_lib.h.