The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
wesnothd::server::login_log Struct Reference

Public Member Functions

 login_log (std::string _ip, int _attempts, time_t _first_attempt)
 
bool operator== (const login_log &l) const
 

Public Attributes

std::string ip
 
int attempts
 
time_t first_attempt
 

Detailed Description

Definition at line 101 of file server.hpp.

Constructor & Destructor Documentation

wesnothd::server::login_log::login_log ( std::string  _ip,
int  _attempts,
time_t  _first_attempt 
)
inline

Definition at line 102 of file server.hpp.

Member Function Documentation

bool wesnothd::server::login_log::operator== ( const login_log l) const
inline

Definition at line 108 of file server.hpp.

References ip.

Member Data Documentation

int wesnothd::server::login_log::attempts

Definition at line 105 of file server.hpp.

time_t wesnothd::server::login_log::first_attempt

Definition at line 106 of file server.hpp.

std::string wesnothd::server::login_log::ip

Definition at line 104 of file server.hpp.

Referenced by wesnothd::server::handle_login(), and operator==().


The documentation for this struct was generated from the following file: