mUPnP for C
ssdp_server.h File Reference
#include <mupnp/typedef.h>
#include <mupnp/ssdp/ssdp.h>

Data Structures

struct  _mUpnpSSDPPacket
 
struct  _mUpnpSSDPServer
 
struct  _mUpnpSSDPResponseServer
 

Macros

#define mupnp_httpmu_socket_new()
 
#define mupnp_httpmu_socket_delete(sock)
 
#define mupnp_httpmu_socket_close(sock)
 
#define mupnp_httpu_socket_new()
 
#define mupnp_httpu_socket_delete(sock)
 
#define mupnp_httpu_socket_close(sock)
 
#define mupnp_httpu_socket_new()
 
#define mupnp_httpu_socket_bind(sock, bindPort, bindAddr)
 
#define mupnp_ssdp_packet_setdatagrampacket(ssdpPkt, value)
 
#define mupnp_ssdp_packet_getdatagrampacket(ssdpPkt)
 
#define mupnp_ssdp_packet_setdata(ssdpPkt, value)
 
#define mupnp_ssdp_packet_getdata(ssdpPkt)
 
#define mupnp_ssdp_packet_setuserdata(ssdpPkt, data)
 
#define mupnp_ssdp_packet_getuserdata(ssdpPkt)
 
#define mupnp_ssdp_packet_settimestamp(ssdpPkt, value)
 
#define mupnp_ssdp_packet_gettimestamp(ssdpPkt)
 
#define mupnp_ssdp_packet_getexpiration(ssdpPkt)
 
#define mupnp_ssdp_packet_addheader(ssdpPkt, header)
 
#define mupnp_ssdp_packet_getheaders(ssdpPkt)
 
#define mupnp_ssdp_packet_gethost(ssdpPkt)
 
#define mupnp_ssdp_packet_getserver(ssdpPkt)
 
#define mupnp_ssdp_packet_getcachecontrol(ssdpPkt)
 
#define mupnp_ssdp_packet_getdate(ssdpPkt)
 
#define mupnp_ssdp_packet_getext(ssdpPkt)
 
#define mupnp_ssdp_packet_getlocation(ssdpPkt)
 
#define mupnp_ssdp_packet_getst(ssdpPkt)
 
#define mupnp_ssdp_packet_getusn(ssdpPkt)
 
#define mupnp_ssdp_packet_getmx(ssdpPkt)
 
#define mupnp_ssdp_packet_getman(ssdpPkt)
 
#define mupnp_ssdp_packet_getnt(ssdpPkt)
 
#define mupnp_ssdp_packet_getnts(ssdpPkt)
 
#define mupnp_ssdp_packet_isdiscover(ssdpPkt)
 
#define mupnp_ssdp_packet_isalive(ssdpPkt)
 
#define mupnp_ssdp_packet_isbyebye(ssdpPkt)
 
#define mupnp_ssdp_packet_getlocaladdress(ssdpPkt)
 
#define mupnp_ssdp_packet_getlocalport(ssdpPkt)
 
#define mupnp_ssdp_packet_getremoteaddress(ssdpPkt)
 
#define mupnp_ssdp_packet_getremoteport(ssdpPkt)
 
#define mupnp_ssdp_server_next(server)
 
#define mupnp_ssdp_server_isopened(server)
 
#define mupnp_ssdp_server_getsocket(server)
 
#define mupnp_ssdp_server_setlistener(server, func)
 
#define mupnp_ssdp_server_getlistener(server)
 
#define mupnp_ssdp_server_setuserdata(server, data)
 
#define mupnp_ssdp_server_getuserdata(server)
 
#define mupnp_ssdp_serverlist_clear(serverList)
 
#define mupnp_ssdp_serverlist_size(serverList)
 
#define mupnp_ssdp_serverlist_gets(serverList)
 
#define mupnp_ssdp_serverlist_add(serverList, server)
 
#define mupnp_ssdpresponse_server_next(server)
 
