fix doc example typo
[boost.git] / boost / asio / ssl / context.hpp
blobed7e6aa944f767c4b032b089fda65c12f020b13b
1 //
2 // context.hpp
3 // ~~~~~~~~~~~
4 //
5 // Copyright (c) 2005 Voipster / Indrek dot Juhani at voipster dot com
6 // Copyright (c) 2005-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7 //
8 // Distributed under the Boost Software License, Version 1.0. (See accompanying
9 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
12 #ifndef BOOST_ASIO_SSL_CONTEXT_HPP
13 #define BOOST_ASIO_SSL_CONTEXT_HPP
15 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
16 # pragma once
17 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
19 #include <boost/asio/detail/push_options.hpp>
21 #include <boost/asio/ssl/basic_context.hpp>
22 #include <boost/asio/ssl/context_service.hpp>
24 namespace boost {
25 namespace asio {
26 namespace ssl {
28 /// Typedef for the typical usage of context.
29 typedef basic_context<context_service> context;
31 } // namespace ssl
32 } // namespace asio
33 } // namespace boost
35 #include <boost/asio/detail/pop_options.hpp>
37 #endif // BOOST_ASIO_SSL_CONTEXT_HPP