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.
Referenced by GNUNET_BIO_write_spec_commit(), GNUNET_BIO_write_spec_double(), GNUNET_BIO_write_spec_float(), GNUNET_BIO_write_spec_int32(), GNUNET_BIO_write_spec_int64(), GNUNET_BIO_write_spec_object(), GNUNET_BIO_write_spec_string(), GNUNET_FS_download_sync_(), GNUNET_FS_file_information_sync_(), GNUNET_FS_publish_sync_(), GNUNET_FS_search_result_sync_(), GNUNET_FS_unindex_sync_(), GNUNET_FS_write_spec_meta_data(), save_hostlist_file(), write_download_request(), write_item(), and write_update_information_graph().
void* GNUNET_BIO_WriteSpec::cls |
Closure for rh.
Can be NULL.
Definition at line 532 of file gnunet_bio_lib.h.
Referenced by GNUNET_BIO_write_spec_commit().
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_commit(), GNUNET_BIO_write_spec_double(), GNUNET_BIO_write_spec_float(), GNUNET_BIO_write_spec_int32(), GNUNET_BIO_write_spec_int64(), GNUNET_BIO_write_spec_object(), GNUNET_BIO_write_spec_string(), GNUNET_FS_write_spec_meta_data(), write_spec_handler_int32(), write_spec_handler_int64(), and write_spec_handler_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.
Referenced by GNUNET_BIO_write_spec_commit(), GNUNET_BIO_write_spec_double(), GNUNET_BIO_write_spec_float(), GNUNET_BIO_write_spec_string(), and GNUNET_FS_write_spec_meta_data().