The Battle for Wesnoth  1.15.2+dev
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, std::time_t _first_attempt)
bool operator== (const login_log &l) const

Public Attributes

std::string ip
int attempts
std::time_t first_attempt

Detailed Description

Definition at line 92 of file server.hpp.

Constructor & Destructor Documentation

◆ login_log()

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

Definition at line 93 of file server.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 99 of file server.hpp.

References wesnothd::server::connection_log::ip, and ip.

Member Data Documentation

◆ attempts

int wesnothd::server::login_log::attempts

Definition at line 96 of file server.hpp.

◆ first_attempt

std::time_t wesnothd::server::login_log::first_attempt

Definition at line 97 of file server.hpp.

◆ ip

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

Definition at line 95 of file server.hpp.

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

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