Leosac
0.8.0
Open Source Access Control
|
Wrapper around the SMTP module configuration. More...
#include <SMTPConfig.hpp>
Public Member Functions | |
SMTPConfig () | |
SMTPConfigId | id () const |
void | server_add (SMTPServerInfo) |
void | server_clear () |
const std::vector< SMTPServerInfo > & | servers () const |
Private Attributes | |
SMTPConfigId | id_ |
std::vector< SMTPServerInfo > | servers_ |
Friends | |
class | odb::access |
Wrapper around the SMTP module configuration.
There probably shouldn't be more than one object of this type in the database.
Definition at line 73 of file SMTPConfig.hpp.
SMTPConfig::SMTPConfig | ( | ) |
Definition at line 25 of file SMTPConfig.cpp.
SMTPConfigId SMTPConfig::id | ( | ) | const |
Definition at line 45 of file SMTPConfig.cpp.
void SMTPConfig::server_add | ( | SMTPServerInfo | smtps | ) |
Definition at line 30 of file SMTPConfig.cpp.
void SMTPConfig::server_clear | ( | ) |
Definition at line 35 of file SMTPConfig.cpp.
const std::vector< SMTPServerInfo > & SMTPConfig::servers | ( | ) | const |
Definition at line 40 of file SMTPConfig.cpp.
|
friend |
Definition at line 91 of file SMTPConfig.hpp.
|
private |
Definition at line 86 of file SMTPConfig.hpp.
|
private |
Definition at line 89 of file SMTPConfig.hpp.