GNUnet  0.11.x
Data Fields
SendBuffer Struct Reference

IO buffer used for buffering data in transit (to wireless or to stdout). More...

Data Fields

size_t size
 How many bytes of data are stored in 'buf' for transmission right now? Data always starts at offset 0 and extends to 'size'. More...
 
size_t pos
 How many bytes that were stored in 'buf' did we already write to the destination? Always smaller than 'size'. More...
 
char buf [4096 *2]
 Buffered data; twice the maximum allowed message size as we add some headers. More...
 

Detailed Description

IO buffer used for buffering data in transit (to wireless or to stdout).

IO buffer used for buffering data in transit.

Definition at line 98 of file gnunet-helper-transport-bluetooth.c.

Field Documentation

◆ size

size_t SendBuffer::size

How many bytes of data are stored in 'buf' for transmission right now? Data always starts at offset 0 and extends to 'size'.

Definition at line 104 of file gnunet-helper-transport-bluetooth.c.

Referenced by file_in_send(), main(), stdin_send(), and stdin_send_hw().

◆ pos

size_t SendBuffer::pos

How many bytes that were stored in 'buf' did we already write to the destination? Always smaller than 'size'.

Definition at line 110 of file gnunet-helper-transport-bluetooth.c.

Referenced by main().

◆ buf

char SendBuffer::buf

Buffered data; twice the maximum allowed message size as we add some headers.

Definition at line 116 of file gnunet-helper-transport-bluetooth.c.

Referenced by file_in_send(), main(), stdin_send(), and stdin_send_hw().


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