summaryrefslogtreecommitdiff
path: root/src/management/general.hpp
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-09-21 15:50:34 +0300
committerclaiff <claiff@mail.ru>2022-09-21 15:50:34 +0300
commit641c95dcf8c6585caaa6e79d4bec9b53fd666369 (patch)
tree3c7e38f17738c181437f482d05c66dde94f7c28a /src/management/general.hpp
parent629929ebbe386277c25740bc0f4971aac38444d0 (diff)
parent6cfc7076808138be2ad5a2b05edd635b5948bf31 (diff)
downloadobmc-sila-smtp-641c95dcf8c6585caaa6e79d4bec9b53fd666369.tar.xz
Merge branch 'feature/checking'
Diffstat (limited to 'src/management/general.hpp')
-rw-r--r--src/management/general.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/management/general.hpp b/src/management/general.hpp
new file mode 100644
index 0000000..ed1a789
--- /dev/null
+++ b/src/management/general.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <unordered_map>
+#include <string>
+#include <list>
+
+namespace smtp::manage
+{
+ 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;
+ };
+}