The Battle for Wesnoth  1.15.2+dev
Namespaces | Macros | Functions | Variables
ban.cpp File Reference
#include "config.hpp"
#include "lexical_cast.hpp"
#include "log.hpp"
#include "filesystem.hpp"
#include "serialization/parser.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode.hpp"
#include "server/ban.hpp"
#include "utils/functional.hpp"
Include dependency graph for ban.cpp:

Go to the source code of this file.

Namespaces

 wesnothd
 

Macros

#define ERR_SERVER   LOG_STREAM(err, log_server)
 
#define LOG_SERVER   LOG_STREAM(info, log_server)
 
#define DBG_SERVER   LOG_STREAM(debug, log_server)
 

Functions

std::ostream & wesnothd::operator<< (std::ostream &o, const banned &n)
 
ip_mask wesnothd::parse_ip (const std::string &ip)
 

Variables

static lg::log_domain wesnothd::log_server ("server")
 

Macro Definition Documentation

◆ DBG_SERVER

#define DBG_SERVER   LOG_STREAM(debug, log_server)

Definition at line 34 of file ban.cpp.

Referenced by wesnothd::ban_manager::check_ban_times().

◆ ERR_SERVER

#define ERR_SERVER   LOG_STREAM(err, log_server)

◆ LOG_SERVER

#define LOG_SERVER   LOG_STREAM(info, log_server)