mUPnP for C
|
#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 | |
mUpnpHttpServer * | mupnp_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 mUpnpHttpServerClientData * | mupnp_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 struct _mUpnpHttpServerClientData mUpnpHttpServerClientData |
const char * mupnp_http_getservername | ( | char * | buf, |
size_t | bufSize ) |
|
static |
|
static |
|
static |
bool mupnp_http_server_close | ( | mUpnpHttpServer * | httpServer | ) |
void mupnp_http_server_delete | ( | mUpnpHttpServer * | httpServer | ) |
mUpnpHttpServer * mupnp_http_server_new | ( | void | ) |
bool mupnp_http_server_open | ( | mUpnpHttpServer * | httpServer, |
int | bindPort, | ||
const char * | bindAddr ) |
void mupnp_http_server_setlistener | ( | mUpnpHttpServer * | httpServer, |
MUPNP_HTTP_LISTENER | listener ) |
bool mupnp_http_server_start | ( | mUpnpHttpServer * | httpServer | ) |
bool mupnp_http_server_stop | ( | mUpnpHttpServer * | httpServer | ) |
|
static |