ServerWebHandler.cpp File Reference

#include <webserver/ServerWebHandler.h>
#include <server/ServerLog.h>
#include <server/ScorchedServer.h>
#include <server/ScorchedServerUtil.h>
#include <webserver/ServerWebServerUtil.h>
#include <server/ServerCommon.h>
#include <server/ServerAdminCommon.h>
#include <server/ServerAdminSessions.h>
#include <server/ServerState.h>
#include <server/ServerParams.h>
#include <server/ServerChannelManager.h>
#include <landscapedef/LandscapeDefinitionsBase.h>
#include <engine/ModFiles.h>
#include <common/Defines.h>
#include <common/Logger.h>
#include <common/OptionsScorched.h>
#include <common/OptionsTransient.h>
#include <common/StatsLogger.h>
#include <common/FileList.h>
#include <net/NetInterface.h>
#include <tank/TankContainer.h>
#include <tank/TankColorGenerator.h>
#include <tank/TankState.h>
#include <tank/TankScore.h>
#include <tankai/TankAIStore.h>
#include <XML/XMLParser.h>
#include <vector>
#include <algorithm>

Go to the source code of this file.

Classes

struct  LogFile

Functions

static bool lt_logfile (const LogFile &o1, const LogFile &o2)
static const char * getAdminUserName (std::map< std::string, std::string > &fields)
static void addUser (std::string &admins, ServerAdminSessions::Credential &crendential)


Function Documentation

static void addUser ( std::string admins,
ServerAdminSessions::Credential crendential 
) [static]

Definition at line 622 of file ServerWebHandler.cpp.

References S3D::formatStringBuffer(), ServerAdminSessions::Credential::permissions, and ServerAdminSessions::Credential::username.

Referenced by ServerWebHandler::SessionsHandler::processRequest().

static const char* getAdminUserName ( std::map< std::string, std::string > &  fields  )  [static]

Definition at line 61 of file ServerWebHandler.cpp.

References ServerAdminSessions::SessionParams::credentials, ServerWebServerUtil::getField(), ServerAdminSessions::getSession(), and ServerAdminSessions::instance().

Referenced by ServerWebHandler::GameHandler::processRequest(), and ServerWebHandler::PlayerHandler::processRequest().

static bool lt_logfile ( const LogFile o1,
const LogFile o2 
) [inline, static]

Definition at line 56 of file ServerWebHandler.cpp.

References LogFile::fileTime.

Referenced by ServerWebHandler::LogFileHandler::processRequest().


Generated on Mon Feb 16 15:14:59 2009 for Scorched3D by  doxygen 1.5.3