unbound: tube Struct Reference

unbound 0.1

Data Fields
tube Struct Reference

A pipe. More...

`#include <tube.h>`

## Data Fields
int | sr
| pipe end to read from
int | sw
| pipe end to write on
struct comm_point * | listen_com
| listen commpoint
tube_callback_type * | listen_cb
| listen callback
void * | listen_arg
| listen callback user arg
size_t | cmd_read
| are we currently reading a command, 0 if not, else bytecount
uint32_t | cmd_len
| size of current read command, may be partially read
uint8_t * | cmd_msg
| the current read command content, malloced, can be partially read
struct comm_point * | res_com
| background write queue, commpoint to write results back
size_t | res_write
| are we currently writing a result, 0 if not, else bytecount into the res_list first entry.
struct tube_res_list * | res_list
| list of outstanding results to be written back
struct tube_res_list * | res_last
| last in list

## Detailed Description

A pipe.

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

- util/tube.h