#define mupnp_ssdpresponse_server_isopened(server)
 
#define mupnp_ssdpresponse_server_getsocket(server)
 
#define mupnp_ssdpresponse_server_setlistener(server, func)
 
#define mupnp_ssdpresponse_server_getlistener(server)
 
#define mupnp_ssdpresponse_server_setuserdata(server, data)
 
#define mupnp_ssdpresponse_server_getuserdata(server)
 
#define mupnp_ssdpresponse_serverlist_clear(serverList)
 
#define mupnp_ssdpresponse_serverlist_size(serverList)
 
#define mupnp_ssdpresponse_serverlist_gets(serverList)
 
#define mupnp_ssdpresponse_serverlist_add(serverList, server)
 

Typedefs

typedef mUpnpSocket mUpnpHttpMuSocket
 
typedef mUpnpSocket mUpnpHttpUSocket
 
typedef struct _mUpnpSSDPPacket mUpnpSSDPPacket
 
typedef void(* MUPNP_SSDP_LISTNER) (mUpnpSSDPPacket *)
 
typedef struct _mUpnpSSDPServer mUpnpSSDPServer
 
typedef struct _mUpnpSSDPServer mUpnpSSDPServerList
 
typedef void(* MUPNP_SSDP_RESPONSE_LISTNER) (mUpnpSSDPPacket *)
 
typedef struct _mUpnpSSDPResponseServer mUpnpSSDPResponseServer
 
typedef struct _mUpnpSSDPResponseServer mUpnpSSDPResponseServerList
 

Functions

bool mupnp_httpmu_socket_bind (mUpnpHttpMuSocket *sock, const char *mcastAddr, int port, const char *bindAddr)
 
ssize_t mupnp_httpmu_socket_recv (mUpnpHttpMuSocket *sock, mUpnpSSDPPacket *ssdpPkt)
 
ssize_t mupnp_httpu_socket_recv (mUpnpHttpUSocket *sock, mUpnpSSDPPacket *ssdpPkt)
 
mUpnpSSDPPacketmupnp_ssdp_packet_new (void)
 
void mupnp_ssdp_packet_delete (mUpnpSSDPPacket *ssdpPkt)
 
void mupnp_ssdp_packet_clear (mUpnpSSDPPacket *ssdpPkt)
 
void mupnp_ssdp_packet_setheader (mUpnpSSDPPacket *ssdpPkt, char *ssdpMsg)
 
long mupnp_ssdp_packet_getmaxage (mUpnpSSDPPacket *ssdpPkt)
 
bool mupnp_ssdp_packet_isrootdevice (mUpnpSSDPPacket *ssdpPkt)
 
void mupnp_ssdp_packet_copy (mUpnpSSDPPacket *destSsdpPkt, mUpnpSSDPPacket *srcSsdpPkt)
 
void mupnp_ssdp_packet_print (mUpnpSSDPPacket *ssdpPkt)
 
mUpnpSSDPServermupnp_ssdp_server_new (void)
 
void mupnp_ssdp_server_delete (mUpnpSSDPServer *server)
 
bool mupnp_ssdp_server_open (mUpnpSSDPServer *server, char *bindAddr)
 
bool mupnp_ssdp_server_close (mUpnpSSDPServer *server)
 
void mupnp_ssdp_server_performlistener (mUpnpSSDPServer *server, mUpnpSSDPPacket *ssdpPkt)
 
bool mupnp_ssdp_server_start (mUpnpSSDPServer *server)
 
bool mupnp_ssdp_server_stop (mUpnpSSDPServer *server)
 
mUpnpSSDPServerListmupnp_ssdp_serverlist_new (void)
 
void mupnp_ssdp_serverlist_delete (mUpnpSSDPServerList *serverList)
 
bool mupnp_ssdp_serverlist_open (mUpnpSSDPServerList *ssdpServerList)
 
bool mupnp_ssdp_serverlist_close (mUpnpSSDPServerList *ssdpServerList)
 
