summaryrefslogtreecommitdiff
path: root/src/managment/general.hpp
diff options
context:
space:
mode:
authoreportnov <eportnov@ibs.ru>2022-09-13 15:03:29 +0300
committereportnov <eportnov@ibs.ru>2022-09-13 15:03:29 +0300
commitbab12f829beb53feb6f48db7a0ef33574740989c (patch)
treeb99540f810072b746d033d6cd8d06aabb75afcad /src/managment/general.hpp
parenta58088ec7a45bb86b155a8ef9514b35b0ba8d1c9 (diff)
parente8aeea36e6b48e18d27f9d7857cd29524cc8aa1f (diff)
downloadobmc-sila-smtp-bab12f829beb53feb6f48db7a0ef33574740989c.tar.xz
Merge branch 'bugfix/write_file'
Diffstat (limited to 'src/managment/general.hpp')
-rw-r--r--src/managment/general.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/managment/general.hpp b/src/managment/general.hpp
new file mode 100644
index 0000000..ed1a789
--- /dev/null
+++ b/src/managment/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;
+ };
+}