#include <GDynamicPage.h>
|
static bool | parseFileParam (const char *pParams, size_t nParamsLen, const char **ppFilename, size_t *pFilenameLen, const unsigned char **ppFile, size_t *pFileLen) |
| This is a rather hacky method that parses the parameters of a specific upload-file form. More...
|
|
static void | unescapeUrl (char *szOut, const char *szIn, size_t nInLen) |
| Unescapes a URL. (i.e. replace "%20" with " ", etc.). szOut should point to a buffer at least as big as szIn (including the null terminator). This will stop when it hits the null-terminator in szIn or when nInLen characters have been parsed. So if szIn is null-terminated, you can safely pass in a huge arbitrary value for nInLen. More...
|
|
GClasses::GDynamicPageServer::GDynamicPageServer |
( |
int |
port, |
|
|
GRand * |
pRand |
|
) |
| |
virtual GClasses::GDynamicPageServer::~GDynamicPageServer |
( |
| ) |
|
|
virtual |
void GClasses::GDynamicPageServer::computePasswordSalt |
( |
| ) |
|
|
protected |
const char* GClasses::GDynamicPageServer::daemonSalt |
( |
| ) |
|
void GClasses::GDynamicPageServer::doMaintenance |
( |
| ) |
|
|
protected |
Returns the session with the specified id. If no session is found with that id, returns NULL.
void GClasses::GDynamicPageServer::flushSessions |
( |
| ) |
|
void GClasses::GDynamicPageServer::go |
( |
| ) |
|
Makes a new session with the specified id.
const char* GClasses::GDynamicPageServer::myAddress |
( |
| ) |
|
Returns the account if the password is correct. Returns NULL if not.
virtual void GClasses::GDynamicPageServer::onEverySixHours |
( |
| ) |
|
|
inlinevirtual |
virtual void GClasses::GDynamicPageServer::onShutDown |
( |
| ) |
|
|
inlinevirtual |
virtual void GClasses::GDynamicPageServer::onStateChange |
( |
| ) |
|
|
inlinevirtual |
const char* GClasses::GDynamicPageServer::passwordSalt |
( |
| ) |
|
void GClasses::GDynamicPageServer::printSessionIds |
( |
std::ostream & |
stream | ) |
|
Prints all known session ids to the stream. (This is used for debugging purposes.)
GRand* GClasses::GDynamicPageServer::prng |
( |
| ) |
|
|
inline |
void GClasses::GDynamicPageServer::redirect |
( |
std::ostream & |
response, |
|
|
const char * |
szUrl |
|
) |
| |
void GClasses::GDynamicPageServer::setDaemonSalt |
( |
const char * |
szSalt | ) |
|
void GClasses::GDynamicPageServer::shutDown |
( |
| ) |
|
bool GClasses::GDynamicPageServer::m_bKeepGoing |
|
protected |
char GClasses::GDynamicPageServer::m_daemonSalt[16] |
|
protected |
char GClasses::GDynamicPageServer::m_passwordSalt[16] |
|
protected |
GRand* GClasses::GDynamicPageServer::m_pRand |
|
protected |
char* GClasses::GDynamicPageServer::m_szMyAddress |
|
protected |