|
522 | 522 | """ |
523 | 523 | aws_channel_acquire_message_from_pool(channel, message_type, size_hint) |
524 | 524 |
|
525 | | -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. |
| 525 | +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. |
526 | 526 |
|
527 | 527 | ### Prototype |
528 | 528 | ```c |
|
722 | 722 | """ |
723 | 723 | aws_channel_slot_acquire_max_message_for_write(slot) |
724 | 724 |
|
725 | | -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. |
| 725 | +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. |
726 | 726 |
|
727 | 727 | ### Prototype |
728 | 728 | ```c |
@@ -1102,6 +1102,7 @@ struct aws_socket_options |
1102 | 1102 | keep_alive_timeout_sec::UInt16 |
1103 | 1103 | keep_alive_max_failed_probes::UInt16 |
1104 | 1104 | keepalive::Bool |
| 1105 | + network_interface_name::NTuple{16, Cchar} |
1105 | 1106 | end |
1106 | 1107 |
|
1107 | 1108 | # 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,24 +1423,24 @@ const aws_socket_on_accept_result_fn = Cvoid |
1422 | 1423 | Documentation not found. |
1423 | 1424 | """ |
1424 | 1425 | struct aws_socket |
1425 | | - data::NTuple{344, UInt8} |
| 1426 | + data::NTuple{360, UInt8} |
1426 | 1427 | end |
1427 | 1428 |
|
1428 | 1429 | function Base.getproperty(x::Ptr{aws_socket}, f::Symbol) |
1429 | 1430 | f === :allocator && return Ptr{Ptr{aws_allocator}}(x + 0) |
1430 | 1431 | f === :local_endpoint && return Ptr{aws_socket_endpoint}(x + 8) |
1431 | 1432 | f === :remote_endpoint && return Ptr{aws_socket_endpoint}(x + 120) |
1432 | 1433 | f === :options && return Ptr{aws_socket_options}(x + 232) |
1433 | | - f === :io_handle && return Ptr{aws_io_handle}(x + 256) |
1434 | | - f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 272) |
1435 | | - f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 280) |
1436 | | - f === :state && return Ptr{Cint}(x + 288) |
1437 | | - f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 296) |
1438 | | - f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 304) |
1439 | | - f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 312) |
1440 | | - f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 320) |
1441 | | - f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 328) |
1442 | | - f === :impl && return Ptr{Ptr{Cvoid}}(x + 336) |
| 1434 | + f === :io_handle && return Ptr{aws_io_handle}(x + 272) |
| 1435 | + f === :event_loop && return Ptr{Ptr{aws_event_loop}}(x + 288) |
| 1436 | + f === :handler && return Ptr{Ptr{aws_channel_handler}}(x + 296) |
| 1437 | + f === :state && return Ptr{Cint}(x + 304) |
| 1438 | + f === :readable_fn && return Ptr{Ptr{aws_socket_on_readable_fn}}(x + 312) |
| 1439 | + f === :readable_user_data && return Ptr{Ptr{Cvoid}}(x + 320) |
| 1440 | + f === :connection_result_fn && return Ptr{Ptr{aws_socket_on_connection_result_fn}}(x + 328) |
| 1441 | + f === :accept_result_fn && return Ptr{Ptr{aws_socket_on_accept_result_fn}}(x + 336) |
| 1442 | + f === :connect_accept_user_data && return Ptr{Ptr{Cvoid}}(x + 344) |
| 1443 | + f === :impl && return Ptr{Ptr{Cvoid}}(x + 352) |
1443 | 1444 | return getfield(x, f) |
1444 | 1445 | end |
1445 | 1446 |
|
@@ -5254,7 +5255,7 @@ end |
5254 | 5255 | """ |
5255 | 5256 | aws_tls_connection_options_copy(to, from) |
5256 | 5257 |
|
5257 | | -Copies 'from' to 'to' |
| 5258 | +Cleans up 'to' and copies 'from' to 'to'. 'to' must be initialized. |
5258 | 5259 |
|
5259 | 5260 | ### Prototype |
5260 | 5261 | ```c |
@@ -6717,6 +6718,21 @@ function aws_input_stream_new_tester(alloc, options) |
6717 | 6718 | ccall((:aws_input_stream_new_tester, libaws_c_io), Ptr{aws_input_stream}, (Ptr{aws_allocator}, Ptr{aws_input_stream_tester_options}), alloc, options) |
6718 | 6719 | end |
6719 | 6720 |
|
| 6721 | +""" |
| 6722 | + __pthread_mutex_s |
| 6723 | +
|
| 6724 | +Documentation not found. |
| 6725 | +""" |
| 6726 | +struct __pthread_mutex_s |
| 6727 | + __lock::Cint |
| 6728 | + __count::Cuint |
| 6729 | + __owner::Cint |
| 6730 | + __nusers::Cuint |
| 6731 | + __kind::Cint |
| 6732 | + __spins::Cint |
| 6733 | + __list::__pthread_list_t |
| 6734 | +end |
| 6735 | + |
6720 | 6736 | """ |
6721 | 6737 | __JL_Ctag_710 |
6722 | 6738 |
|
@@ -6766,6 +6782,11 @@ Documentation not found. |
6766 | 6782 | """ |
6767 | 6783 | const aws_pcks11_lib_behavior = aws_pkcs11_lib_behavior |
6768 | 6784 |
|
| 6785 | +""" |
| 6786 | +Documentation not found. |
| 6787 | +""" |
| 6788 | +const AWS_NETWORK_INTERFACE_NAME_MAX = 16 |
| 6789 | + |
6769 | 6790 | # Skipping MacroDefinition: AWS_ADDRESS_MAX_LEN sizeof ( ( ( struct sockaddr_un * ) 0 ) -> sun_path ) |
6770 | 6791 |
|
6771 | 6792 | """ |
|
0 commit comments