mUPnP for C
device_ssdp_server.c File Reference
#include <mupnp/control/control.h>
#include <mupnp/device.h>
#include <mupnp/util/log.h>
#include <mupnp/util/string.h>
#include <ctype.h>

Functions

static int filter_duplicate_m_search (mUpnpSSDPPacket *ssdpPkt)
 
static int simple_string_hash (char *str, int table_size)
 
void mupnp_device_ssdpmessagereceived (mUpnpDevice *dev, mUpnpSSDPPacket *ssdpPkt, int filter)
 
void mupnp_device_ssdplistener (mUpnpSSDPPacket *ssdpPkt)
 

Function Documentation

◆ filter_duplicate_m_search()

static int filter_duplicate_m_search ( mUpnpSSDPPacket * ssdpPkt)
static

◆ mupnp_device_ssdplistener()

void mupnp_device_ssdplistener ( mUpnpSSDPPacket * ssdpPkt)

The SSDP message handler function.

Parameters
ssdpPktSSDP Packet

◆ mupnp_device_ssdpmessagereceived()

void mupnp_device_ssdpmessagereceived ( mUpnpDevice * dev,
mUpnpSSDPPacket * ssdpPkt,
int filter )

SSDP message handler

Parameters
devThe device in question
ssdpPktReceived SSDP packet

◆ simple_string_hash()

static int simple_string_hash ( char * str,
int table_size )
static