bool mupnp_ssdp_serverlist_start (mUpnpSSDPServerList *ssdpServerList)
 
bool mupnp_ssdp_serverlist_stop (mUpnpSSDPServerList *ssdpServerList)
 
void mupnp_ssdp_serverlist_setlistener (mUpnpSSDPServerList *ssdpServerList, MUPNP_SSDP_LISTNER listener)
 
void mupnp_ssdp_serverlist_setuserdata (mUpnpSSDPServerList *ssdpServerList, void *data)
 
mUpnpSSDPResponseServermupnp_ssdpresponse_server_new (void)
 
void mupnp_ssdpresponse_server_delete (mUpnpSSDPResponseServer *server)
 
bool mupnp_ssdpresponse_server_open (mUpnpSSDPResponseServer *server, int bindPort, char *bindAddr)
 
bool mupnp_ssdpresponse_server_close (mUpnpSSDPResponseServer *server)
 
void mupnp_ssdpresponse_server_performlistener (mUpnpSSDPResponseServer *server, mUpnpSSDPPacket *ssdpPkt)
 
bool mupnp_ssdpresponse_server_start (mUpnpSSDPResponseServer *server)
 
bool mupnp_ssdpresponse_server_stop (mUpnpSSDPResponseServer *server)
 
bool mupnp_ssdpresponse_server_post (mUpnpSSDPResponseServer *server, mUpnpSSDPRequest *ssdpReq)
 
mUpnpSSDPResponseServerListmupnp_ssdpresponse_serverlist_new (void)
 
void mupnp_ssdpresponse_serverlist_delete (mUpnpSSDPResponseServerList *serverList)
 
bool mupnp_ssdpresponse_serverlist_open (mUpnpSSDPResponseServerList *ssdpServerList, int bindPort)
 
bool mupnp_ssdpresponse_serverlist_close (mUpnpSSDPResponseServerList *ssdpServerList)
 
bool mupnp_ssdpresponse_serverlist_start (mUpnpSSDPResponseServerList *ssdpServerList)
 
bool mupnp_ssdpresponse_serverlist_stop (mUpnpSSDPResponseServerList *ssdpServerList)
 
void mupnp_ssdpresponse_serverlist_setlistener (mUpnpSSDPResponseServerList *ssdpServerList, MUPNP_SSDP_LISTNER listener)
 
void mupnp_ssdpresponse_serverlist_setuserdata (mUpnpSSDPResponseServerList *ssdpServerList, void *data)
 
bool mupnp_ssdpresponse_serverlist_post (mUpnpSSDPResponseServerList *ssdpServerList, mUpnpSSDPRequest *ssdpReq)
 

Macro Definition Documentation

◆ mupnp_httpmu_socket_close

#define mupnp_httpmu_socket_close ( sock)
Value:
bool mupnp_socket_close(mUpnpSocket *sock)
Definition socket.c:318

◆ mupnp_httpmu_socket_delete

#define mupnp_httpmu_socket_delete ( sock)
Value:
bool mupnp_socket_delete(mUpnpSocket *sock)
Definition socket.c:254

◆ mupnp_httpmu_socket_new

#define mupnp_httpmu_socket_new ( )
Value:
#define mupnp_socket_dgram_new()
Definition socket.h:113

◆ mupnp_httpu_socket_bind

#define mupnp_httpu_socket_bind ( sock,
bindPort,
bindAddr )
Value:
mupnp_socket_bind(sock, bindPort, bindAddr, false, false)
bool mupnp_socket_bind(mUpnpSocket *sock, int bindPort, const char *bindAddr, bool bindFlag, bool reuseFlag)
Definition socket.c:429

◆ mupnp_httpu_socket_close

#define mupnp_httpu_socket_close ( sock)
Value:

◆ mupnp_httpu_socket_delete

#define mupnp_httpu_socket_delete ( sock)
Value:

◆ mupnp_httpu_socket_new [1/2]

