1#ifdef COMPA_HAVE_MINISERVER
3#ifndef COMPA_MINISERVER_HPP
4#define COMPA_MINISERVER_HPP
91#ifdef COMPA_HAVE_WEBSERVER
96#ifdef COMPA_HAVE_CTRLPT_SSDP
120#ifdef COMPA_HAVE_DEVICE_SOAP
129#ifdef COMPA_HAVE_DEVICE_GENA
159 in_port_t* listen_port4,
162 in_port_t* listen_port6,
165 in_port_t* listen_port6UlaGua);
Structure of an HTTP parser object.
Structure of an HTTP message.
Functions to parse UPnP messages like requests and responses.
Manage all aspects of a network socket.
in_port_t miniServerPort6
Corresponding port to miniServerSock6.
in_port_t miniServerPort6UlaGua
Corresponding port to miniServerSock6UlaGua.
SOCKET ssdpSock4
IPv4 SSDP datagram Socket for incoming advertisments and search requests.
void(* MiniServerCallback)(http_parser_t *parser, http_message_t *request, SOCKINFO *info)
For a miniserver callback function.
void SetSoapCallback(MiniServerCallback callback)
Set SOAP Callback.
SOCKET miniServerSock6UlaGua
IPv6 ULA or GUA Socket for listening for miniserver requests.
int StartMiniServer(in_port_t *listen_port4, in_port_t *listen_port6, in_port_t *listen_port6UlaGua)
Initialize the sockets functionality for the Miniserver.
in_port_t stopPort
Corresponding port to miniServerStopSock. This is set with miniStopSockPort but never used.
SOCKET miniServerSock4
IPv4 socket for listening for miniserver requests.
in_port_t miniServerPort4
Corresponding port to miniServerSock4.
int StopMiniServer()
Stop and Shutdown the MiniServer and free socket resources.
MiniServerCallback gGetCallback
HTTP server callback.
SOCKET ssdpReqSock6
IPv6 SSDP socket for sending search requests and receiving search replies.
SOCKET ssdpReqSock4
IPv4 SSDP socket for sending search requests and receiving search replies.
SOCKET miniServerStopSock
Datagram Socket for stopping miniserver.
SOCKET ssdpSock6
IPv6 LLA SSDP Socket for incoming advertisments and search requests.
SOCKET miniServerSock6
IPv6 LLA Socket for listening for miniserver requests.
SOCKET ssdpSock6UlaGua
IPv6 ULA or GUA SSDP Socket for incoming advertisments and search requests.
void SetGenaCallback(MiniServerCallback callback)
Set GENA Callback.
Provides sockets for all network communications.
Manage network sockets and connections.
Additional socket information for connections and ssl.
Socket Module: manage properties and methods but not connections of ONE network socket to handle IPv4...