paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
receiver_node Struct Reference

Describes one instance of a receiver. More...

#include <recv.h>

Data Fields

const struct receiverreceiver
 Points to the corresponding receiver. More...
 
void * private_data
 Receiver-specific data. More...
 
struct lls_parse_result * lpr
 The parsed command line options for this instance. More...
 
struct task * task
 The task associated with this instance. More...
 
struct btr_node * btrn
 The receiver node is always the root of the buffer tree. More...
 
struct btr_pool * btrp
 Each receiver node maintains a buffer pool for the received data. More...
 
int fd
 The file descriptor to receive the stream. More...
 

Detailed Description

Describes one instance of a receiver.

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: