diff options
Diffstat (limited to 'src/general/struct.hpp')
-rw-r--r-- | src/general/struct.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/general/struct.hpp b/src/general/struct.hpp new file mode 100644 index 0000000..db61e68 --- /dev/null +++ b/src/general/struct.hpp @@ -0,0 +1,21 @@ +#pragma once + +#include <unordered_map> +#include <string> +#include <list> + +namespace smtp::general +{ + using SettingsFileDataType = std::unordered_map<std::string, std::string>; + using MailsSet = std::list<std::string>; + + struct SettingsFields + { + bool is_need_auth; + bool is_need_ssl; + std::string username; + std::string password; + std::string host; + std::string port; + }; +} |