#define mupnp_httpu_socket_new ( )

◆ mupnp_httpu_socket_new [2/2]

#define mupnp_httpu_socket_new ( )

◆ mupnp_ssdp_packet_addheader

#define mupnp_ssdp_packet_addheader ( ssdpPkt,
header )
Value:
mupnp_http_headerlist_add(ssdpPkt->headerList, header)
#define mupnp_http_headerlist_add(headerList, header)
Definition http.h:257

◆ mupnp_ssdp_packet_getcachecontrol

#define mupnp_ssdp_packet_getcachecontrol ( ssdpPkt)
Value:
#define MUPNP_HTTP_CACHE_CONTROL
Definition http.h:75
const char * mupnp_http_headerlist_getvalue(mUpnpHttpHeaderList *headerList, const char *name)
Definition http_header_list.c:105

◆ mupnp_ssdp_packet_getdata

#define mupnp_ssdp_packet_getdata ( ssdpPkt)
Value:
mupnp_string_getvalue(ssdpPkt->dgmPkt->data)
char * mupnp_string_getvalue(mUpnpString *str)
Definition string.c:177

◆ mupnp_ssdp_packet_getdatagrampacket

#define mupnp_ssdp_packet_getdatagrampacket ( ssdpPkt)
Value:
(ssdpPkt->dgmPkt)

◆ mupnp_ssdp_packet_getdate

#define mupnp_ssdp_packet_getdate ( ssdpPkt)
Value:
#define MUPNP_HTTP_DATE
Definition http.h:74

◆ mupnp_ssdp_packet_getexpiration

#define mupnp_ssdp_packet_getexpiration ( ssdpPkt)
Value:
long mupnp_ssdp_packet_getmaxage(mUpnpSSDPPacket *ssdpPkt)
Definition ssdp_packet.c:148
#define mupnp_ssdp_packet_gettimestamp(ssdpPkt)
Definition ssdp_server.h:106

◆ mupnp_ssdp_packet_getext

#define mupnp_ssdp_packet_getext ( ssdpPkt)
Value:
#define MUPNP_HTTP_EXT
Definition http.h:110

◆ mupnp_ssdp_packet_getheaders

#define mupnp_ssdp_packet_getheaders ( ssdpPkt)
Value:
mupnp_http_headerlist_gets(ssdpPkt->headerList)
#define mupnp_http_headerlist_gets(headerList)
Definition http.h:256

◆ mupnp_ssdp_packet_gethost

#define mupnp_ssdp_packet_gethost ( ssdpPkt)
Value:
#define MUPNP_HTTP_HOST
Definition http.h:73

◆ mupnp_ssdp_packet_getlocaladdress

#define mupnp_ssdp_packet_getlocaladdress ( ssdpPkt)
Value:
#define mupnp_socket_datagram_packet_getlocaladdress(dgmPkt)
Definition socket.h:177

◆ mupnp_ssdp_packet_getlocalport

#define mupnp_ssdp_packet_getlocalport ( ssdpPkt)
Value:
#define mupnp_socket_datagram_packet_getlocalport(dgmPkt)
Definition socket.h:179

◆ mupnp_ssdp_packet_getlocation

#define mupnp_ssdp_packet_getlocation ( ssdpPkt)
Value:
#define MUPNP_HTTP_LOCATION
Definition http.h:85

◆ mupnp_ssdp_packet_getman

#define mupnp_ssdp_packet_getman ( ssdpPkt)
Value:
#define MUPNP_HTTP_MAN
Definition http.h:106

◆ mupnp_ssdp_packet_getmx

#define mupnp_ssdp_packet_getmx ( ssdpPkt)
Value:
#define MUPNP_HTTP_MX
Definition http.h:105
#define mupnp_str2int(value)
Definition string.h:70

◆ mupnp_ssdp_packet_getnt

#define mupnp_ssdp_packet_getnt ( ssdpPkt)
Value:
#define MUPNP_HTTP_NT
Definition http.h:107

