Structure specifying a reading operation on an IO handle. More...
#include <gnunet_bio_lib.h>
Data Fields | |
GNUNET_BIO_ReadHandler | rh |
Function performing data deserialization. More... | |
void * | cls |
Closure for rh. More... | |
const char * | what |
What is being read (for error message creation) More... | |
void * | target |
Destination buffer. More... | |
size_t | size |
Size of target. More... | |
Structure specifying a reading operation on an IO handle.
Definition at line 374 of file gnunet_bio_lib.h.
GNUNET_BIO_ReadHandler GNUNET_BIO_ReadSpec::rh |
Function performing data deserialization.
Definition at line 379 of file gnunet_bio_lib.h.
Referenced by deserialize_download(), deserialize_publish_file(), GNUNET_BIO_read_spec_commit(), GNUNET_BIO_read_spec_double(), GNUNET_BIO_read_spec_float(), GNUNET_BIO_read_spec_int32(), GNUNET_BIO_read_spec_int64(), GNUNET_BIO_read_spec_object(), GNUNET_BIO_read_spec_string(), GNUNET_FS_read_spec_meta_data(), load_hostlist_file(), load_state(), read_download_request(), and read_update_information_graph().
void* GNUNET_BIO_ReadSpec::cls |
Closure for rh.
Can be NULL.
Definition at line 384 of file gnunet_bio_lib.h.
Referenced by GNUNET_BIO_read_spec_commit().
const char* GNUNET_BIO_ReadSpec::what |
What is being read (for error message creation)
Definition at line 389 of file gnunet_bio_lib.h.
Referenced by GNUNET_BIO_read_spec_commit(), GNUNET_BIO_read_spec_object(), read_spec_handler_int32(), read_spec_handler_int64(), read_spec_handler_string(), and write_spec_handler_object().
void* GNUNET_BIO_ReadSpec::target |
Destination buffer.
Can also be a pointer to a pointer, especially for dynamically allocated structures.
Definition at line 395 of file gnunet_bio_lib.h.
Referenced by GNUNET_BIO_read_spec_commit(), read_spec_handler_int32(), read_spec_handler_int64(), and read_spec_handler_string().
size_t GNUNET_BIO_ReadSpec::size |