mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-20 17:17:13 +02:00
Initial preparations for CURL and Discord integration.
This commit is contained in:
24
module/Vendor/ASIO/include/asio/ts/buffer.hpp
vendored
Normal file
24
module/Vendor/ASIO/include/asio/ts/buffer.hpp
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
//
|
||||
// ts/buffer.hpp
|
||||
// ~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_BUFFER_HPP
|
||||
#define ASIO_TS_BUFFER_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/buffer.hpp"
|
||||
#include "asio/completion_condition.hpp"
|
||||
#include "asio/read.hpp"
|
||||
#include "asio/write.hpp"
|
||||
#include "asio/read_until.hpp"
|
||||
|
||||
#endif // ASIO_TS_BUFFER_HPP
|
35
module/Vendor/ASIO/include/asio/ts/executor.hpp
vendored
Normal file
35
module/Vendor/ASIO/include/asio/ts/executor.hpp
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
//
|
||||
// ts/executor.hpp
|
||||
// ~~~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_EXECUTOR_HPP
|
||||
#define ASIO_TS_EXECUTOR_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/async_result.hpp"
|
||||
#include "asio/associated_allocator.hpp"
|
||||
#include "asio/execution_context.hpp"
|
||||
#include "asio/is_executor.hpp"
|
||||
#include "asio/associated_executor.hpp"
|
||||
#include "asio/bind_executor.hpp"
|
||||
#include "asio/executor_work_guard.hpp"
|
||||
#include "asio/system_executor.hpp"
|
||||
#include "asio/executor.hpp"
|
||||
#include "asio/any_io_executor.hpp"
|
||||
#include "asio/dispatch.hpp"
|
||||
#include "asio/post.hpp"
|
||||
#include "asio/defer.hpp"
|
||||
#include "asio/strand.hpp"
|
||||
#include "asio/packaged_task.hpp"
|
||||
#include "asio/use_future.hpp"
|
||||
|
||||
#endif // ASIO_TS_EXECUTOR_HPP
|
40
module/Vendor/ASIO/include/asio/ts/internet.hpp
vendored
Normal file
40
module/Vendor/ASIO/include/asio/ts/internet.hpp
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
//
|
||||
// ts/internet.hpp
|
||||
// ~~~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_INTERNET_HPP
|
||||
#define ASIO_TS_INTERNET_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/ip/address.hpp"
|
||||
#include "asio/ip/address_v4.hpp"
|
||||
#include "asio/ip/address_v4_iterator.hpp"
|
||||
#include "asio/ip/address_v4_range.hpp"
|
||||
#include "asio/ip/address_v6.hpp"
|
||||
#include "asio/ip/address_v6_iterator.hpp"
|
||||
#include "asio/ip/address_v6_range.hpp"
|
||||
#include "asio/ip/bad_address_cast.hpp"
|
||||
#include "asio/ip/basic_endpoint.hpp"
|
||||
#include "asio/ip/basic_resolver_query.hpp"
|
||||
#include "asio/ip/basic_resolver_entry.hpp"
|
||||
#include "asio/ip/basic_resolver_iterator.hpp"
|
||||
#include "asio/ip/basic_resolver.hpp"
|
||||
#include "asio/ip/host_name.hpp"
|
||||
#include "asio/ip/network_v4.hpp"
|
||||
#include "asio/ip/network_v6.hpp"
|
||||
#include "asio/ip/tcp.hpp"
|
||||
#include "asio/ip/udp.hpp"
|
||||
#include "asio/ip/v6_only.hpp"
|
||||
#include "asio/ip/unicast.hpp"
|
||||
#include "asio/ip/multicast.hpp"
|
||||
|
||||
#endif // ASIO_TS_INTERNET_HPP
|
20
module/Vendor/ASIO/include/asio/ts/io_context.hpp
vendored
Normal file
20
module/Vendor/ASIO/include/asio/ts/io_context.hpp
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
//
|
||||
// ts/io_context.hpp
|
||||
// ~~~~~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_IO_CONTEXT_HPP
|
||||
#define ASIO_TS_IO_CONTEXT_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/io_context.hpp"
|
||||
|
||||
#endif // ASIO_TS_IO_CONTEXT_HPP
|
26
module/Vendor/ASIO/include/asio/ts/net.hpp
vendored
Normal file
26
module/Vendor/ASIO/include/asio/ts/net.hpp
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
//
|
||||
// ts/net.hpp
|
||||
// ~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_NET_HPP
|
||||
#define ASIO_TS_NET_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/ts/netfwd.hpp"
|
||||
#include "asio/ts/executor.hpp"
|
||||
#include "asio/ts/io_context.hpp"
|
||||
#include "asio/ts/timer.hpp"
|
||||
#include "asio/ts/buffer.hpp"
|
||||
#include "asio/ts/socket.hpp"
|
||||
#include "asio/ts/internet.hpp"
|
||||
|
||||
#endif // ASIO_TS_NET_HPP
|
262
module/Vendor/ASIO/include/asio/ts/netfwd.hpp
vendored
Normal file
262
module/Vendor/ASIO/include/asio/ts/netfwd.hpp
vendored
Normal file
@ -0,0 +1,262 @@
|
||||
//
|
||||
// ts/netfwd.hpp
|
||||
// ~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_NETFWD_HPP
|
||||
#define ASIO_TS_NETFWD_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/detail/config.hpp"
|
||||
|
||||
#if defined(ASIO_HAS_CHRONO)
|
||||
# include "asio/detail/chrono.hpp"
|
||||
#endif // defined(ASIO_HAS_CHRONO)
|
||||
|
||||
#if defined(ASIO_HAS_BOOST_DATE_TIME)
|
||||
# include "asio/detail/date_time_fwd.hpp"
|
||||
#endif // defined(ASIO_HAS_BOOST_DATE_TIME)
|
||||
|
||||
#if !defined(ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
|
||||
#include "asio/execution/blocking.hpp"
|
||||
#include "asio/execution/outstanding_work.hpp"
|
||||
#include "asio/execution/relationship.hpp"
|
||||
#endif // !defined(ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
|
||||
|
||||
#if !defined(GENERATING_DOCUMENTATION)
|
||||
|
||||
#include "asio/detail/push_options.hpp"
|
||||
|
||||
namespace asio {
|
||||
|
||||
class execution_context;
|
||||
|
||||
template <typename T, typename Executor>
|
||||
class executor_binder;
|
||||
|
||||
#if !defined(ASIO_EXECUTOR_WORK_GUARD_DECL)
|
||||
#define ASIO_EXECUTOR_WORK_GUARD_DECL
|
||||
|
||||
template <typename Executor, typename = void, typename = void>
|
||||
class executor_work_guard;
|
||||
|
||||
#endif // !defined(ASIO_EXECUTOR_WORK_GUARD_DECL)
|
||||
|
||||
template <typename Blocking, typename Relationship, typename Allocator>
|
||||
class basic_system_executor;
|
||||
|
||||
#if defined(ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
|
||||
|
||||
class executor;
|
||||
|
||||
typedef executor any_io_executor;
|
||||
|
||||
#else // defined(ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
|
||||
|
||||
namespace execution {
|
||||
|
||||
#if !defined(ASIO_EXECUTION_ANY_EXECUTOR_FWD_DECL)
|
||||
#define ASIO_EXECUTION_ANY_EXECUTOR_FWD_DECL
|
||||
|
||||
#if defined(ASIO_HAS_VARIADIC_TEMPLATES)
|
||||
|
||||
template <typename... SupportableProperties>
|
||||
class any_executor;
|
||||
|
||||
#else // defined(ASIO_HAS_VARIADIC_TEMPLATES)
|
||||
|
||||
template <typename = void, typename = void, typename = void,
|
||||
typename = void, typename = void, typename = void,
|
||||
typename = void, typename = void, typename = void>
|
||||
class any_executor;
|
||||
|
||||
#endif // defined(ASIO_HAS_VARIADIC_TEMPLATES)
|
||||
|
||||
#endif // !defined(ASIO_EXECUTION_ANY_EXECUTOR_FWD_DECL)
|
||||
|
||||
template <typename U>
|
||||
struct context_as_t;
|
||||
|
||||
template <typename Property>
|
||||
struct prefer_only;
|
||||
|
||||
} // namespace execution
|
||||
|
||||
typedef execution::any_executor<
|
||||
execution::context_as_t<execution_context&>,
|
||||
execution::blocking_t::never_t,
|
||||
execution::prefer_only<execution::blocking_t::possibly_t>,
|
||||
execution::prefer_only<execution::outstanding_work_t::tracked_t>,
|
||||
execution::prefer_only<execution::outstanding_work_t::untracked_t>,
|
||||
execution::prefer_only<execution::relationship_t::fork_t>,
|
||||
execution::prefer_only<execution::relationship_t::continuation_t>
|
||||
> any_io_executor;
|
||||
|
||||
#endif // defined(ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
|
||||
|
||||
template <typename Executor>
|
||||
class strand;
|
||||
|
||||
class io_context;
|
||||
|
||||
template <typename Clock>
|
||||
struct wait_traits;
|
||||
|
||||
#if defined(ASIO_HAS_BOOST_DATE_TIME)
|
||||
|
||||
template <typename Time>
|
||||
struct time_traits;
|
||||
|
||||
#endif // defined(ASIO_HAS_BOOST_DATE_TIME)
|
||||
|
||||
#if !defined(ASIO_BASIC_WAITABLE_TIMER_FWD_DECL)
|
||||
#define ASIO_BASIC_WAITABLE_TIMER_FWD_DECL
|
||||
|
||||
template <typename Clock,
|
||||
typename WaitTraits = wait_traits<Clock>,
|
||||
typename Executor = any_io_executor>
|
||||
class basic_waitable_timer;
|
||||
|
||||
#endif // !defined(ASIO_BASIC_WAITABLE_TIMER_FWD_DECL)
|
||||
|
||||
#if defined(ASIO_HAS_CHRONO)
|
||||
|
||||
typedef basic_waitable_timer<chrono::system_clock> system_timer;
|
||||
|
||||
typedef basic_waitable_timer<chrono::steady_clock> steady_timer;
|
||||
|
||||
typedef basic_waitable_timer<chrono::high_resolution_clock>
|
||||
high_resolution_timer;
|
||||
|
||||
#endif // defined(ASIO_HAS_CHRONO)
|
||||
|
||||
#if !defined(ASIO_BASIC_SOCKET_FWD_DECL)
|
||||
#define ASIO_BASIC_SOCKET_FWD_DECL
|
||||
|
||||
template <typename Protocol, typename Executor = any_io_executor>
|
||||
class basic_socket;
|
||||
|
||||
#endif // !defined(ASIO_BASIC_SOCKET_FWD_DECL)
|
||||
|
||||
#if !defined(ASIO_BASIC_DATAGRAM_SOCKET_FWD_DECL)
|
||||
#define ASIO_BASIC_DATAGRAM_SOCKET_FWD_DECL
|
||||
|
||||
template <typename Protocol, typename Executor = any_io_executor>
|
||||
class basic_datagram_socket;
|
||||
|
||||
#endif // !defined(ASIO_BASIC_DATAGRAM_SOCKET_FWD_DECL)
|
||||
|
||||
#if !defined(ASIO_BASIC_STREAM_SOCKET_FWD_DECL)
|
||||
#define ASIO_BASIC_STREAM_SOCKET_FWD_DECL
|
||||
|
||||
// Forward declaration with defaulted arguments.
|
||||
template <typename Protocol, typename Executor = any_io_executor>
|
||||
class basic_stream_socket;
|
||||
|
||||
#endif // !defined(ASIO_BASIC_STREAM_SOCKET_FWD_DECL)
|
||||
|
||||
#if !defined(ASIO_BASIC_SOCKET_ACCEPTOR_FWD_DECL)
|
||||
#define ASIO_BASIC_SOCKET_ACCEPTOR_FWD_DECL
|
||||
|
||||
template <typename Protocol, typename Executor = any_io_executor>
|
||||
class basic_socket_acceptor;
|
||||
|
||||
#endif // !defined(ASIO_BASIC_SOCKET_ACCEPTOR_FWD_DECL)
|
||||
|
||||
#if !defined(ASIO_BASIC_SOCKET_STREAMBUF_FWD_DECL)
|
||||
#define ASIO_BASIC_SOCKET_STREAMBUF_FWD_DECL
|
||||
|
||||
// Forward declaration with defaulted arguments.
|
||||
template <typename Protocol,
|
||||
#if defined(ASIO_HAS_BOOST_DATE_TIME) \
|
||||
|| defined(GENERATING_DOCUMENTATION)
|
||||
typename Clock = boost::posix_time::ptime,
|
||||
typename WaitTraits = time_traits<Clock> >
|
||||
#else
|
||||
typename Clock = chrono::steady_clock,
|
||||
typename WaitTraits = wait_traits<Clock> >
|
||||
#endif
|
||||
class basic_socket_streambuf;
|
||||
|
||||
#endif // !defined(ASIO_BASIC_SOCKET_STREAMBUF_FWD_DECL)
|
||||
|
||||
#if !defined(ASIO_BASIC_SOCKET_IOSTREAM_FWD_DECL)
|
||||
#define ASIO_BASIC_SOCKET_IOSTREAM_FWD_DECL
|
||||
|
||||
// Forward declaration with defaulted arguments.
|
||||
template <typename Protocol,
|
||||
#if defined(ASIO_HAS_BOOST_DATE_TIME) \
|
||||
|| defined(GENERATING_DOCUMENTATION)
|
||||
typename Clock = boost::posix_time::ptime,
|
||||
typename WaitTraits = time_traits<Clock> >
|
||||
#else
|
||||
typename Clock = chrono::steady_clock,
|
||||
typename WaitTraits = wait_traits<Clock> >
|
||||
#endif
|
||||
class basic_socket_iostream;
|
||||
|
||||
#endif // !defined(ASIO_BASIC_SOCKET_IOSTREAM_FWD_DECL)
|
||||
|
||||
namespace ip {
|
||||
|
||||
class address;
|
||||
|
||||
class address_v4;
|
||||
|
||||
class address_v6;
|
||||
|
||||
template <typename Address>
|
||||
class basic_address_iterator;
|
||||
|
||||
typedef basic_address_iterator<address_v4> address_v4_iterator;
|
||||
|
||||
typedef basic_address_iterator<address_v6> address_v6_iterator;
|
||||
|
||||
template <typename Address>
|
||||
class basic_address_range;
|
||||
|
||||
typedef basic_address_range<address_v4> address_v4_range;
|
||||
|
||||
typedef basic_address_range<address_v6> address_v6_range;
|
||||
|
||||
class network_v4;
|
||||
|
||||
class network_v6;
|
||||
|
||||
template <typename InternetProtocol>
|
||||
class basic_endpoint;
|
||||
|
||||
template <typename InternetProtocol>
|
||||
class basic_resolver_entry;
|
||||
|
||||
template <typename InternetProtocol>
|
||||
class basic_resolver_results;
|
||||
|
||||
#if !defined(ASIO_IP_BASIC_RESOLVER_FWD_DECL)
|
||||
#define ASIO_IP_BASIC_RESOLVER_FWD_DECL
|
||||
|
||||
template <typename InternetProtocol, typename Executor = any_io_executor>
|
||||
class basic_resolver;
|
||||
|
||||
#endif // !defined(ASIO_IP_BASIC_RESOLVER_FWD_DECL)
|
||||
|
||||
class tcp;
|
||||
|
||||
class udp;
|
||||
|
||||
} // namespace ip
|
||||
} // namespace asio
|
||||
|
||||
#include "asio/detail/pop_options.hpp"
|
||||
|
||||
#endif // !defined(GENERATING_DOCUMENTATION)
|
||||
|
||||
#endif // ASIO_TS_NETFWD_HPP
|
27
module/Vendor/ASIO/include/asio/ts/socket.hpp
vendored
Normal file
27
module/Vendor/ASIO/include/asio/ts/socket.hpp
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
//
|
||||
// ts/socket.hpp
|
||||
// ~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_SOCKET_HPP
|
||||
#define ASIO_TS_SOCKET_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/socket_base.hpp"
|
||||
#include "asio/basic_socket.hpp"
|
||||
#include "asio/basic_datagram_socket.hpp"
|
||||
#include "asio/basic_stream_socket.hpp"
|
||||
#include "asio/basic_socket_acceptor.hpp"
|
||||
#include "asio/basic_socket_streambuf.hpp"
|
||||
#include "asio/basic_socket_iostream.hpp"
|
||||
#include "asio/connect.hpp"
|
||||
|
||||
#endif // ASIO_TS_SOCKET_HPP
|
26
module/Vendor/ASIO/include/asio/ts/timer.hpp
vendored
Normal file
26
module/Vendor/ASIO/include/asio/ts/timer.hpp
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
//
|
||||
// ts/timer.hpp
|
||||
// ~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
//
|
||||
// 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_TS_TIMER_HPP
|
||||
#define ASIO_TS_TIMER_HPP
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
# pragma once
|
||||
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
||||
|
||||
#include "asio/detail/chrono.hpp"
|
||||
|
||||
#include "asio/wait_traits.hpp"
|
||||
#include "asio/basic_waitable_timer.hpp"
|
||||
#include "asio/system_timer.hpp"
|
||||
#include "asio/steady_timer.hpp"
|
||||
#include "asio/high_resolution_timer.hpp"
|
||||
|
||||
#endif // ASIO_TS_TIMER_HPP
|
Reference in New Issue
Block a user