◆ mupnp_ssdp_packet_getnts

#define mupnp_ssdp_packet_getnts ( ssdpPkt)
Value:
#define MUPNP_HTTP_NTS
Definition http.h:108

◆ mupnp_ssdp_packet_getremoteaddress

#define mupnp_ssdp_packet_getremoteaddress ( ssdpPkt)
Value:
#define mupnp_socket_datagram_packet_getremoteaddress(dgmPkt)
Definition socket.h:181

◆ mupnp_ssdp_packet_getremoteport

#define mupnp_ssdp_packet_getremoteport ( ssdpPkt)
Value:
#define mupnp_socket_datagram_packet_getremoteport(dgmPkt)
Definition socket.h:183

◆ mupnp_ssdp_packet_getserver

#define mupnp_ssdp_packet_getserver ( ssdpPkt)
Value:
#define MUPNP_HTTP_SERVER
Definition http.h:86

◆ mupnp_ssdp_packet_getst

#define mupnp_ssdp_packet_getst ( ssdpPkt)
Value:
#define MUPNP_HTTP_ST
Definition http.h:104

◆ mupnp_ssdp_packet_gettimestamp

#define mupnp_ssdp_packet_gettimestamp ( ssdpPkt)
Value:
(ssdpPkt->timeStamp)

◆ mupnp_ssdp_packet_getuserdata

#define mupnp_ssdp_packet_getuserdata ( ssdpPkt)
Value:
(ssdpPkt->userData)

◆ mupnp_ssdp_packet_getusn

#define mupnp_ssdp_packet_getusn ( ssdpPkt)
Value:
#define MUPNP_HTTP_USN
Definition http.h:109

◆ mupnp_ssdp_packet_isalive

#define mupnp_ssdp_packet_isalive ( ssdpPkt)
Value:
#define mupnp_nts_isalive(str)
Definition control.h:706
#define mupnp_ssdp_packet_getnts(ssdpPkt)
Definition ssdp_server.h:124

◆ mupnp_ssdp_packet_isbyebye

#define mupnp_ssdp_packet_isbyebye ( ssdpPkt)
Value:
#define mupnp_nts_isbyebye(str)
Definition control.h:715

◆ mupnp_ssdp_packet_isdiscover

#define mupnp_ssdp_packet_isdiscover ( ssdpPkt)
Value:
#define mupnp_man_isdiscover(str)
Definition control.h:622
#define mupnp_ssdp_packet_getman(ssdpPkt)
Definition ssdp_server.h:122

◆ mupnp_ssdp_packet_setdata

#define mupnp_ssdp_packet_setdata ( ssdpPkt,
value )
Value:
mupnp_string_setvalue(ssdpPkt->dgmPkt->data, value)
void mupnp_string_setvalue(mUpnpString *str, const char *value)
Definition string.c:84

◆ mupnp_ssdp_packet_setdatagrampacket

#define mupnp_ssdp_packet_setdatagrampacket ( ssdpPkt,
value )
Value:
(ssdpPkt->dgmPkt = value)

◆ mupnp_ssdp_packet_settimestamp

#define mupnp_ssdp_packet_settimestamp ( ssdpPkt,
value )
Value:
(ssdpPkt->timeStamp = value)

◆ mupnp_ssdp_packet_setuserdata

#define mupnp_ssdp_packet_setuserdata ( ssdpPkt,
data )
Value:
(ssdpPkt->userData = data)

◆ mupnp_ssdp_server_getlistener

#define mupnp_ssdp_server_getlistener ( server)
Value:
(server->listener)

◆ mupnp_ssdp_server_getsocket

#define mupnp_ssdp_server_getsocket ( server)
Value:
(server->httpmuSock)

◆ mupnp_ssdp_server_getuserdata

#define mupnp_ssdp_server_getuserdata ( server)
Value:
(server->userData)

◆ mupnp_ssdp_server_isopened

