paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
sender_status Struct Reference

Describes the current status of one paraslash sender. More...

#include <send.h>

Data Fields

unsigned num_listen_fds
 Number of sockets to listen on, size of the two arrays below. More...
 
char ** listen_addresses
 Derived from –http-listen-address and –dccp-listen-address. More...
 
int default_port
 Default TCP/DCCP port number for addresses w/o port. More...
 
int * listen_fds
 The socket fd(s) this sender is listening on. More...
 
int num_clients
 The current number of simultaneous connections. More...
 
int max_clients
 The maximal number of simultaneous connections. More...
 
int default_deny
 Whether the access control list is a whitelist. More...
 
struct list_head acl
 The whitelist/blacklist. More...
 
struct list_head client_list
 The list of connected clients. More...
 

Detailed Description

Describes the current status of one paraslash sender.

Field Documentation

◆ num_listen_fds

unsigned num_listen_fds

Number of sockets to listen on, size of the two arrays below.

Referenced by init_sender_status().

◆ listen_addresses

char** listen_addresses

Derived from –http-listen-address and –dccp-listen-address.

Referenced by free_sender_status(), generic_com_on(), generic_sender_status(), and init_sender_status().

◆ default_port

int default_port

Default TCP/DCCP port number for addresses w/o port.

Referenced by generic_com_on(), generic_sender_status(), and init_sender_status().

◆ listen_fds

int* listen_fds

◆ num_clients

int num_clients

The current number of simultaneous connections.

Referenced by accept_sender_client(), and generic_sender_status().

◆ max_clients

int max_clients

The maximal number of simultaneous connections.

Referenced by accept_sender_client(), and generic_sender_status().

◆ default_deny

int default_deny

Whether the access control list is a whitelist.

Referenced by accept_sender_client(), generic_com_allow(), generic_com_deny(), and generic_sender_status().

◆ acl

struct list_head acl

◆ client_list

struct list_head client_list

The list of connected clients.

Referenced by generic_sender_status(), and shutdown_clients().


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