chttp_server.c File Reference

#include <cybergarage/http/chttp.h>
#include <cybergarage/util/cthread.h>
#include <cybergarage/util/clog.h>
#include <cybergarage/util/cstring.h>

Data Structures

struct  _CgHttpServerClientData

Typedefs

typedef struct
_CgHttpServerClientData 
CgHttpServerClientData

Functions

CgHttpServercg_http_server_new ()
void cg_http_server_delete (CgHttpServer *httpServer)
BOOL cg_http_server_open (CgHttpServer *httpServer, int bindPort, char *bindAddr)
BOOL cg_http_server_close (CgHttpServer *httpServer)
static CgHttpServerClientDatacg_http_server_clientdata_new (CgHttpServer *httpServer, CgSocket *clientSock)
static void cg_http_server_clientdata_delete (CgHttpServerClientData *clientData)
static void cg_http_server_clientthread (CgThread *thread)
static void cg_http_server_thread (CgThread *thread)
BOOL cg_http_server_start (CgHttpServer *httpServer)
BOOL cg_http_server_stop (CgHttpServer *httpServer)
void cg_http_server_setlistener (CgHttpServer *httpServer, CG_HTTP_LISTENER listener)
char * cg_http_getservername (char *buf, int bufSize)

Typedef Documentation


Function Documentation

char* cg_http_getservername ( char *  buf,
int  bufSize 
)
static void cg_http_server_clientdata_delete ( CgHttpServerClientData clientData  )  [static]
static CgHttpServerClientData* cg_http_server_clientdata_new ( CgHttpServer httpServer,
CgSocket clientSock 
) [static]
static void cg_http_server_clientthread ( CgThread thread  )  [static]
BOOL cg_http_server_close ( CgHttpServer httpServer  ) 
void cg_http_server_delete ( CgHttpServer httpServer  ) 
CgHttpServer* cg_http_server_new (  ) 
BOOL cg_http_server_open ( CgHttpServer httpServer,
int  bindPort,
char *  bindAddr 
)
void cg_http_server_setlistener ( CgHttpServer httpServer,
CG_HTTP_LISTENER  listener 
)
BOOL cg_http_server_start ( CgHttpServer httpServer  ) 
BOOL cg_http_server_stop ( CgHttpServer httpServer  ) 
static void cg_http_server_thread ( CgThread thread  )  [static]

Generated on Tue Feb 23 23:14:23 2010 for CyberLink for C by  doxygen 1.6.1