#define mupnp_ssdp_server_isopened ( server)
Value:
((server->httpmuSock != NULL) ? true : false)
#define true
Definition typedef.h:63

◆ mupnp_ssdp_server_next

#define mupnp_ssdp_server_next ( server)
Value:
mUpnpList * mupnp_list_next(mUpnpList *list)
Definition list.c:234
The generic list interface in mUPnP.
Definition list.h:56
Definition ssdp_server.h:49

◆ mupnp_ssdp_server_setlistener

#define mupnp_ssdp_server_setlistener ( server,
func )
Value:
(server->listener = func)

◆ mupnp_ssdp_server_setuserdata

#define mupnp_ssdp_server_setuserdata ( server,
data )
Value:
(server->userData = data)

◆ mupnp_ssdp_serverlist_add

#define mupnp_ssdp_serverlist_add ( serverList,
server )
Value:
mupnp_list_add((mUpnpList*)serverList, (mUpnpList*)server)
void mupnp_list_add(mUpnpList *headList, mUpnpList *list)
Definition list.c:123

◆ mupnp_ssdp_serverlist_clear

#define mupnp_ssdp_serverlist_clear ( serverList)
Value:
void mupnp_list_clear(mUpnpList *headList, MUPNP_LIST_DESTRUCTORFUNC destructorFunc)
Definition list.c:257
void(* MUPNP_LIST_DESTRUCTORFUNC)(void *)
Definition list.h:29
void mupnp_ssdp_server_delete(mUpnpSSDPServer *server)
Definition ssdp_server.c:47

◆ mupnp_ssdp_serverlist_gets

#define mupnp_ssdp_serverlist_gets ( serverList)
Value:

◆ mupnp_ssdp_serverlist_size

#define mupnp_ssdp_serverlist_size ( serverList)
Value:
int mupnp_list_size(mUpnpList *headList)
Definition list.c:53

◆ mupnp_ssdpresponse_server_getlistener

#define mupnp_ssdpresponse_server_getlistener ( server)
Value:
(server->listener)

◆ mupnp_ssdpresponse_server_getsocket

#define mupnp_ssdpresponse_server_getsocket ( server)
Value:
(server->httpuSock)

◆ mupnp_ssdpresponse_server_getuserdata

#define mupnp_ssdpresponse_server_getuserdata ( server)
Value:
(server->userData)

◆ mupnp_ssdpresponse_server_isopened

#define mupnp_ssdpresponse_server_isopened ( server)
Value:
((server->httpuSock != NULL) ? true : false)

◆ mupnp_ssdpresponse_server_next

#define mupnp_ssdpresponse_server_next ( server)
Value:

◆ mupnp_ssdpresponse_server_setlistener

#define mupnp_ssdpresponse_server_setlistener ( server,
func )
Value:
(server->listener = func)

◆ mupnp_ssdpresponse_server_setuserdata

#define mupnp_ssdpresponse_server_setuserdata ( server,
data )
Value:
(server->userData = data)

◆ mupnp_ssdpresponse_serverlist_add

#define mupnp_ssdpresponse_serverlist_add ( serverList,
server )
Value:
mupnp_list_add((mUpnpList*)serverList, (mUpnpList*)server)

◆ mupnp_ssdpresponse_serverlist_clear

#define mupnp_ssdpresponse_serverlist_clear ( serverList)
Value:
void mupnp_ssdpresponse_server_delete(mUpnpSSDPResponseServer *server)
Definition ssdp_response_server.c:53

◆ mupnp_ssdpresponse_serverlist_gets

#define mupnp_ssdpresponse_serverlist_gets ( serverList)

◆ mupnp_ssdpresponse_serverlist_size

#define mupnp_ssdpresponse_serverlist_size ( serverList)
Value:

Typedef Documentation

◆ MUPNP_SSDP_LISTNER

typedef void(* MUPNP_SSDP_LISTNER) (mUpnpSSDPPacket *)

