1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-07 17:37:12 +02:00

Initial preparations for CURL and Discord integration.

This commit is contained in:
Sandu Liviu Catalin
2021-01-27 07:27:48 +02:00
parent 8257eb61d6
commit 95705e87c8
1751 changed files with 440547 additions and 854 deletions
CMakeLists.txt
module
Base
CMakeLists.txt
Core
Entity
Library
Logger.cpp
Misc
Register.cppSqBase.hpp
Vendor
AES256
ASIO
COPYINGINSTALLLICENSE_1_0.txtMakefile.amREADMEasio.manifestautogen.shboost_asio.manifestboostify.plconfigure.ac
include
Makefile.amasio.hpp
asio
any_io_executor.hppassociated_allocator.hppassociated_executor.hppasync_result.hppawaitable.hppbasic_datagram_socket.hppbasic_deadline_timer.hppbasic_io_object.hppbasic_raw_socket.hppbasic_seq_packet_socket.hppbasic_serial_port.hppbasic_signal_set.hppbasic_socket.hppbasic_socket_acceptor.hppbasic_socket_iostream.hppbasic_socket_streambuf.hppbasic_stream_socket.hppbasic_streambuf.hppbasic_streambuf_fwd.hppbasic_waitable_timer.hppbind_executor.hppbuffer.hppbuffered_read_stream.hppbuffered_read_stream_fwd.hppbuffered_stream.hppbuffered_stream_fwd.hppbuffered_write_stream.hppbuffered_write_stream_fwd.hppbuffers_iterator.hppco_spawn.hppcompletion_condition.hppcompose.hppconnect.hppcoroutine.hppdeadline_timer.hppdefer.hppdetached.hpp
detail
array.hpparray_fwd.hppassert.hppatomic_count.hppbase_from_completion_cond.hppbind_handler.hppblocking_executor_op.hppbuffer_resize_guard.hppbuffer_sequence_adapter.hppbuffered_stream_storage.hppbulk_executor_op.hppcall_stack.hppchrono.hppchrono_time_traits.hppcompletion_handler.hppconcurrency_hint.hppconditionally_enabled_event.hppconditionally_enabled_mutex.hppconfig.hppconsuming_buffers.hppcstddef.hppcstdint.hppdate_time_fwd.hppdeadline_timer_service.hppdependent_type.hppdescriptor_ops.hppdescriptor_read_op.hppdescriptor_write_op.hppdev_poll_reactor.hppepoll_reactor.hppevent.hppeventfd_select_interrupter.hppexecutor_function.hppexecutor_op.hppfd_set_adapter.hppfenced_block.hppfunctional.hppfuture.hppgcc_arm_fenced_block.hppgcc_hppa_fenced_block.hppgcc_sync_fenced_block.hppgcc_x86_fenced_block.hppglobal.hpphandler_alloc_helpers.hpphandler_cont_helpers.hpphandler_invoke_helpers.hpphandler_tracking.hpphandler_type_requirements.hpphandler_work.hpphash_map.hpp
impl
io_control.hppio_object_impl.hppis_buffer_sequence.hppis_executor.hppkeyword_tss_ptr.hppkqueue_reactor.hpplimits.hpplocal_free_on_block_exit.hppmacos_fenced_block.hppmemory.hppmutex.hppnon_const_lvalue.hppnoncopyable.hppnull_event.hppnull_fenced_block.hppnull_global.hppnull_mutex.hppnull_reactor.hppnull_signal_blocker.hppnull_socket_service.hppnull_static_mutex.hppnull_thread.hppnull_tss_ptr.hppobject_pool.hppold_win_sdk_compat.hppop_queue.hppoperation.hpppipe_select_interrupter.hpppop_options.hppposix_event.hppposix_fd_set_adapter.hppposix_global.hppposix_mutex.hppposix_signal_blocker.hppposix_static_mutex.hppposix_thread.hppposix_tss_ptr.hpppush_options.hppreactive_descriptor_service.hppreactive_null_buffers_op.hppreactive_serial_port_service.hppreactive_socket_accept_op.hppreactive_socket_connect_op.hppreactive_socket_recv_op.hppreactive_socket_recvfrom_op.hppreactive_socket_recvmsg_op.hppreactive_socket_send_op.hppreactive_socket_sendto_op.hppreactive_socket_service.hppreactive_socket_service_base.hppreactive_wait_op.hppreactor.hppreactor_fwd.hppreactor_op.hppreactor_op_queue.hpprecycling_allocator.hppregex_fwd.hppresolve_endpoint_op.hppresolve_op.hppresolve_query_op.hppresolver_service.hppresolver_service_base.hppscheduler.hppscheduler_operation.hppscheduler_thread_info.hppscoped_lock.hppscoped_ptr.hppselect_interrupter.hppselect_reactor.hppservice_registry.hppsignal_blocker.hppsignal_handler.hppsignal_init.hppsignal_op.hppsignal_set_service.hppsocket_holder.hppsocket_ops.hppsocket_option.hppsocket_select_interrupter.hppsocket_types.hppsolaris_fenced_block.hppsource_location.hppstatic_mutex.hppstd_event.hppstd_fenced_block.hppstd_global.hppstd_mutex.hppstd_static_mutex.hppstd_thread.hppstrand_executor_service.hppstrand_service.hppstring_view.hppthread.hppthread_context.hppthread_group.hppthread_info_base.hppthrow_error.hppthrow_exception.hpptimer_queue.hpptimer_queue_base.hpptimer_queue_ptime.hpptimer_queue_set.hpptimer_scheduler.hpptimer_scheduler_fwd.hpptss_ptr.hpptype_traits.hppvariadic_templates.hppwait_handler.hppwait_op.hppwin_event.hppwin_fd_set_adapter.hppwin_fenced_block.hppwin_global.hppwin_iocp_handle_read_op.hppwin_iocp_handle_service.hppwin_iocp_handle_write_op.hppwin_iocp_io_context.hppwin_iocp_null_buffers_op.hppwin_iocp_operation.hppwin_iocp_overlapped_op.hppwin_iocp_overlapped_ptr.hppwin_iocp_serial_port_service.hppwin_iocp_socket_accept_op.hppwin_iocp_socket_connect_op.hppwin_iocp_socket_recv_op.hppwin_iocp_socket_recvfrom_op.hppwin_iocp_socket_recvmsg_op.hppwin_iocp_socket_send_op.hppwin_iocp_socket_service.hppwin_iocp_socket_service_base.hppwin_iocp_thread_info.hppwin_iocp_wait_op.hppwin_mutex.hppwin_object_handle_service.hppwin_static_mutex.hppwin_thread.hppwin_tss_ptr.hppwinapp_thread.hppwince_thread.hppwinrt_async_manager.hppwinrt_async_op.hppwinrt_resolve_op.hppwinrt_resolver_service.hppwinrt_socket_connect_op.hppwinrt_socket_recv_op.hppwinrt_socket_send_op.hppwinrt_ssocket_service.hppwinrt_ssocket_service_base.hppwinrt_timer_scheduler.hppwinrt_utils.hppwinsock_init.hppwork_dispatcher.hppwrapped_handler.hpp
dispatch.hpperror.hpperror_code.hppexecution.hpp
execution
execution_context.hppexecutor.hppexecutor_work_guard.hpp
experimental
generic
handler_alloc_hook.hpphandler_continuation_hook.hpphandler_invoke_hook.hpphigh_resolution_timer.hpp
impl
io_context.hppio_context_strand.hppio_service.hppio_service_strand.hpp
ip
is_applicable_property.hppis_executor.hppis_read_buffered.hppis_write_buffered.hpp
local
multiple_exceptions.hpppackaged_task.hppplaceholders.hpp
posix
post.hppprefer.hppquery.hppread.hppread_at.hppread_until.hppredirect_error.hpprequire.hpprequire_concept.hppserial_port.hppserial_port_base.hppsignal_set.hppsocket_base.hppspawn.hppssl.hpp
ssl
static_thread_pool.hppsteady_timer.hppstrand.hppstreambuf.hppsystem_context.hppsystem_error.hppsystem_executor.hppsystem_timer.hppthis_coro.hppthread.hppthread_pool.hpptime_traits.hpp
traits
ts
unyield.hppuse_awaitable.hppuse_future.hppuses_executor.hppversion.hppwait_traits.hpp
windows
write.hppwrite_at.hppyield.hpp
release.pl
src
tsify.pl
CMakeLists.txt
CPR
CURL
CHANGES
CMake
CMakeLists.txtCOPYINGGIT-INFOMacOSX-FrameworkMakefile.amMakefile.distREADMEREADME.mdRELEASE-NOTESSECURITY.mdacinclude.m4appveyor.ymlbuildconfbuildconf.batconfigure.accurl-config.in
include
lib
CMakeLists.txtMakefile.amMakefile.incMakefile.m32Makefile.netwareMakefile.vxworksaltsvc.caltsvc.hamigaos.camigaos.harpa_telnet.hasyn-ares.casyn-thread.casyn.hbase64.cc-hyper.cc-hyper.hchecksrc.plconfig-amigaos.hconfig-dos.hconfig-mac.hconfig-os400.hconfig-plan9.hconfig-riscos.hconfig-tpf.hconfig-vxworks.hconfig-win32.hconfig-win32ce.hconncache.cconncache.hconnect.cconnect.hcontent_encoding.ccontent_encoding.hcookie.ccookie.hcurl_addrinfo.ccurl_addrinfo.hcurl_base64.hcurl_config.h.cmakecurl_ctype.ccurl_ctype.hcurl_des.ccurl_des.hcurl_endian.ccurl_endian.hcurl_fnmatch.ccurl_fnmatch.hcurl_get_line.ccurl_get_line.hcurl_gethostname.ccurl_gethostname.hcurl_gssapi.ccurl_gssapi.hcurl_hmac.hcurl_krb5.hcurl_ldap.hcurl_md4.hcurl_md5.hcurl_memory.hcurl_memrchr.ccurl_memrchr.hcurl_multibyte.ccurl_multibyte.hcurl_ntlm_core.ccurl_ntlm_core.hcurl_ntlm_wb.ccurl_ntlm_wb.hcurl_path.ccurl_path.hcurl_printf.hcurl_range.ccurl_range.hcurl_rtmp.ccurl_rtmp.hcurl_sasl.ccurl_sasl.hcurl_setup.hcurl_setup_once.hcurl_sha256.hcurl_sspi.ccurl_sspi.hcurl_threads.ccurl_threads.hcurlx.hdict.cdict.hdoh.cdoh.hdotdot.cdotdot.hdynbuf.cdynbuf.heasy.ceasygetopt.ceasyif.heasyoptions.ceasyoptions.hescape.cescape.hfile.cfile.hfileinfo.cfileinfo.hfirefox-db2pem.shformdata.cformdata.hftp.cftp.hftplistparser.cftplistparser.hgetenv.cgetinfo.cgetinfo.hgopher.cgopher.hhash.chash.hhmac.chostasyn.chostcheck.chostcheck.hhostip.chostip.hhostip4.chostip6.chostsyn.chsts.chsts.hhttp.chttp.hhttp2.chttp2.hhttp_aws_sigv4.chttp_aws_sigv4.hhttp_chunks.chttp_chunks.hhttp_digest.chttp_digest.hhttp_negotiate.chttp_negotiate.hhttp_ntlm.chttp_ntlm.hhttp_proxy.chttp_proxy.hidn_win32.cif2ip.cif2ip.himap.cimap.hinet_ntop.cinet_ntop.hinet_pton.cinet_pton.hkrb5.cldap.clibcurl.plistlibcurl.rclibcurl.vers.inllist.cllist.hmakefile.amigamakefile.djmd4.cmd5.cmemdebug.cmemdebug.hmime.cmime.hmk-ca-bundle.plmk-ca-bundle.vbsmprintf.cmqtt.cmqtt.hmulti.cmultihandle.hmultiif.hnetrc.cnetrc.hnon-ascii.cnon-ascii.hnonblock.cnonblock.hnwlib.cnwos.copenldap.coptiontable.plparsedate.cparsedate.hpingpong.cpingpong.hpop3.cpop3.hprogress.cprogress.hpsl.cpsl.hquic.hrand.crand.hrename.crename.hrtsp.crtsp.hselect.cselect.hsendf.csendf.hsetopt.csetopt.hsetup-os400.hsetup-vms.hsetup-win32.hsha256.cshare.cshare.hsigpipe.hslist.cslist.hsmb.csmb.hsmtp.csmtp.hsockaddr.hsocketpair.csocketpair.hsocks.csocks.hsocks_gssapi.csocks_sspi.cspeedcheck.cspeedcheck.hsplay.csplay.hstrcase.cstrcase.hstrdup.cstrdup.hstrerror.cstrerror.hstrtok.cstrtok.hstrtoofft.cstrtoofft.hsystem_win32.csystem_win32.htelnet.ctelnet.htftp.ctftp.htimeval.ctimeval.htransfer.ctransfer.hurl.curl.hurlapi-int.hurlapi.curldata.h
vauth
version.cversion_win32.cversion_win32.h
vquic
vssh
vtls
warnless.cwarnless.hwildcard.cwildcard.hx509asn1.cx509asn1.h
libcurl.pc.in
m4
maketgz
packages
plan9
scripts
src
winbuild
Fmt
MDBC
SleepyDiscord
CMakeLists.txtLICENSE.mdREADME.mdazure-pipelines.yml
buildtools
include
sleepy_discord
WebSocketPP
ZLib
CMakeLists.txtChangeLogFAQINDEXMakefileMakefile.inREADMEadler32.c
amiga
compress.cconfigure
contrib
README.contrib
ada
amd64
asm686
blast
delphi
dotzlib
gcc_gvmat64
infback9
inflate86
iostream
iostream2
iostream3
masmx64
masmx86
minizip
pascal
puff
testzlib
untgz
vstudio
crc32.ccrc32.hdeflate.cdeflate.h
doc
examples
gzclose.cgzguts.hgzlib.cgzread.cgzwrite.cinfback.cinffast.cinffast.hinffixed.hinflate.cinflate.hinftrees.cinftrees.hmake_vms.com
msdos
nintendods
old
os400
qnx
test
treebuild.xmltrees.ctrees.huncompr.c
watcom
win32
zconf.h.cmakeinzconf.h.inzconf.h.includedzlib.3zlib.3.pdfzlib.hzlib.mapzlib.pc.cmakeinzlib.pc.inzlib2ansizutil.czutil.h

38
module/Vendor/CURL/lib/curl_sha256.h vendored Normal file

@ -0,0 +1,38 @@
#ifndef HEADER_CURL_SHA256_H
#define HEADER_CURL_SHA256_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2017, Florin Petriuc, <petriuc.florin@gmail.com>
* Copyright (C) 2018 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at https://curl.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
***************************************************************************/
#ifndef CURL_DISABLE_CRYPTO_AUTH
#include "curl_hmac.h"
extern const struct HMAC_params Curl_HMAC_SHA256[1];
#define SHA256_DIGEST_LENGTH 32
void Curl_sha256it(unsigned char *outbuffer, const unsigned char *input,
const size_t len);
#endif
#endif /* HEADER_CURL_SHA256_H */