]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/process/detail/posix/asio_fwd.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / process / detail / posix / asio_fwd.hpp
1 // Copyright (c) 2016 Klemens D. Morgenstern
2 //
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #ifndef BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_
7 #define BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_
8
9 #include <memory>
10
11 namespace boost { namespace asio {
12
13 class mutable_buffer;
14 class mutable_buffers_1;
15
16 class const_buffer;
17 class const_buffers_1;
18
19 template<typename Allocator>
20 class basic_streambuf;
21
22 typedef basic_streambuf<std::allocator<char>> streambuf;
23 class io_context;
24
25
26 #if defined(BOOST_ASIO_ENABLE_OLD_SERVICES)
27 class signal_set_service;
28 template <typename SignalSetService>
29
30 class basic_signal_set;
31 typedef basic_signal_set<signal_set_service> signal_set;
32 #else /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
33 class signal_set;
34 #endif /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
35
36 template <typename Handler>
37 class basic_yield_context;
38
39 namespace posix {
40
41 #if defined(BOOST_ASIO_ENABLE_OLD_SERVICES)
42 class stream_descriptor_service;
43
44 template <typename StreamDesscriptorService>
45 class basic_stream_descriptor;
46 typedef basic_stream_descriptor<stream_descriptor_service> stream_descriptor;
47 #else /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
48 class stream_descriptor;
49 #endif /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
50
51 } //posix
52 } //asio
53
54 namespace process { namespace detail { namespace posix {
55
56 class async_pipe;
57
58 template<typename T>
59 struct async_in_buffer;
60
61 template<int p1, int p2, typename Buffer>
62 struct async_out_buffer;
63
64 template<int p1, int p2, typename Type>
65 struct async_out_future;
66
67 } // posix
68 } // detail
69
70 using ::boost::process::detail::posix::async_pipe;
71
72 } // process
73 } // boost
74
75
76
77
78 #endif /* BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_ */