DDraceNetwork Documentation
Loading...
Searching...
No Matches
serverbrowser.cpp File Reference
#include "serverbrowser.h"
#include "serverbrowser_http.h"
#include "serverbrowser_ping_cache.h"
#include <algorithm>
#include <map>
#include <set>
#include <vector>
#include <base/hash_ctxt.h>
#include <base/log.h>
#include <base/system.h>
#include <engine/shared/config.h>
#include <engine/shared/json.h>
#include <engine/shared/masterserver.h>
#include <engine/shared/network.h>
#include <engine/shared/packer.h>
#include <engine/shared/protocol.h>
#include <engine/shared/serverinfo.h>
#include <engine/console.h>
#include <engine/engine.h>
#include <engine/favorites.h>
#include <engine/friends.h>
#include <engine/http.h>
#include <engine/storage.h>
Include dependency graph for serverbrowser.cpp:

Classes

class  CSortWrap
 

Functions

static bool MatchesPart (const char *a, const char *b)
 
static bool MatchesExactly (const char *a, const char *b)
 
static bool ValidIdentifier (const char *pId, size_t MaxLength)
 
static bool ValidateIdentifier (const char *pId, size_t MaxLength, const char *pContext, IConsole *pConsole)
 
static void ServerBrowserFormatAddresses (char *pBuffer, int BufferSize, NETADDR *pAddrs, int NumAddrs)
 
template<typename TNamedElement , typename TElementName >
static bool IsSubsetEquals (const std::vector< const TNamedElement * > &vpLeft, const std::set< TElementName > &Right)
 

Function Documentation

◆ IsSubsetEquals()

static bool IsSubsetEquals ( const std::vector< const TNamedElement * > &  vpLeft,
const std::set< TElementName > &  Right 
)
static

◆ MatchesExactly()

static bool MatchesExactly ( const char a,
const char b 
)
static

◆ MatchesPart()

static bool MatchesPart ( const char a,
const char b 
)
static

◆ ServerBrowserFormatAddresses()

static void ServerBrowserFormatAddresses ( char pBuffer,
int  BufferSize,
NETADDR pAddrs,
int  NumAddrs 
)
static

◆ ValidateIdentifier()

static bool ValidateIdentifier ( const char pId,
size_t  MaxLength,
const char pContext,
IConsole pConsole 
)
static

◆ ValidIdentifier()

static bool ValidIdentifier ( const char pId,
size_t  MaxLength 
)
static