LIBSSDP
 All Classes Files Functions Variables Typedefs Macros
Public Attributes | List of all members
configuration_struct Struct Reference

#include <configuration.h>

Public Attributes

char interface [IPv6_STR_MAX_SIZE]
 
char ip [IPv6_STR_MAX_SIZE]
 
BOOL run_as_daemon
 
BOOL run_as_server
 
BOOL listen_for_upnp_notif
 
BOOL scan_for_upnp_devices
 
char * forward_address
 
BOOL forward_enabled
 
BOOL fetch_info
 
BOOL ssdp_cache_size
 
BOOL json_output
 
BOOL xml_output
 
BOOL monochrome
 
BOOL oneline_output
 
unsigned char ttl
 
BOOL ignore_search_msgs
 
char * filter
 
BOOL use_ipv4
 
BOOL use_ipv6
 
BOOL quiet_mode
 
int upnp_timeout
 
BOOL enable_loopback
 

Detailed Description

A container for the program/lib configuration.

Definition at line 14 of file configuration.h.

Member Data Documentation

BOOL configuration_struct::enable_loopback

Enable multicast loopback traffic.

Definition at line 64 of file configuration.h.

BOOL configuration_struct::fetch_info

Don't try to fetch device info from the url in the "Location" header.

Definition at line 35 of file configuration.h.

char* configuration_struct::filter

Grep-like filter string.

Definition at line 54 of file configuration.h.

char* configuration_struct::forward_address

The address to forward the results to.

Definition at line 31 of file configuration.h.

BOOL configuration_struct::forward_enabled

Switch to enable forwarding of the scan results.

Definition at line 33 of file configuration.h.

BOOL configuration_struct::ignore_search_msgs

Automatically add a filter to ignore M-SEARCH messages.

Definition at line 52 of file configuration.h.

char configuration_struct::interface[IPv6_STR_MAX_SIZE]

Interface to use.

Definition at line 16 of file configuration.h.

char configuration_struct::ip[IPv6_STR_MAX_SIZE]

Interface IP to use.

Definition at line 18 of file configuration.h.

BOOL configuration_struct::json_output

Convert to JSON before forwarding.

Definition at line 39 of file configuration.h.

BOOL configuration_struct::listen_for_upnp_notif

Switch for enabling listening for UPnP (SSDP) notifications.

Definition at line 27 of file configuration.h.

BOOL configuration_struct::monochrome

Mopnochrome mode, disable all colors

Definition at line 43 of file configuration.h.

BOOL configuration_struct::oneline_output

Convert to oneline before outputting/forwarding.

Definition at line 45 of file configuration.h.

BOOL configuration_struct::quiet_mode

Minimize informative output.

Definition at line 60 of file configuration.h.

BOOL configuration_struct::run_as_daemon

Run the program as a daemon ignoring control signals and terminal.

Definition at line 20 of file configuration.h.

BOOL configuration_struct::run_as_server

Run the program as a server, open a port and wait for incoming connection (requests).

Definition at line 25 of file configuration.h.

BOOL configuration_struct::scan_for_upnp_devices

Switch to perform an active UPnP (SSDP) scan.

Definition at line 29 of file configuration.h.

BOOL configuration_struct::ssdp_cache_size

The size of the ssdp_cache list.

Definition at line 37 of file configuration.h.

unsigned char configuration_struct::ttl

Time-To-Live value, how many routers the multicast shall propagate through.

Definition at line 50 of file configuration.h.

int configuration_struct::upnp_timeout

The time to wait for a device to answer a query.

Definition at line 62 of file configuration.h.

BOOL configuration_struct::use_ipv4

Force the usage of the IPv4 protocol.

Definition at line 56 of file configuration.h.

BOOL configuration_struct::use_ipv6

Force the usage of the IPv6 protocol.

Definition at line 58 of file configuration.h.

BOOL configuration_struct::xml_output

Convert to XML before outputting/forwarding.

Definition at line 41 of file configuration.h.


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