GNUnet  0.11.x
Data Fields
GNUNET_BIO_WriteHandle Struct Reference

Handle for buffered writing. More...

Collaboration diagram for GNUNET_BIO_WriteHandle:
[legend]

Data Fields

struct GNUNET_DISK_FileHandlefd
 Underlying file handle. More...
 
char * buffer
 I/O buffer. More...
 
size_t have
 Number of bytes already in buffer. More...
 
size_t size
 Total size of buffer. More...
 

Detailed Description

Handle for buffered writing.

Definition at line 379 of file bio.c.

Field Documentation

◆ fd

struct GNUNET_DISK_FileHandle* GNUNET_BIO_WriteHandle::fd

Underlying file handle.

Definition at line 384 of file bio.c.

Referenced by GNUNET_BIO_flush(), GNUNET_BIO_write(), GNUNET_BIO_write_close(), and GNUNET_BIO_write_open().

◆ buffer

char* GNUNET_BIO_WriteHandle::buffer

I/O buffer.

Do not free, allocated at the end of the struct.

Definition at line 389 of file bio.c.

Referenced by GNUNET_BIO_flush(), GNUNET_BIO_write(), and GNUNET_BIO_write_open().

◆ have

size_t GNUNET_BIO_WriteHandle::have

Number of bytes already in buffer.

Definition at line 394 of file bio.c.

Referenced by GNUNET_BIO_flush(), and GNUNET_BIO_write().

◆ size

size_t GNUNET_BIO_WriteHandle::size

Total size of buffer.

Definition at line 399 of file bio.c.

Referenced by GNUNET_BIO_write(), and GNUNET_BIO_write_open().


The documentation for this struct was generated from the following file: