Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LibAwsHTTPFork"
uuid = "d3f1d20b-921e-4930-8491-471e0be3121a"
version = "1.0.6"
version = "1.0.7"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand All @@ -17,7 +17,7 @@ LibAwsCal = "1.1"
LibAwsCommon = "1.2"
LibAwsCompression = "1.1"
LibAwsIO = "1.2"
aws_c_http_jq_jll = "=0.10.6"
aws_c_http_jq_jll = "=0.10.8"
julia = "1.6"
Test = "1.11"

Expand Down
78 changes: 54 additions & 24 deletions lib/aarch64-apple-darwin20.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CEnum
using CEnum: CEnum, @cenum

# typedef void ( aws_http_on_client_connection_setup_fn ) ( struct aws_http_connection * connection , int error_code , void * user_data )
"""
Expand Down Expand Up @@ -1204,31 +1204,39 @@ struct aws_http_proxy_negotiator_tunnelling_vtable
end

"""
union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)
__JL_Ctag_38

Documentation not found.
"""
struct var"union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)"
struct __JL_Ctag_38
data::NTuple{8, UInt8}
end

function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)"}, f::Symbol)
function Base.getproperty(x::Ptr{__JL_Ctag_38}, f::Symbol)
f === :forwarding_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_forwarding_vtable}}(x + 0)
f === :tunnelling_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_tunnelling_vtable}}(x + 0)
return getfield(x, f)
end

function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)", f::Symbol)
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)"}(x)
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)"}, r)
function Base.getproperty(x::__JL_Ctag_38, f::Symbol)
r = Ref{__JL_Ctag_38}(x)
ptr = Base.unsafe_convert(Ptr{__JL_Ctag_38}, r)
fptr = getproperty(ptr, f)
GC.@preserve r unsafe_load(fptr)
end

function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)"}, f::Symbol, v)
function Base.setproperty!(x::Ptr{__JL_Ctag_38}, f::Symbol, v)
unsafe_store!(getproperty(x, f), v)
end

function Base.propertynames(x::__JL_Ctag_38, private::Bool = false)
(:forwarding_vtable, :tunnelling_vtable, if private
fieldnames(typeof(x))
else
()
end...)
end

"""
aws_http_proxy_negotiator

Expand All @@ -1241,7 +1249,7 @@ end
function Base.getproperty(x::Ptr{aws_http_proxy_negotiator}, f::Symbol)
f === :ref_count && return Ptr{aws_ref_count}(x + 0)
f === :impl && return Ptr{Ptr{Cvoid}}(x + 24)
f === :strategy_vtable && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7462356ce6118e7f75f705b89b1ae23564fddadc/include/aws/http/proxy.h:310:5)"}(x + 32)
f === :strategy_vtable && return Ptr{__JL_Ctag_38}(x + 32)
return getfield(x, f)
end

Expand All @@ -1256,6 +1264,14 @@ function Base.setproperty!(x::Ptr{aws_http_proxy_negotiator}, f::Symbol, v)
unsafe_store!(getproperty(x, f), v)
end

function Base.propertynames(x::aws_http_proxy_negotiator, private::Bool = false)
(:ref_count, :impl, :strategy_vtable, if private
fieldnames(typeof(x))
else
()
end...)
end

"""
aws_http_proxy_strategy_basic_auth_options

Expand Down Expand Up @@ -2442,14 +2458,15 @@ function aws_http_message_set_body_stream(message, body_stream)
end

"""
Documentation not found.
aws\\_future<aws\\_http\\_message*>
"""
mutable struct aws_future_http_message end

"""
aws_future_http_message_new(alloc)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2462,7 +2479,8 @@ end
"""
aws_future_http_message_set_result_by_move(future, pointer_address)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2475,7 +2493,8 @@ end
"""
aws_future_http_message_get_result_by_move(future)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2488,7 +2507,8 @@ end
"""
aws_future_http_message_peek_result(future)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2501,7 +2521,8 @@ end
"""
aws_future_http_message_acquire(future)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2514,7 +2535,8 @@ end
"""
aws_future_http_message_release(future)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2527,7 +2549,8 @@ end
"""
aws_future_http_message_set_error(future, error_code)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2540,7 +2563,8 @@ end
"""
aws_future_http_message_is_done(future)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2553,7 +2577,8 @@ end
"""
aws_future_http_message_get_error(future)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2566,7 +2591,8 @@ end
"""
aws_future_http_message_register_callback(future, on_done, user_data)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2579,7 +2605,8 @@ end
"""
aws_future_http_message_register_callback_if_not_done(future, on_done, user_data)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2592,7 +2619,8 @@ end
"""
aws_future_http_message_register_event_loop_callback(future, event_loop, on_done, user_data)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2605,7 +2633,8 @@ end
"""
aws_future_http_message_register_channel_callback(future, channel, on_done, user_data)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand All @@ -2618,7 +2647,8 @@ end
"""
aws_future_http_message_wait(future, timeout_ns)

Documentation not found.
aws\\_future<aws\\_http\\_message*>

### Prototype
```c
AWS_FUTURE_T_POINTER_WITH_RELEASE_DECLARATION(aws_future_http_message, struct aws_http_message, AWS_HTTP_API);
Expand Down
Loading
Loading