diff options
author | q66 <q66@chimera-linux.org> | 2024-12-15 03:04:53 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2025-01-15 15:26:31 +0100 |
commit | 81edc181f85395c39964104ef049a195bafb9737 (patch) | |
tree | 1b8016ab4565c905e1e6720d8acec52af283aef7 /src/lib/asiolink/unix_domain_socket.cc | |
parent | [#3679] Changed with into in (diff) | |
download | kea-81edc181f85395c39964104ef049a195bafb9737.tar.xz kea-81edc181f85395c39964104ef049a195bafb9737.zip |
[#3696] Update asiolink for boost 1.87
Diffstat (limited to 'src/lib/asiolink/unix_domain_socket.cc')
-rw-r--r-- | src/lib/asiolink/unix_domain_socket.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/asiolink/unix_domain_socket.cc b/src/lib/asiolink/unix_domain_socket.cc index f43e1c9e9b..43ff3c8f24 100644 --- a/src/lib/asiolink/unix_domain_socket.cc +++ b/src/lib/asiolink/unix_domain_socket.cc @@ -83,7 +83,7 @@ public: /// @param buffer Buffers holding the data to be sent. /// @param handler User supplied callback to be invoked when data have /// been sent or sending error is signalled. - void doSend(const boost::asio::const_buffers_1& buffer, + void doSend(const boost::asio::const_buffer& buffer, const UnixDomainSocket::Handler& handler); @@ -103,7 +103,7 @@ public: /// @param ec Error code returned as a result of sending the data. /// @param length Length of the data sent. void sendHandler(const UnixDomainSocket::Handler& remote_handler, - const boost::asio::const_buffers_1& buffer, + const boost::asio::const_buffer& buffer, const boost::system::error_code& ec, size_t length); @@ -127,7 +127,7 @@ public: /// @param buffer A buffer into which the data should be received. /// @param handler User supplied callback invoked when data have been /// received on an error is signalled. - void doReceive(const boost::asio::mutable_buffers_1& buffer, + void doReceive(const boost::asio::mutable_buffer& buffer, const UnixDomainSocket::Handler& handler); /// @brief Local handler invoked as a result of asynchronous receive. @@ -146,7 +146,7 @@ public: /// @param ec Error code returned as a result of asynchronous receive. /// @param length Size of the received data. void receiveHandler(const UnixDomainSocket::Handler& remote_handler, - const boost::asio::mutable_buffers_1& buffer, + const boost::asio::mutable_buffer& buffer, const boost::system::error_code& ec, size_t length); @@ -197,7 +197,7 @@ UnixDomainSocketImpl::asyncSend(const void* data, const size_t length, } void -UnixDomainSocketImpl::doSend(const boost::asio::const_buffers_1& buffer, +UnixDomainSocketImpl::doSend(const boost::asio::const_buffer& buffer, const UnixDomainSocket::Handler& handler) { auto local_handler = std::bind(&UnixDomainSocketImpl::sendHandler, shared_from_this(), @@ -207,7 +207,7 @@ UnixDomainSocketImpl::doSend(const boost::asio::const_buffers_1& buffer, void UnixDomainSocketImpl::sendHandler(const UnixDomainSocket::Handler& remote_handler, - const boost::asio::const_buffers_1& buffer, + const boost::asio::const_buffer& buffer, const boost::system::error_code& ec, size_t length) { // The asynchronous send may return EWOULDBLOCK or EAGAIN on some @@ -230,7 +230,7 @@ UnixDomainSocketImpl::asyncReceive(void* data, const size_t length, } void -UnixDomainSocketImpl::doReceive(const boost::asio::mutable_buffers_1& buffer, +UnixDomainSocketImpl::doReceive(const boost::asio::mutable_buffer& buffer, const UnixDomainSocket::Handler& handler) { auto local_handler = std::bind(&UnixDomainSocketImpl::receiveHandler, shared_from_this(), @@ -240,7 +240,7 @@ UnixDomainSocketImpl::doReceive(const boost::asio::mutable_buffers_1& buffer, void UnixDomainSocketImpl::receiveHandler(const UnixDomainSocket::Handler& remote_handler, - const boost::asio::mutable_buffers_1& buffer, + const boost::asio::mutable_buffer& buffer, const boost::system::error_code& ec, size_t length) { // The asynchronous receive may return EWOULDBLOCK or EAGAIN on some |