paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
receiver_node Struct Reference

Data Fields

const struct receiverreceiver
 
void * private_data
 
struct lls_parse_result * lpr
 
struct task * task
 
struct btr_node * btrn
 
struct btr_pool * btrp
 
int fd
 

Field Documentation

◆ receiver

const struct receiver* receiver

Points to the corresponding receiver.

◆ private_data

void* private_data

Receiver-specific data.

◆ lpr

struct lls_parse_result* lpr

The parsed command line options for this instance.

◆ task

struct task* task

The task associated with this instance.

◆ btrn

struct btr_node* btrn

The receiver node is always the root of the buffer tree.

Referenced by generic_recv_pre_monitor().

◆ btrp

struct btr_pool* btrp

Each receiver node maintains a buffer pool for the received data.

◆ fd

int fd

The file descriptor to receive the stream.

The pre_monitor function of the receiver adds this file descriptor to the set of file descriptors which are watched for readability or writability, depending on the state of the connection (if any).

If fd is readable, the post_monitor function of the receiver reads data from this fd into the buffer pool area of btrp.

See also
receiver.

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