Handle for buffered writing. More...
Data Fields | |
enum IOType | type |
The "backend" type. More... | |
struct GNUNET_DISK_FileHandle * | fd |
Handle to a file on disk, if type is IO_FILE. More... | |
char * | emsg |
Error message, NULL if there were no errors. More... | |
void * | buffer |
I/O buffer. More... | |
size_t | have |
Number of bytes available in buffer. More... | |
size_t | size |
Total size of buffer. More... | |
struct GNUNET_DISK_FileHandle* GNUNET_BIO_WriteHandle::fd |
Handle to a file on disk, if type is IO_FILE.
Definition at line 475 of file bio.c.
Referenced by GNUNET_BIO_write_open_file().
char* GNUNET_BIO_WriteHandle::emsg |
Error message, NULL if there were no errors.
Definition at line 480 of file bio.c.
Referenced by GNUNET_BIO_get_buffer_contents(), and GNUNET_BIO_write_close().
void* GNUNET_BIO_WriteHandle::buffer |
I/O buffer.
This field is a void * because it is used to hold pointers to allocated structures or arrays and will be casted to the appropriate type.
Definition at line 487 of file bio.c.
Referenced by GNUNET_BIO_write(), and write_to_file().
size_t GNUNET_BIO_WriteHandle::have |