◆ MUPNP_SSDP_RESPONSE_LISTNER

typedef void(* MUPNP_SSDP_RESPONSE_LISTNER) (mUpnpSSDPPacket *)

◆ mUpnpHttpMuSocket

◆ mUpnpHttpUSocket

◆ mUpnpSSDPPacket

◆ mUpnpSSDPResponseServer

◆ mUpnpSSDPResponseServerList

◆ mUpnpSSDPServer

◆ mUpnpSSDPServerList

Function Documentation

◆ mupnp_httpmu_socket_bind()

bool mupnp_httpmu_socket_bind ( mUpnpHttpMuSocket * sock,
const char * mcastAddr,
int port,
const char * bindAddr )

◆ mupnp_httpmu_socket_recv()

ssize_t mupnp_httpmu_socket_recv ( mUpnpHttpMuSocket * sock,
mUpnpSSDPPacket * ssdpPkt )

◆ mupnp_httpu_socket_recv()

ssize_t mupnp_httpu_socket_recv ( mUpnpHttpUSocket * sock,
mUpnpSSDPPacket * ssdpPkt )

◆ mupnp_ssdp_packet_clear()

void mupnp_ssdp_packet_clear ( mUpnpSSDPPacket * ssdpPkt)

◆ mupnp_ssdp_packet_copy()

void mupnp_ssdp_packet_copy ( mUpnpSSDPPacket * destSsdpPkt,
mUpnpSSDPPacket * srcSsdpPkt )

◆ mupnp_ssdp_packet_delete()

void mupnp_ssdp_packet_delete ( mUpnpSSDPPacket * ssdpPkt)

◆ mupnp_ssdp_packet_getmaxage()

long mupnp_ssdp_packet_getmaxage ( mUpnpSSDPPacket * ssdpPkt)

◆ mupnp_ssdp_packet_isrootdevice()

bool mupnp_ssdp_packet_isrootdevice ( mUpnpSSDPPacket * ssdpPkt)

◆ mupnp_ssdp_packet_new()

mUpnpSSDPPacket * mupnp_ssdp_packet_new ( void )

◆ mupnp_ssdp_packet_print()

void mupnp_ssdp_packet_print ( mUpnpSSDPPacket * ssdpPkt)

◆ mupnp_ssdp_packet_setheader()

void mupnp_ssdp_packet_setheader ( mUpnpSSDPPacket * ssdpPkt,
char * ssdpMsg )

◆ mupnp_ssdp_server_close()

bool mupnp_ssdp_server_close ( mUpnpSSDPServer * server)

◆ mupnp_ssdp_server_delete()

void mupnp_ssdp_server_delete ( mUpnpSSDPServer * server)

◆ mupnp_ssdp_server_new()

mUpnpSSDPServer * mupnp_ssdp_server_new ( void )

◆ mupnp_ssdp_server_open()

bool mupnp_ssdp_server_open ( mUpnpSSDPServer * server,
char * bindAddr )

◆ mupnp_ssdp_server_performlistener()

void mupnp_ssdp_server_performlistener ( mUpnpSSDPServer * server,
mUpnpSSDPPacket * ssdpPkt )

◆ mupnp_ssdp_server_start()

bool mupnp_ssdp_server_start ( mUpnpSSDPServer * server)

◆ mupnp_ssdp_server_stop()

bool mupnp_ssdp_server_stop ( mUpnpSSDPServer * server)

◆ mupnp_ssdp_serverlist_close()

bool mupnp_ssdp_serverlist_close ( mUpnpSSDPServerList * ssdpServerList)

◆ mupnp_ssdp_serverlist_delete()

void mupnp_ssdp_serverlist_delete ( mUpnpSSDPServerList * serverList)

◆ mupnp_ssdp_serverlist_new()

mUpnpSSDPServerList * mupnp_ssdp_serverlist_new ( void )

◆ mupnp_ssdp_serverlist_open()

