The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Functions | Variables
ban.cpp File Reference
#include "config.hpp"
#include "filesystem.hpp"
#include "lexical_cast.hpp"
#include "log.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/chrono.hpp"
#include "serialization/parser.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode.hpp"
#include "utils/general.hpp"
#include "server/wesnothd/ban.hpp"
#include <functional>
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 36 of file ban.cpp.

◆ ERR_SERVER

#define ERR_SERVER   LOG_STREAM(err, log_server)

Definition at line 34 of file ban.cpp.

◆ LOG_SERVER

#define LOG_SERVER   LOG_STREAM(info, log_server)

Definition at line 35 of file ban.cpp.