aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver/Server/SslContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/bnetserver/Server/SslContext.h')
-rw-r--r--src/server/bnetserver/Server/SslContext.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/server/bnetserver/Server/SslContext.h b/src/server/bnetserver/Server/SslContext.h
new file mode 100644
index 00000000000..5425ab46231
--- /dev/null
+++ b/src/server/bnetserver/Server/SslContext.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef SslContext_h__
+#define SslContext_h__
+
+#include <boost/asio/ssl/context.hpp>
+
+namespace Battlenet
+{
+ class SslContext
+ {
+ public:
+ static bool Initialize();
+
+ static boost::asio::ssl::context& instance();
+ };
+}
+
+#endif // SslContext_h__