The Battle for Wesnoth  1.19.7+dev
Macros | Functions | Variables
wesnothd_connection.cpp File Reference
#include "wesnothd_connection.hpp"
#include "gettext.hpp"
#include "gui/dialogs/loading_screen.hpp"
#include "log.hpp"
#include "preferences/preferences.hpp"
#include "serialization/parser.hpp"
#include "tls_root_store.hpp"
#include <boost/asio/connect.hpp>
#include <boost/asio/read.hpp>
#include <cstdint>
#include <deque>
#include <functional>
Include dependency graph for wesnothd_connection.cpp:

Go to the source code of this file.

Macros

#define BOOST_ASIO_NO_DEPRECATED
 
#define DBG_NW   LOG_STREAM(debug, log_network)
 
#define LOG_NW   LOG_STREAM(info, log_network)
 
#define WRN_NW   LOG_STREAM(warn, log_network)
 
#define ERR_NW   LOG_STREAM(err, log_network)
 
#define MPTEST_LOG   ((void)0)
 

Functions

template<typename Verifier >
auto verbose_verify (Verifier &&verifier)
 

Variables

static lg::log_domain log_network ("network")
 

Macro Definition Documentation

◆ BOOST_ASIO_NO_DEPRECATED

#define BOOST_ASIO_NO_DEPRECATED

Definition at line 16 of file wesnothd_connection.cpp.

◆ DBG_NW

#define DBG_NW   LOG_STREAM(debug, log_network)

Definition at line 35 of file wesnothd_connection.cpp.

◆ ERR_NW

#define ERR_NW   LOG_STREAM(err, log_network)

Definition at line 38 of file wesnothd_connection.cpp.

◆ LOG_NW

#define LOG_NW   LOG_STREAM(info, log_network)

Definition at line 36 of file wesnothd_connection.cpp.

◆ MPTEST_LOG

#define MPTEST_LOG   ((void)0)

Definition at line 55 of file wesnothd_connection.cpp.

◆ WRN_NW

#define WRN_NW   LOG_STREAM(warn, log_network)

Definition at line 37 of file wesnothd_connection.cpp.

Function Documentation

◆ verbose_verify()

template<typename Verifier >
auto verbose_verify ( Verifier &&  verifier)

Definition at line 184 of file wesnothd_connection.cpp.

References DBG_NW.

Referenced by wesnothd_connection::handle_handshake().

Variable Documentation

◆ log_network

lg::log_domain log_network("network") ( "network"  )
static