The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
ban.cpp File Reference
#include "config.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 "util.hpp"
#include "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

#define DBG_SERVER   LOG_STREAM(debug, log_server)

Definition at line 34 of file ban.cpp.

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

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