mUPnP for C
http_server.c File Reference
#include <mupnp/http/http.h>
#include <mupnp/util/log.h>
#include <mupnp/util/string.h>
#include <mupnp/util/thread.h>

Data Structures

struct  _mUpnpHttpServerClientData
 

Typedefs

typedef struct _mUpnpHttpServerClientData mUpnpHttpServerClientData
 

Functions

mUpnpHttpServermupnp_http_server_new ()
 
void mupnp_http_server_delete (mUpnpHttpServer *httpServer)
 
bool mupnp_http_server_open (mUpnpHttpServer *httpServer, int bindPort, const char *bindAddr)
 
bool mupnp_http_server_close (mUpnpHttpServer *httpServer)
 
static mUpnpHttpServerClientDatamupnp_http_server_clientdata_new (mUpnpHttpServer *httpServer, mUpnpSocket *clientSock)
 
static void mupnp_http_server_clientdata_delete (mUpnpHttpServerClientData *clientData)
 
static void mupnp_http_server_clientthread (mUpnpThread *thread)
 
static void mupnp_http_server_thread (mUpnpThread *thread)
 
bool mupnp_http_server_start (mUpnpHttpServer *httpServer)
 
bool mupnp_http_server_stop (mUpnpHttpServer *httpServer)
 
void mupnp_http_server_setlistener (mUpnpHttpServer *httpServer, MUPNP_HTTP_LISTENER listener)
 
const char * mupnp_http_getservername (char *buf, size_t bufSize)
 

Typedef Documentation

◆ mUpnpHttpServerClientData

Function Documentation

◆ mupnp_http_getservername()

const char * mupnp_http_getservername ( char * buf,
size_t bufSize )

◆ mupnp_http_server_clientdata_delete()

static void mupnp_http_server_clientdata_delete ( mUpnpHttpServerClientData * clientData)
static

◆ mupnp_http_server_clientdata_new()

static mUpnpHttpServerClientData * mupnp_http_server_clientdata_new ( mUpnpHttpServer * httpServer,
mUpnpSocket * clientSock )
static

◆ mupnp_http_server_clientthread()

static void mupnp_http_server_clientthread ( mUpnpThread * thread)
static

◆ mupnp_http_server_close()

bool mupnp_http_server_close ( mUpnpHttpServer * httpServer)

◆ mupnp_http_server_delete()

void mupnp_http_server_delete ( mUpnpHttpServer * httpServer)

◆ mupnp_http_server_new()

mUpnpHttpServer * mupnp_http_server_new ( void )

◆ mupnp_http_server_open()

bool mupnp_http_server_open ( mUpnpHttpServer * httpServer,
int bindPort,
const char * bindAddr )

◆ mupnp_http_server_setlistener()

void mupnp_http_server_setlistener ( mUpnpHttpServer * httpServer,
MUPNP_HTTP_LISTENER listener )

◆ mupnp_http_server_start()

bool mupnp_http_server_start ( mUpnpHttpServer * httpServer)

◆ mupnp_http_server_stop()

bool mupnp_http_server_stop ( mUpnpHttpServer * httpServer)

◆ mupnp_http_server_thread()

static void mupnp_http_server_thread ( mUpnpThread * thread)
static