bool mupnp_ssdp_serverlist_open ( mUpnpSSDPServerList * ssdpServerList)

◆ mupnp_ssdp_serverlist_setlistener()

void mupnp_ssdp_serverlist_setlistener ( mUpnpSSDPServerList * ssdpServerList,
MUPNP_SSDP_LISTNER listener )

◆ mupnp_ssdp_serverlist_setuserdata()

void mupnp_ssdp_serverlist_setuserdata ( mUpnpSSDPServerList * ssdpServerList,
void * data )

◆ mupnp_ssdp_serverlist_start()

bool mupnp_ssdp_serverlist_start ( mUpnpSSDPServerList * ssdpServerList)

◆ mupnp_ssdp_serverlist_stop()

bool mupnp_ssdp_serverlist_stop ( mUpnpSSDPServerList * ssdpServerList)

◆ mupnp_ssdpresponse_server_close()

bool mupnp_ssdpresponse_server_close ( mUpnpSSDPResponseServer * server)

◆ mupnp_ssdpresponse_server_delete()

void mupnp_ssdpresponse_server_delete ( mUpnpSSDPResponseServer * server)

◆ mupnp_ssdpresponse_server_new()

mUpnpSSDPResponseServer * mupnp_ssdpresponse_server_new ( void )

◆ mupnp_ssdpresponse_server_open()

bool mupnp_ssdpresponse_server_open ( mUpnpSSDPResponseServer * server,
int bindPort,
char * bindAddr )

◆ mupnp_ssdpresponse_server_performlistener()

void mupnp_ssdpresponse_server_performlistener ( mUpnpSSDPResponseServer * server,
mUpnpSSDPPacket * ssdpPkt )

◆ mupnp_ssdpresponse_server_post()

bool mupnp_ssdpresponse_server_post ( mUpnpSSDPResponseServer * server,
mUpnpSSDPRequest * ssdpReq )

◆ mupnp_ssdpresponse_server_start()

bool mupnp_ssdpresponse_server_start ( mUpnpSSDPResponseServer * server)

◆ mupnp_ssdpresponse_server_stop()

bool mupnp_ssdpresponse_server_stop ( mUpnpSSDPResponseServer * server)

◆ mupnp_ssdpresponse_serverlist_close()

bool mupnp_ssdpresponse_serverlist_close ( mUpnpSSDPResponseServerList * ssdpServerList)

◆ mupnp_ssdpresponse_serverlist_delete()

void mupnp_ssdpresponse_serverlist_delete ( mUpnpSSDPResponseServerList * serverList)

◆ mupnp_ssdpresponse_serverlist_new()

mUpnpSSDPResponseServerList * mupnp_ssdpresponse_serverlist_new ( void )

◆ mupnp_ssdpresponse_serverlist_open()

bool mupnp_ssdpresponse_serverlist_open ( mUpnpSSDPResponseServerList * ssdpServerList,
int bindPort )

◆ mupnp_ssdpresponse_serverlist_post()

bool mupnp_ssdpresponse_serverlist_post ( mUpnpSSDPResponseServerList * ssdpServerList,
mUpnpSSDPRequest * ssdpReq )

◆ mupnp_ssdpresponse_serverlist_setlistener()

void mupnp_ssdpresponse_serverlist_setlistener ( mUpnpSSDPResponseServerList * ssdpServerList,
MUPNP_SSDP_LISTNER listener )

◆ mupnp_ssdpresponse_serverlist_setuserdata()

void mupnp_ssdpresponse_serverlist_setuserdata ( mUpnpSSDPResponseServerList * ssdpServerList,
void * data )

◆ mupnp_ssdpresponse_serverlist_start()

bool mupnp_ssdpresponse_serverlist_start ( mUpnpSSDPResponseServerList * ssdpServerList)

◆ mupnp_ssdpresponse_serverlist_stop()

bool mupnp_ssdpresponse_serverlist_stop ( mUpnpSSDPResponseServerList * ssdpServerList)