2007-07-04 08:24:30 +00:00
|
|
|
//
|
|
|
|
// context.hpp
|
|
|
|
// ~~~~~~~~~~~
|
|
|
|
//
|
|
|
|
// Copyright (c) 2005 Voipster / Indrek dot Juhani at voipster dot com
|
2008-03-08 23:47:38 +00:00
|
|
|
// Copyright (c) 2005-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
2007-07-04 08:24:30 +00:00
|
|
|
//
|
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ASIO_SSL_CONTEXT_HPP
|
|
|
|
#define ASIO_SSL_CONTEXT_HPP
|
|
|
|
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
|
|
|
# pragma once
|
|
|
|
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
|
|
|
|
|
|
|
#include "asio/detail/push_options.hpp"
|
|
|
|
|
|
|
|
#include "asio/ssl/basic_context.hpp"
|
|
|
|
#include "asio/ssl/context_service.hpp"
|
|
|
|
|
|
|
|
namespace asio {
|
|
|
|
namespace ssl {
|
|
|
|
|
|
|
|
/// Typedef for the typical usage of context.
|
|
|
|
typedef basic_context<context_service> context;
|
|
|
|
|
|
|
|
} // namespace ssl
|
|
|
|
} // namespace asio
|
|
|
|
|
|
|
|
#include "asio/detail/pop_options.hpp"
|
|
|
|
|
|
|
|
#endif // ASIO_SSL_CONTEXT_HPP
|