The Battle for Wesnoth  1.19.7+dev
Classes | Namespaces | Typedefs | Functions
ban.hpp File Reference
#include "exceptions.hpp"
#include "utils/optional_fwd.hpp"
#include <list>
#include <map>
#include <queue>
#include <set>
Include dependency graph for ban.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wesnothd::banned_compare
 We want to move the lowest value to the top. More...
 
struct  wesnothd::banned_compare_subnet
 
class  wesnothd::banned
 
struct  wesnothd::banned::error
 
class  wesnothd::ban_manager
 

Namespaces

 wesnothd
 

Typedefs

typedef std::shared_ptr< banned > wesnothd::banned_ptr
 
typedef std::set< banned_ptr, banned_compare_subnet > wesnothd::ban_set
 
typedef std::list< banned_ptr > wesnothd::deleted_ban_list
 
typedef std::priority_queue< banned_ptr, std::vector< banned_ptr >, banned_compare > wesnothd::ban_time_queue
 
typedef std::map< std::string, std::chrono::seconds > wesnothd::default_ban_times
 
typedef std::pair< unsigned int, unsigned int > wesnothd::ip_mask
 

Functions

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