The Battle for Wesnoth  1.19.3+dev
Public Member Functions | Public Attributes | List of all members
preferences::login_info Struct Reference

#include <preferences.hpp>

Public Member Functions

 login_info (const std::string &username, const std::string &server, const secure_buffer &key)
 
 login_info (const std::string &username, const std::string &server)
 
std::size_t size () const
 

Public Attributes

std::string username
 
std::string server
 
secure_buffer key
 

Detailed Description

Definition at line 125 of file preferences.hpp.

Constructor & Destructor Documentation

◆ login_info() [1/2]

preferences::login_info::login_info ( const std::string &  username,
const std::string &  server,
const secure_buffer key 
)
inline

Definition at line 129 of file preferences.hpp.

◆ login_info() [2/2]

preferences::login_info::login_info ( const std::string &  username,
const std::string &  server 
)
inline

Definition at line 132 of file preferences.hpp.

Member Function Documentation

◆ size()

std::size_t preferences::login_info::size ( ) const
inline

Definition at line 135 of file preferences.hpp.

References key, server, and username.

Member Data Documentation

◆ key

secure_buffer preferences::login_info::key

Definition at line 128 of file preferences.hpp.

Referenced by prefs::password(), prefs::set_password(), and size().

◆ server

std::string preferences::login_info::server

Definition at line 127 of file preferences.hpp.

Referenced by size().

◆ username

std::string preferences::login_info::username

Definition at line 127 of file preferences.hpp.

Referenced by size().


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