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 Common::String toUtf8 (const char *)
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 78 of file handlerutils.cpp.

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

Definition at line 39 of file handlerutils.cpp.

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

Definition at line 127 of file handlerutils.cpp.

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

Definition at line 149 of file handlerutils.cpp.

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

Definition at line 131 of file handlerutils.cpp.

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

Definition at line 68 of file handlerutils.cpp.

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

Definition at line 102 of file handlerutils.cpp.

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

Definition at line 171 of file handlerutils.cpp.

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

Definition at line 91 of file handlerutils.cpp.

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

Definition at line 205 of file handlerutils.cpp.

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

Definition at line 190 of file handlerutils.cpp.

Common::String Networking::HandlerUtils::toUtf8 ( const char *  text  )  [static]

Definition at line 175 of file handlerutils.cpp.


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


Generated on Sat May 30 2020 05:03:33 for ResidualVM by doxygen 1.7.1
curved edge   curved edge