ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Networking::HandlerUtils Class Reference

#include <handlerutils.h>

List of all members.

Static Public Member Functions

static Common::ArchivegetZipArchive ()
static Common::ArchiveMemberList listArchive ()
static Common::SeekableReadStreamgetArchiveFile (Common::String name)
static Common::String readEverythingFromStream (Common::SeekableReadStream *const stream)
static Common::String normalizePath (const Common::String &path)
static bool hasForbiddenCombinations (const Common::String &path)
static bool isBlacklisted (const Common::String &path)
static bool hasPermittedPrefix (const Common::String &path)
static bool permittedPath (const Common::String path)
static void setMessageHandler (Client &client, Common::String message, Common::String redirectTo="")
static void setFilesManagerErrorMessageHandler (Client &client, Common::String message, Common::String redirectTo="")

Detailed Description

Definition at line 31 of file handlerutils.h.

Member Function Documentation

Common::SeekableReadStream * Networking::HandlerUtils::getArchiveFile ( Common::String  name  )  [static]

Definition at line 77 of file handlerutils.cpp.

Common::Archive * Networking::HandlerUtils::getZipArchive (  )  [static]

Definition at line 38 of file handlerutils.cpp.

bool Networking::HandlerUtils::hasForbiddenCombinations ( const Common::String path  )  [static]

Definition at line 126 of file handlerutils.cpp.

bool Networking::HandlerUtils::hasPermittedPrefix ( const Common::String path  )  [static]

Definition at line 148 of file handlerutils.cpp.

bool Networking::HandlerUtils::isBlacklisted ( const Common::String path  )  [static]

Definition at line 130 of file handlerutils.cpp.

Common::ArchiveMemberList Networking::HandlerUtils::listArchive (  )  [static]

Definition at line 67 of file handlerutils.cpp.

Common::String Networking::HandlerUtils::normalizePath ( const Common::String path  )  [static]

Definition at line 101 of file handlerutils.cpp.

bool Networking::HandlerUtils::permittedPath ( const Common::String  path  )  [static]

Definition at line 170 of file handlerutils.cpp.

Common::String Networking::HandlerUtils::readEverythingFromStream ( Common::SeekableReadStream *const   stream  )  [static]

Definition at line 90 of file handlerutils.cpp.

void Networking::HandlerUtils::setFilesManagerErrorMessageHandler ( Client client,
Common::String  message,
Common::String  redirectTo = "" 
) [static]

Definition at line 189 of file handlerutils.cpp.

void Networking::HandlerUtils::setMessageHandler ( Client client,
Common::String  message,
Common::String  redirectTo = "" 
) [static]

Definition at line 174 of file handlerutils.cpp.

The documentation for this class was generated from the following files:

Generated on Sat Nov 9 2019 05:02:23 for ResidualVM by doxygen 1.7.1
curved edge   curved edge