diff --git a/Project.toml b/Project.toml index 2cccab1..294b43e 100644 --- a/Project.toml +++ b/Project.toml @@ -11,9 +11,9 @@ aws_c_io_jll = "13c41daa-f319-5298-b5eb-5754e0170d52" [compat] Aqua = "0.7" CEnum = "0.5" -LibAwsCal = "=1.0.0" -LibAwsCommon = "=1.1.0" -aws_c_io_jll = "=0.14.7" +LibAwsCal = "1.1.0" +LibAwsCommon = "1.2.0" +aws_c_io_jll = "=0.14.12" julia = "1.6" [extras] diff --git a/gen/Manifest.toml b/gen/Manifest.toml index 3ee5172..19c151d 100644 --- a/gen/Manifest.toml +++ b/gen/Manifest.toml @@ -1,8 +1,8 @@ # This file is machine-generated - editing it directly is not advised -julia_version = "1.10.2" +julia_version = "1.10.4" manifest_format = "2.0" -project_hash = "7321921d831b162315f413d8afdaf650cc7c796e" +project_hash = "de54ebb348a0246abc2ead49cdfb36683b6c2007" [[deps.ArgTools]] uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" @@ -42,9 +42,9 @@ version = "1.6.0" [[deps.Expat_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "4558ab818dcceaab612d1bb8c19cee87eda2b83c" +git-tree-sha1 = "1c6317308b9dc757616f0b5cb379db10494443a7" uuid = "2e619515-83b5-522b-bb60-26c02a35a201" -version = "2.5.0+0" +version = "2.6.2+0" [[deps.FileWatching]] uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" @@ -62,9 +62,10 @@ uuid = "f8c6e375-362e-5223-8a59-34ff63f689eb" version = "2.44.0+2" [[deps.HistoricalStdlibVersions]] -git-tree-sha1 = "c8b04a26eaa706b4da6968dfc27ae2d030547cba" +deps = ["Pkg"] +git-tree-sha1 = "d50c73e4abd8f7c58eb76a8884dfd531fa8dac81" uuid = "6df8b67a-e8a0-4029-b4b7-ac196fe72102" -version = "1.2.2" +version = "2.0.0" [[deps.InteractiveUtils]] deps = ["Markdown"] @@ -72,9 +73,9 @@ uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" [[deps.JLLPrefixes]] deps = ["Artifacts", "Git", "HistoricalStdlibVersions", "Pkg", "Preferences", "SHA", "Scratch"] -git-tree-sha1 = "c43b83a688b86b33f5b6d8f48d70a41526d845f8" +git-tree-sha1 = "282d4920f56cb8c39f0a0baa5a834db2e78cc991" uuid = "afc68a34-7891-4c5a-9da1-1c62935e7b0d" -version = "0.3.5" +version = "0.3.11" [[deps.JLLWrappers]] deps = ["Artifacts", "Preferences"] @@ -84,15 +85,15 @@ version = "1.5.0" [[deps.LibAwsCal]] deps = ["CEnum", "LibAwsCommon", "aws_c_cal_jll"] -git-tree-sha1 = "739d946bdf7ebe3cc7b412a8dc8ae899f40621b9" +git-tree-sha1 = "b67ccbeed5cb39d84b293db046b8f7fa7beed310" uuid = "ef519ef6-af43-41a0-8ac4-eb81328190af" version = "1.0.0" [[deps.LibAwsCommon]] deps = ["CEnum", "aws_c_common_jll"] -git-tree-sha1 = "d8705f05415a487369d5bbfb2ca149c72ffb5609" +git-tree-sha1 = "17d34406ecd3c3f16d1ec298b6abf0a110eb88dc" uuid = "c6e421ba-b5f8-4792-a1c4-42948de3ed9d" -version = "1.0.0" +version = "1.2.0" [[deps.LibCURL]] deps = ["LibCURL_jll", "MozillaCACerts_jll"] @@ -149,9 +150,9 @@ version = "1.2.0" [[deps.OpenSSL_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "3da7367955dcc5c54c1ba4d402ccdc09a1a3e046" +git-tree-sha1 = "a028ee3cb5641cccc4c24e90c36b0a4f7707bdf5" uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95" -version = "3.0.13+1" +version = "3.0.14+0" [[deps.PCRE2_jll]] deps = ["Artifacts", "Libdl"] @@ -227,15 +228,15 @@ version = "0.6.12+0" [[deps.aws_c_common_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "586a1aa2fdda172c45587b52f5329fedde14f44c" +git-tree-sha1 = "68d3a903076819904e9e27d077b59b95fcca44e0" uuid = "73048d1d-b8c4-5092-a58d-866c5e8d1e50" -version = "0.9.14+0" +version = "0.9.23+0" [[deps.aws_c_io_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "aws_c_cal_jll", "aws_c_common_jll", "s2n_tls_jll"] -git-tree-sha1 = "8fe3ec4e9c43725e9df637fdd5a6846abc40f7bb" +git-tree-sha1 = "1a0786a5b3c65542c41688db2a4f9f39d0ed93a2" uuid = "13c41daa-f319-5298-b5eb-5754e0170d52" -version = "0.14.7+0" +version = "0.14.12+0" [[deps.libLLVM_jll]] deps = ["Artifacts", "Libdl"] @@ -254,6 +255,6 @@ version = "17.4.0+2" [[deps.s2n_tls_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "347948ecd0fa573c52131ff3eca523476b8f4894" +git-tree-sha1 = "5bd86d0df65eb3bbec3176aa41a328ae01a8a005" uuid = "cddc5d3d-934d-5d3a-9747-62fc12ea3f48" -version = "1.4.12+0" +version = "1.4.17+0" diff --git a/gen/Project.toml b/gen/Project.toml index 5c70503..605a323 100644 --- a/gen/Project.toml +++ b/gen/Project.toml @@ -10,8 +10,8 @@ aws_c_io_jll = "13c41daa-f319-5298-b5eb-5754e0170d52" [compat] Clang = "0.18.3" JLLPrefixes = "0.3" -LibAwsCal = "=1.0.0" -LibAwsCommon = "=1.0.0" -aws_c_cal_jll = "=0.6.12" -aws_c_common_jll = "=0.9.14" -aws_c_io_jll = "=0.14.7" +LibAwsCal = "1.0.0" +LibAwsCommon = "1.0.0" +aws_c_cal_jll = "0.6.2" +aws_c_common_jll = "0.9.23" +aws_c_io_jll = "0.14.12" diff --git a/lib/aarch64-apple-darwin20.jl b/lib/aarch64-apple-darwin20.jl index 6692658..5f57e4a 100644 --- a/lib/aarch64-apple-darwin20.jl +++ b/lib/aarch64-apple-darwin20.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{336, UInt8} + data::NTuple{352, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 116) f === :options && return Ptr{aws_socket_options}(x + 224) - f === :io_handle && return Ptr{aws_io_handle}(x + 248) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 264) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 272) - f === :state && return Ptr{Cint}(x + 280) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 288) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 296) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 304) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 312) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 320) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 328) + f === :io_handle && return Ptr{aws_io_handle}(x + 264) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 280) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 288) + f === :state && return Ptr{Cint}(x + 296) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 304) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 312) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 320) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 328) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 336) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 344) return getfield(x, f) end @@ -5257,7 +5258,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6730,6 +6731,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/aarch64-linux-gnu.jl b/lib/aarch64-linux-gnu.jl index 4f6d534..146a5d6 100644 --- a/lib/aarch64-linux-gnu.jl +++ b/lib/aarch64-linux-gnu.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{344, UInt8} + data::NTuple{360, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 120) f === :options && return Ptr{aws_socket_options}(x + 232) - f === :io_handle && return Ptr{aws_io_handle}(x + 256) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 280) - f === :state && return Ptr{Cint}(x + 288) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 296) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 304) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 312) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 320) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 328) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 336) + f === :io_handle && return Ptr{aws_io_handle}(x + 272) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 288) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 296) + f === :state && return Ptr{Cint}(x + 304) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 312) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 320) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 328) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 336) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 344) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 352) return getfield(x, f) end @@ -5254,7 +5255,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6717,6 +6718,21 @@ function aws_input_stream_new_tester(alloc, options) ccall((:aws_input_stream_new_tester, libaws_c_io), Ptr{aws_input_stream}, (Ptr{aws_allocator}, Ptr{aws_input_stream_tester_options}), alloc, options) end +""" + __pthread_mutex_s + +Documentation not found. +""" +struct __pthread_mutex_s + __lock::Cint + __count::Cuint + __owner::Cint + __nusers::Cuint + __kind::Cint + __spins::Cint + __list::__pthread_list_t +end + """ __JL_Ctag_710 @@ -6766,6 +6782,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/aarch64-linux-musl.jl b/lib/aarch64-linux-musl.jl index d08874a..6a5b547 100644 --- a/lib/aarch64-linux-musl.jl +++ b/lib/aarch64-linux-musl.jl @@ -53,33 +53,6 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_210}, f::Symbol, v) unsafe_store!(getproperty(x, f), v) end -""" - __JL_Ctag_206 - -Documentation not found. -""" -struct __JL_Ctag_206 - data::NTuple{48, UInt8} -end - -function Base.getproperty(x::Ptr{__JL_Ctag_206}, f::Symbol) - f === :__i && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__vi && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__p && return Ptr{NTuple{6, Ptr{Cvoid}}}(x + 0) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_206, f::Symbol) - r = Ref{__JL_Ctag_206}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_206}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_206}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - """ aws_async_input_stream_vtable @@ -576,7 +549,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -776,7 +749,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1156,6 +1129,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1476,7 +1450,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{344, UInt8} + data::NTuple{360, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1484,16 +1458,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 120) f === :options && return Ptr{aws_socket_options}(x + 232) - f === :io_handle && return Ptr{aws_io_handle}(x + 256) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 280) - f === :state && return Ptr{Cint}(x + 288) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 296) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 304) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 312) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 320) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 328) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 336) + f === :io_handle && return Ptr{aws_io_handle}(x + 272) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 288) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 296) + f === :state && return Ptr{Cint}(x + 304) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 312) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 320) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 328) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 336) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 344) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 352) return getfield(x, f) end @@ -5308,7 +5282,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -5727,39 +5701,6 @@ struct aws_async_input_stream_tester_options read_duration_ns::UInt64 end -""" - __JL_Ctag_213 - -Documentation not found. -""" -struct __JL_Ctag_213 - lock::aws_mutex - cvar::aws_condition_variable - read_dest::Ptr{aws_byte_buf} - read_future::Ptr{aws_future_bool} - do_shutdown::Bool -end -function Base.getproperty(x::Ptr{__JL_Ctag_213}, f::Symbol) - f === :lock && return Ptr{aws_mutex}(x + 0) - f === :cvar && return Ptr{aws_condition_variable}(x + 48) - f === :read_dest && return Ptr{Ptr{aws_byte_buf}}(x + 104) - f === :read_future && return Ptr{Ptr{aws_future_bool}}(x + 112) - f === :do_shutdown && return Ptr{Bool}(x + 120) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_213, f::Symbol) - r = Ref{__JL_Ctag_213}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_213}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_213}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - - """ aws_async_input_stream_tester @@ -6781,6 +6722,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/armv7l-linux-gnueabihf.jl b/lib/armv7l-linux-gnueabihf.jl index d5b9881..1b5f96a 100644 --- a/lib/armv7l-linux-gnueabihf.jl +++ b/lib/armv7l-linux-gnueabihf.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{292, UInt8} + data::NTuple{308, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 4) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 116) f === :options && return Ptr{aws_socket_options}(x + 228) - f === :io_handle && return Ptr{aws_io_handle}(x + 248) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 256) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 260) - f === :state && return Ptr{Cint}(x + 264) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 268) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 272) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 276) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 280) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 284) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 288) + f === :io_handle && return Ptr{aws_io_handle}(x + 264) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 276) + f === :state && return Ptr{Cint}(x + 280) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 284) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 288) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 292) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 296) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 300) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 304) return getfield(x, f) end @@ -5254,7 +5255,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6717,6 +6718,37 @@ function aws_input_stream_new_tester(alloc, options) ccall((:aws_input_stream_new_tester, libaws_c_io), Ptr{aws_input_stream}, (Ptr{aws_allocator}, Ptr{aws_input_stream_tester_options}), alloc, options) end +""" + __pthread_mutex_s + +Documentation not found. +""" +struct __pthread_mutex_s + data::NTuple{24, UInt8} +end + +function Base.getproperty(x::Ptr{__pthread_mutex_s}, f::Symbol) + f === :__lock && return Ptr{Cint}(x + 0) + f === :__count && return Ptr{Cuint}(x + 4) + f === :__owner && return Ptr{Cint}(x + 8) + f === :__kind && return Ptr{Cint}(x + 12) + f === :__nusers && return Ptr{Cuint}(x + 16) + f === :__spins && return Ptr{Cint}(x + 20) + f === :__list && return Ptr{__pthread_slist_t}(x + 20) + return getfield(x, f) +end + +function Base.getproperty(x::__pthread_mutex_s, f::Symbol) + r = Ref{__pthread_mutex_s}(x) + ptr = Base.unsafe_convert(Ptr{__pthread_mutex_s}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{__pthread_mutex_s}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + """ __JL_Ctag_709 @@ -6766,6 +6798,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/armv7l-linux-musleabihf.jl b/lib/armv7l-linux-musleabihf.jl index 98cad0a..47e312b 100644 --- a/lib/armv7l-linux-musleabihf.jl +++ b/lib/armv7l-linux-musleabihf.jl @@ -53,33 +53,6 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_210}, f::Symbol, v) unsafe_store!(getproperty(x, f), v) end -""" - __JL_Ctag_206 - -Documentation not found. -""" -struct __JL_Ctag_206 - data::NTuple{48, UInt8} -end - -function Base.getproperty(x::Ptr{__JL_Ctag_206}, f::Symbol) - f === :__i && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__vi && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__p && return Ptr{NTuple{12, Ptr{Cvoid}}}(x + 0) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_206, f::Symbol) - r = Ref{__JL_Ctag_206}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_206}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_206}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - """ aws_async_input_stream_vtable @@ -576,7 +549,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -776,7 +749,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1156,6 +1129,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1476,7 +1450,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{292, UInt8} + data::NTuple{308, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1484,16 +1458,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 4) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 116) f === :options && return Ptr{aws_socket_options}(x + 228) - f === :io_handle && return Ptr{aws_io_handle}(x + 248) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 256) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 260) - f === :state && return Ptr{Cint}(x + 264) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 268) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 272) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 276) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 280) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 284) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 288) + f === :io_handle && return Ptr{aws_io_handle}(x + 264) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 276) + f === :state && return Ptr{Cint}(x + 280) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 284) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 288) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 292) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 296) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 300) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 304) return getfield(x, f) end @@ -5308,7 +5282,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -5727,39 +5701,6 @@ struct aws_async_input_stream_tester_options read_duration_ns::UInt64 end -""" - __JL_Ctag_213 - -Documentation not found. -""" -struct __JL_Ctag_213 - lock::aws_mutex - cvar::aws_condition_variable - read_dest::Ptr{aws_byte_buf} - read_future::Ptr{aws_future_bool} - do_shutdown::Bool -end -function Base.getproperty(x::Ptr{__JL_Ctag_213}, f::Symbol) - f === :lock && return Ptr{aws_mutex}(x + 0) - f === :cvar && return Ptr{aws_condition_variable}(x + 28) - f === :read_dest && return Ptr{Ptr{aws_byte_buf}}(x + 80) - f === :read_future && return Ptr{Ptr{aws_future_bool}}(x + 84) - f === :do_shutdown && return Ptr{Bool}(x + 88) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_213, f::Symbol) - r = Ref{__JL_Ctag_213}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_213}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_213}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - - """ aws_async_input_stream_tester @@ -6781,6 +6722,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/i686-linux-gnu.jl b/lib/i686-linux-gnu.jl index d97d3f4..b001012 100644 --- a/lib/i686-linux-gnu.jl +++ b/lib/i686-linux-gnu.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{292, UInt8} + data::NTuple{308, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 4) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 116) f === :options && return Ptr{aws_socket_options}(x + 228) - f === :io_handle && return Ptr{aws_io_handle}(x + 248) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 256) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 260) - f === :state && return Ptr{Cint}(x + 264) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 268) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 272) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 276) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 280) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 284) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 288) + f === :io_handle && return Ptr{aws_io_handle}(x + 264) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 276) + f === :state && return Ptr{Cint}(x + 280) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 284) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 288) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 292) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 296) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 300) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 304) return getfield(x, f) end @@ -5254,7 +5255,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6756,6 +6757,37 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_685}, f::Symbol, v) end +""" + __pthread_mutex_s + +Documentation not found. +""" +struct __pthread_mutex_s + data::NTuple{24, UInt8} +end + +function Base.getproperty(x::Ptr{__pthread_mutex_s}, f::Symbol) + f === :__lock && return Ptr{Cint}(x + 0) + f === :__count && return Ptr{Cuint}(x + 4) + f === :__owner && return Ptr{Cint}(x + 8) + f === :__kind && return Ptr{Cint}(x + 12) + f === :__nusers && return Ptr{Cuint}(x + 16) + f === :__spins && return Ptr{Cint}(x + 20) + f === :__list && return Ptr{__pthread_slist_t}(x + 20) + return getfield(x, f) +end + +function Base.getproperty(x::__pthread_mutex_s, f::Symbol) + r = Ref{__pthread_mutex_s}(x) + ptr = Base.unsafe_convert(Ptr{__pthread_mutex_s}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{__pthread_mutex_s}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + """ Documentation not found. """ @@ -6766,6 +6798,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/i686-linux-musl.jl b/lib/i686-linux-musl.jl index 104e3ec..f527dfe 100644 --- a/lib/i686-linux-musl.jl +++ b/lib/i686-linux-musl.jl @@ -53,33 +53,6 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_210}, f::Symbol, v) unsafe_store!(getproperty(x, f), v) end -""" - __JL_Ctag_206 - -Documentation not found. -""" -struct __JL_Ctag_206 - data::NTuple{48, UInt8} -end - -function Base.getproperty(x::Ptr{__JL_Ctag_206}, f::Symbol) - f === :__i && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__vi && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__p && return Ptr{NTuple{12, Ptr{Cvoid}}}(x + 0) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_206, f::Symbol) - r = Ref{__JL_Ctag_206}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_206}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_206}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - """ aws_async_input_stream_vtable @@ -576,7 +549,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -776,7 +749,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1156,6 +1129,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1476,7 +1450,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{292, UInt8} + data::NTuple{308, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1484,16 +1458,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 4) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 116) f === :options && return Ptr{aws_socket_options}(x + 228) - f === :io_handle && return Ptr{aws_io_handle}(x + 248) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 256) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 260) - f === :state && return Ptr{Cint}(x + 264) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 268) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 272) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 276) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 280) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 284) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 288) + f === :io_handle && return Ptr{aws_io_handle}(x + 264) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 276) + f === :state && return Ptr{Cint}(x + 280) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 284) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 288) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 292) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 296) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 300) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 304) return getfield(x, f) end @@ -5308,7 +5282,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -5727,39 +5701,6 @@ struct aws_async_input_stream_tester_options read_duration_ns::UInt64 end -""" - __JL_Ctag_213 - -Documentation not found. -""" -struct __JL_Ctag_213 - lock::aws_mutex - cvar::aws_condition_variable - read_dest::Ptr{aws_byte_buf} - read_future::Ptr{aws_future_bool} - do_shutdown::Bool -end -function Base.getproperty(x::Ptr{__JL_Ctag_213}, f::Symbol) - f === :lock && return Ptr{aws_mutex}(x + 0) - f === :cvar && return Ptr{aws_condition_variable}(x + 28) - f === :read_dest && return Ptr{Ptr{aws_byte_buf}}(x + 80) - f === :read_future && return Ptr{Ptr{aws_future_bool}}(x + 84) - f === :do_shutdown && return Ptr{Bool}(x + 88) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_213, f::Symbol) - r = Ref{__JL_Ctag_213}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_213}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_213}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - - """ aws_async_input_stream_tester @@ -6781,6 +6722,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/powerpc64le-linux-gnu.jl b/lib/powerpc64le-linux-gnu.jl index 0767523..16667dc 100644 --- a/lib/powerpc64le-linux-gnu.jl +++ b/lib/powerpc64le-linux-gnu.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{344, UInt8} + data::NTuple{360, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 120) f === :options && return Ptr{aws_socket_options}(x + 232) - f === :io_handle && return Ptr{aws_io_handle}(x + 256) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 280) - f === :state && return Ptr{Cint}(x + 288) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 296) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 304) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 312) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 320) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 328) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 336) + f === :io_handle && return Ptr{aws_io_handle}(x + 272) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 288) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 296) + f === :state && return Ptr{Cint}(x + 304) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 312) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 320) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 328) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 336) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 344) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 352) return getfield(x, f) end @@ -5254,7 +5255,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6756,6 +6757,21 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_688}, f::Symbol, v) end +""" + __pthread_mutex_s + +Documentation not found. +""" +struct __pthread_mutex_s + __lock::Cint + __count::Cuint + __owner::Cint + __nusers::Cuint + __kind::Cint + __spins::Cint + __list::__pthread_list_t +end + """ Documentation not found. """ @@ -6766,6 +6782,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/x86_64-apple-darwin14.jl b/lib/x86_64-apple-darwin14.jl index 6692658..5f57e4a 100644 --- a/lib/x86_64-apple-darwin14.jl +++ b/lib/x86_64-apple-darwin14.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{336, UInt8} + data::NTuple{352, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 116) f === :options && return Ptr{aws_socket_options}(x + 224) - f === :io_handle && return Ptr{aws_io_handle}(x + 248) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 264) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 272) - f === :state && return Ptr{Cint}(x + 280) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 288) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 296) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 304) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 312) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 320) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 328) + f === :io_handle && return Ptr{aws_io_handle}(x + 264) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 280) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 288) + f === :state && return Ptr{Cint}(x + 296) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 304) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 312) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 320) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 328) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 336) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 344) return getfield(x, f) end @@ -5257,7 +5258,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6730,6 +6731,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/x86_64-linux-gnu.jl b/lib/x86_64-linux-gnu.jl index dca7e75..6df95b5 100644 --- a/lib/x86_64-linux-gnu.jl +++ b/lib/x86_64-linux-gnu.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{344, UInt8} + data::NTuple{360, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 120) f === :options && return Ptr{aws_socket_options}(x + 232) - f === :io_handle && return Ptr{aws_io_handle}(x + 256) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 280) - f === :state && return Ptr{Cint}(x + 288) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 296) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 304) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 312) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 320) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 328) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 336) + f === :io_handle && return Ptr{aws_io_handle}(x + 272) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 288) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 296) + f === :state && return Ptr{Cint}(x + 304) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 312) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 320) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 328) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 336) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 344) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 352) return getfield(x, f) end @@ -5254,7 +5255,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6756,6 +6757,21 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_705}, f::Symbol, v) end +""" + __pthread_mutex_s + +Documentation not found. +""" +struct __pthread_mutex_s + __lock::Cint + __count::Cuint + __owner::Cint + __nusers::Cuint + __kind::Cint + __spins::Cint + __list::__pthread_list_t +end + """ Documentation not found. """ @@ -6766,6 +6782,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/x86_64-linux-musl.jl b/lib/x86_64-linux-musl.jl index d08874a..6a5b547 100644 --- a/lib/x86_64-linux-musl.jl +++ b/lib/x86_64-linux-musl.jl @@ -53,33 +53,6 @@ function Base.setproperty!(x::Ptr{__JL_Ctag_210}, f::Symbol, v) unsafe_store!(getproperty(x, f), v) end -""" - __JL_Ctag_206 - -Documentation not found. -""" -struct __JL_Ctag_206 - data::NTuple{48, UInt8} -end - -function Base.getproperty(x::Ptr{__JL_Ctag_206}, f::Symbol) - f === :__i && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__vi && return Ptr{NTuple{12, Cint}}(x + 0) - f === :__p && return Ptr{NTuple{6, Ptr{Cvoid}}}(x + 0) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_206, f::Symbol) - r = Ref{__JL_Ctag_206}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_206}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_206}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - """ aws_async_input_stream_vtable @@ -576,7 +549,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -776,7 +749,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1156,6 +1129,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1476,7 +1450,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{344, UInt8} + data::NTuple{360, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1484,16 +1458,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 120) f === :options && return Ptr{aws_socket_options}(x + 232) - f === :io_handle && return Ptr{aws_io_handle}(x + 256) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 280) - f === :state && return Ptr{Cint}(x + 288) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 296) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 304) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 312) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 320) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 328) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 336) + f === :io_handle && return Ptr{aws_io_handle}(x + 272) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 288) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 296) + f === :state && return Ptr{Cint}(x + 304) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 312) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 320) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 328) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 336) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 344) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 352) return getfield(x, f) end @@ -5308,7 +5282,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -5727,39 +5701,6 @@ struct aws_async_input_stream_tester_options read_duration_ns::UInt64 end -""" - __JL_Ctag_213 - -Documentation not found. -""" -struct __JL_Ctag_213 - lock::aws_mutex - cvar::aws_condition_variable - read_dest::Ptr{aws_byte_buf} - read_future::Ptr{aws_future_bool} - do_shutdown::Bool -end -function Base.getproperty(x::Ptr{__JL_Ctag_213}, f::Symbol) - f === :lock && return Ptr{aws_mutex}(x + 0) - f === :cvar && return Ptr{aws_condition_variable}(x + 48) - f === :read_dest && return Ptr{Ptr{aws_byte_buf}}(x + 104) - f === :read_future && return Ptr{Ptr{aws_future_bool}}(x + 112) - f === :do_shutdown && return Ptr{Bool}(x + 120) - return getfield(x, f) -end - -function Base.getproperty(x::__JL_Ctag_213, f::Symbol) - r = Ref{__JL_Ctag_213}(x) - ptr = Base.unsafe_convert(Ptr{__JL_Ctag_213}, r) - fptr = getproperty(ptr, f) - GC.@preserve r unsafe_load(fptr) -end - -function Base.setproperty!(x::Ptr{__JL_Ctag_213}, f::Symbol, v) - unsafe_store!(getproperty(x, f), v) -end - - """ aws_async_input_stream_tester @@ -6781,6 +6722,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/x86_64-unknown-freebsd13.2.jl b/lib/x86_64-unknown-freebsd13.2.jl index e11cf05..216b285 100644 --- a/lib/x86_64-unknown-freebsd13.2.jl +++ b/lib/x86_64-unknown-freebsd13.2.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{336, UInt8} + data::NTuple{352, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 116) f === :options && return Ptr{aws_socket_options}(x + 224) - f === :io_handle && return Ptr{aws_io_handle}(x + 248) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 264) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 272) - f === :state && return Ptr{Cint}(x + 280) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 288) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 296) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 304) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 312) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 320) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 328) + f === :io_handle && return Ptr{aws_io_handle}(x + 264) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 280) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 288) + f === :state && return Ptr{Cint}(x + 296) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 304) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 312) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 320) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 328) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 336) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 344) return getfield(x, f) end @@ -5254,7 +5255,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6727,6 +6728,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) """ diff --git a/lib/x86_64-w64-mingw32.jl b/lib/x86_64-w64-mingw32.jl index fb957f0..062e63e 100644 --- a/lib/x86_64-w64-mingw32.jl +++ b/lib/x86_64-w64-mingw32.jl @@ -522,7 +522,7 @@ end """ aws_channel_acquire_message_from_pool(channel, message_type, size_hint) -Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. +Acquires a message from the event loop's message pool. size\\_hint is merely a hint, it may be smaller than you requested and you are responsible for checking the bounds of it. If the returned message is not large enough, you must send multiple messages. This cannot fail, it never returns NULL. ### Prototype ```c @@ -722,7 +722,7 @@ end """ aws_channel_slot_acquire_max_message_for_write(slot) -Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. +Convenience function that invokes [`aws_channel_acquire_message_from_pool`](@ref)(), asking for the largest reasonable DATA message that can be sent in the write direction, with upstream overhead accounted for. This cannot fail, it never returns NULL. ### Prototype ```c @@ -1102,6 +1102,7 @@ struct aws_socket_options keep_alive_timeout_sec::UInt16 keep_alive_max_failed_probes::UInt16 keepalive::Bool + network_interface_name::NTuple{16, Cchar} end # typedef void ( aws_tls_on_negotiation_result_fn ) ( struct aws_channel_handler * handler , struct aws_channel_slot * slot , int error_code , void * user_data ) @@ -1422,7 +1423,7 @@ const aws_socket_on_accept_result_fn = Cvoid Documentation not found. """ struct aws_socket - data::NTuple{640, UInt8} + data::NTuple{656, UInt8} end function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) @@ -1430,16 +1431,16 @@ function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 268) f === :options && return Ptr{aws_socket_options}(x + 528) - f === :io_handle && return Ptr{aws_io_handle}(x + 552) - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 568) - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 576) - f === :state && return Ptr{Cint}(x + 584) - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 592) - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 600) - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 608) - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 616) - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 624) - f === :impl && return Ptr{Ptr{Cvoid}}(x + 632) + f === :io_handle && return Ptr{aws_io_handle}(x + 568) + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 584) + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 592) + f === :state && return Ptr{Cint}(x + 600) + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 608) + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 616) + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 624) + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 632) + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 640) + f === :impl && return Ptr{Ptr{Cvoid}}(x + 648) return getfield(x, f) end @@ -5314,7 +5315,7 @@ end """ aws_tls_connection_options_copy(to, from) -Copies 'from' to 'to' +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. ### Prototype ```c @@ -6787,6 +6788,11 @@ Documentation not found. """ const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior +""" +Documentation not found. +""" +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 + """ Documentation not found. """ diff --git a/src/LibAwsIO.jl b/src/LibAwsIO.jl index 911ac86..06d15ff 100644 --- a/src/LibAwsIO.jl +++ b/src/LibAwsIO.jl @@ -187,6 +187,7 @@ export default_aws_event_loop_group, set_default_aws_event_loop_group!, default_ function init(allocator=default_aws_allocator()) LibAwsCommon.init(allocator) + LibAwsCal.init(allocator) aws_io_library_init(allocator) return end