mirror of
https://github.com/boostorg/cobalt.git
synced 2026-01-19 04:02:16 +00:00
committed by
Klemens Morgenstern
parent
5a85b3de86
commit
7f433d8b5a
@@ -92,4 +92,12 @@ namespace pmr = std::pmr;
|
||||
|
||||
}
|
||||
|
||||
#if !defined(BOOST_COBALT_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_COBALT_NO_LIB)
|
||||
#define BOOST_LIB_NAME boost_cobalt
|
||||
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COBALT_DYN_LINK)
|
||||
#define BOOST_DYN_LINK
|
||||
#endif
|
||||
#include <boost/config/auto_link.hpp>
|
||||
#endif
|
||||
|
||||
#endif //BOOST_COBALT_CONFIG_HPP
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#define BOOST_COBALT_EXPERIMENTAL_IO_ACCEPTOR_HPP
|
||||
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
#include <boost/cobalt/io/stream_socket.hpp>
|
||||
#include <boost/cobalt/io/seq_packet_socket.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IODATAGRAM_SOCKET_HPP
|
||||
#define BOOST_COBALT_IODATAGRAM_SOCKET_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/endpoint.hpp>
|
||||
#include <boost/cobalt/io/socket.hpp>
|
||||
|
||||
|
||||
22
include/boost/cobalt/io/detail/config.hpp
Normal file
22
include/boost/cobalt/io/detail/config.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// Copyright (c) 2025 Klemens Morgenstern (klemens.morgenstern@gmx.net)
|
||||
//
|
||||
// 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)
|
||||
//
|
||||
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#ifndef BOOST_COBALT_IO_DETAIL_CONFIG_HPP
|
||||
#define BOOST_COBALT_IO_DETAIL_CONFIG_HPP
|
||||
|
||||
#if !defined(BOOST_COBALT_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_COBALT_NO_LIB) && !defined(BOOST_COBALT_IO_NO_LIB)
|
||||
#define BOOST_LIB_NAME boost_cobalt_io
|
||||
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COBALT_DYN_LINK)
|
||||
#define BOOST_DYN_LINK
|
||||
#endif
|
||||
#include <boost/config/auto_link.hpp>
|
||||
#endif
|
||||
|
||||
#endif // BOOST_COBALT_IO_DETAIL_CONFIG_HPP
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_ENDPOINT_HPP
|
||||
#define BOOST_COBALT_IO_ENDPOINT_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/config.hpp>
|
||||
#include <boost/cobalt/detail/exception.hpp>
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <boost/asio/basic_file.hpp>
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/config.hpp>
|
||||
#include <boost/system/result.hpp>
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_OPS_HPP
|
||||
#define BOOST_COBALT_OPS_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/config.hpp>
|
||||
#include <boost/cobalt/detail/handler.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_PIPE_HPP
|
||||
#define BOOST_COBALT_IO_PIPE_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/config.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_RANDOM_ACCESS_DEVICE_HPP
|
||||
#define BOOST_COBALT_IO_RANDOM_ACCESS_DEVICE_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <boost/asio/basic_random_access_file.hpp>
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/config.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
#include <boost/cobalt/io/file.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_READ_HPP
|
||||
#define BOOST_COBALT_IO_READ_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#ifndef BOOST_COBALT_RESOLVER_HPP
|
||||
#define BOOST_COBALT_RESOLVER_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/endpoint.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
#include <boost/cobalt/op.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IOSEQ_PACKET_SOCKET_HPP
|
||||
#define BOOST_COBALT_IOSEQ_PACKET_SOCKET_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/endpoint.hpp>
|
||||
#include <boost/cobalt/io/socket.hpp>
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_SERIAL_PORT_HPP
|
||||
#define BOOST_COBALT_IO_SERIAL_PORT_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/op.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_SIGNAL_SET_HPP
|
||||
#define BOOST_COBALT_IO_SIGNAL_SET_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/op.hpp>
|
||||
|
||||
#include <boost/asio/basic_signal_set.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_SLEEP_HPP
|
||||
#define BOOST_COBALT_IO_SLEEP_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
#include <boost/cobalt/io/steady_timer.hpp>
|
||||
#include <boost/cobalt/io/system_timer.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IOSOCKET_HPP
|
||||
#define BOOST_COBALT_IOSOCKET_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/endpoint.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
#include <boost/asio/socket_base.hpp>
|
||||
|
||||
@@ -6,8 +6,18 @@
|
||||
//
|
||||
|
||||
|
||||
#ifndef BOOST_COBALT_SSL_HPP
|
||||
#define BOOST_COBALT_SSL_HPP
|
||||
#ifndef BOOST_COBALT_IO_SSL_HPP
|
||||
#define BOOST_COBALT_IO_SSL_HPP
|
||||
|
||||
|
||||
#if !defined(BOOST_COBALT_SSL_SOURCE) && !defined(BOOST_ALL_NO_LIB) \
|
||||
&& !defined(BOOST_COBALT_NO_LIB) && !defined(BOOST_COBALT_IO_SSL_NO_LIB)
|
||||
#define BOOST_LIB_NAME boost_cobalt_io_ssl
|
||||
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COBALT_DYN_LINK)
|
||||
#define BOOST_DYN_LINK
|
||||
#endif
|
||||
#include <boost/config/auto_link.hpp>
|
||||
#endif
|
||||
|
||||
#include <boost/cobalt/io/socket.hpp>
|
||||
#include <boost/cobalt/io/stream.hpp>
|
||||
@@ -140,4 +150,5 @@ struct BOOST_SYMBOL_VISIBLE stream final : private detail::stream_impl, socket,
|
||||
|
||||
}
|
||||
|
||||
#endif //BOOST_COBALT_SSL_HPP
|
||||
#endif //BOOST_COBALT_IO_SSL_HPP
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_STEADY_TIMER_HPP
|
||||
#define BOOST_COBALT_IO_STEADY_TIMER_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/op.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
#include <boost/asio/basic_waitable_timer.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_STREAM_HPP
|
||||
#define BOOST_COBALT_IO_STREAM_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <boost/asio/basic_stream_file.hpp>
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/config.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
#include <boost/cobalt/io/file.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_STREAM_SOCKET_HPP
|
||||
#define BOOST_COBALT_IO_STREAM_SOCKET_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/endpoint.hpp>
|
||||
#include <boost/cobalt/io/socket.hpp>
|
||||
#include <boost/cobalt/io/stream.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_SYSTEM_TIMER_HPP
|
||||
#define BOOST_COBALT_IO_SYSTEM_TIMER_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/op.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
#include <boost/asio/basic_waitable_timer.hpp>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef BOOST_COBALT_IO_WRITE_HPP
|
||||
#define BOOST_COBALT_IO_WRITE_HPP
|
||||
|
||||
#include <boost/cobalt/io/detail/config.hpp>
|
||||
#include <boost/cobalt/io/buffer.hpp>
|
||||
#include <boost/cobalt/io/ops.hpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user