diff options
author | claiff <claiff@mail.ru> | 2022-10-06 12:26:56 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-10-06 12:26:56 +0300 |
commit | 04e97b30880c1c3252fe900ccac268267539e424 (patch) | |
tree | 1f4cd2d1e2f8cf2442d055c519d06c6e0692febc /src/general/struct.hpp | |
parent | 8edef99a5b52643e0b919c424357752cbbc9a8dd (diff) | |
parent | da5f91a0ce15351a82beb061c3ccc965164529bc (diff) | |
download | obmc-sila-smtp-04e97b30880c1c3252fe900ccac268267539e424.tar.xz |
Merge branch 'bugfix/proxy_file_reader'
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; + }; +} |