grpc 1.42.0.pre1-arm64-darwin → 1.58.3-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grpc_c.64-ucrt.ruby +0 -0
- data/src/ruby/bin/math_pb.rb +24 -18
- data/src/ruby/ext/grpc/ext-export-truffleruby-with-ruby-abi-version.clang +2 -0
- data/src/ruby/ext/grpc/ext-export-truffleruby-with-ruby-abi-version.gcc +7 -0
- data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.clang +2 -0
- data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.gcc +7 -0
- data/src/ruby/ext/grpc/ext-export.gcc +1 -1
- data/src/ruby/ext/grpc/extconf.rb +117 -32
- data/src/ruby/ext/grpc/rb_call.c +63 -39
- data/src/ruby/ext/grpc/rb_call_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_channel.c +113 -84
- data/src/ruby/ext/grpc/rb_channel.h +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +17 -2
- data/src/ruby/ext/grpc/rb_channel_args.h +4 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +1 -2
- data/src/ruby/ext/grpc/rb_event_thread.c +22 -6
- data/src/ruby/ext/grpc/rb_event_thread.h +1 -0
- data/src/ruby/ext/grpc/rb_grpc.c +193 -30
- data/src/ruby/ext/grpc/rb_grpc.h +8 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +66 -72
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +102 -111
- data/src/ruby/ext/grpc/rb_loader.c +6 -2
- data/src/ruby/ext/grpc/rb_server.c +69 -49
- data/src/ruby/ext/grpc/rb_server_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +0 -1
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +0 -1
- data/src/ruby/lib/grpc/2.6/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/2.7/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/3.0/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/3.1/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/3.2/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/errors.rb +1 -1
- data/src/ruby/lib/grpc/generic/active_call.rb +16 -15
- data/src/ruby/lib/grpc/generic/bidi_call.rb +4 -0
- data/src/ruby/lib/grpc/grpc.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/generate_proto_ruby.sh +1 -6
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +24 -13
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +24 -3
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +26 -108
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +27 -3
- data/src/ruby/pb/test/client.rb +16 -0
- data/src/ruby/spec/channel_spec.rb +5 -43
- data/src/ruby/spec/client_server_spec.rb +20 -8
- data/src/ruby/spec/generic/active_call_spec.rb +12 -3
- data/src/ruby/spec/generic/client_stub_spec.rb +23 -23
- data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
- data/src/ruby/spec/generic/server_interceptors_spec.rb +1 -1
- data/src/ruby/spec/user_agent_spec.rb +1 -1
- metadata +61 -59
- data/src/ruby/lib/grpc/2.4/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/2.5/grpc_c.bundle +0 -0
- /data/{grpc_c.32.ruby → grpc_c.32-msvcrt.ruby} +0 -0
- /data/{grpc_c.64.ruby → grpc_c.64-msvcrt.ruby} +0 -0
@@ -22,6 +22,17 @@
|
|
22
22
|
|
23
23
|
#include "rb_grpc_imports.generated.h"
|
24
24
|
|
25
|
+
grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
|
26
|
+
grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
|
27
|
+
grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
|
28
|
+
grpc_byte_buffer_length_type grpc_byte_buffer_length_import;
|
29
|
+
grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import;
|
30
|
+
grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import;
|
31
|
+
grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import;
|
32
|
+
grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
|
33
|
+
grpc_byte_buffer_reader_peek_type grpc_byte_buffer_reader_peek_import;
|
34
|
+
grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
|
35
|
+
grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import;
|
25
36
|
grpc_compression_algorithm_is_message_type grpc_compression_algorithm_is_message_import;
|
26
37
|
grpc_compression_algorithm_is_stream_type grpc_compression_algorithm_is_stream_import;
|
27
38
|
grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import;
|
@@ -35,7 +46,6 @@ grpc_metadata_array_init_type grpc_metadata_array_init_import;
|
|
35
46
|
grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import;
|
36
47
|
grpc_call_details_init_type grpc_call_details_init_import;
|
37
48
|
grpc_call_details_destroy_type grpc_call_details_destroy_import;
|
38
|
-
grpc_register_plugin_type grpc_register_plugin_import;
|
39
49
|
grpc_init_type grpc_init_import;
|
40
50
|
grpc_shutdown_type grpc_shutdown_import;
|
41
51
|
grpc_is_initialized_type grpc_is_initialized_import;
|
@@ -68,7 +78,9 @@ grpc_census_call_get_context_type grpc_census_call_get_context_import;
|
|
68
78
|
grpc_channel_get_target_type grpc_channel_get_target_import;
|
69
79
|
grpc_channel_get_info_type grpc_channel_get_info_import;
|
70
80
|
grpc_channel_reset_connect_backoff_type grpc_channel_reset_connect_backoff_import;
|
71
|
-
|
81
|
+
grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
|
82
|
+
grpc_server_credentials_release_type grpc_server_credentials_release_import;
|
83
|
+
grpc_channel_create_type grpc_channel_create_import;
|
72
84
|
grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
|
73
85
|
grpc_channel_destroy_type grpc_channel_destroy_import;
|
74
86
|
grpc_call_cancel_type grpc_call_cancel_import;
|
@@ -84,7 +96,7 @@ grpc_server_register_completion_queue_type grpc_server_register_completion_queue
|
|
84
96
|
grpc_server_config_fetcher_xds_create_type grpc_server_config_fetcher_xds_create_import;
|
85
97
|
grpc_server_config_fetcher_destroy_type grpc_server_config_fetcher_destroy_import;
|
86
98
|
grpc_server_set_config_fetcher_type grpc_server_set_config_fetcher_import;
|
87
|
-
|
99
|
+
grpc_server_add_http2_port_type grpc_server_add_http2_port_import;
|
88
100
|
grpc_server_start_type grpc_server_start_import;
|
89
101
|
grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import;
|
90
102
|
grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import;
|
@@ -109,8 +121,8 @@ grpc_channelz_get_channel_type grpc_channelz_get_channel_import;
|
|
109
121
|
grpc_channelz_get_subchannel_type grpc_channelz_get_subchannel_import;
|
110
122
|
grpc_channelz_get_socket_type grpc_channelz_get_socket_import;
|
111
123
|
grpc_authorization_policy_provider_arg_vtable_type grpc_authorization_policy_provider_arg_vtable_import;
|
112
|
-
|
113
|
-
|
124
|
+
grpc_channel_create_from_fd_type grpc_channel_create_from_fd_import;
|
125
|
+
grpc_server_add_channel_from_fd_type grpc_server_add_channel_from_fd_import;
|
114
126
|
grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
|
115
127
|
grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import;
|
116
128
|
grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import;
|
@@ -126,7 +138,6 @@ grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import;
|
|
126
138
|
grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import;
|
127
139
|
grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import;
|
128
140
|
grpc_call_credentials_release_type grpc_call_credentials_release_import;
|
129
|
-
grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
|
130
141
|
grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
|
131
142
|
grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
|
132
143
|
grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
|
@@ -144,8 +155,6 @@ grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
|
|
144
155
|
grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
|
145
156
|
grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
|
146
157
|
grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
147
|
-
grpc_secure_channel_create_type grpc_secure_channel_create_import;
|
148
|
-
grpc_server_credentials_release_type grpc_server_credentials_release_import;
|
149
158
|
grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
|
150
159
|
grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
|
151
160
|
grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
|
@@ -154,7 +163,6 @@ grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_cre
|
|
154
163
|
grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
|
155
164
|
grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
|
156
165
|
grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
|
157
|
-
grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
|
158
166
|
grpc_call_set_credentials_type grpc_call_set_credentials_import;
|
159
167
|
grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
|
160
168
|
grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import;
|
@@ -172,39 +180,24 @@ grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provi
|
|
172
180
|
grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
|
173
181
|
grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
|
174
182
|
grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
|
175
|
-
grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
|
176
|
-
grpc_tls_credentials_options_set_server_verification_option_type grpc_tls_credentials_options_set_server_verification_option_import;
|
177
183
|
grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
|
178
184
|
grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
|
179
185
|
grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
|
180
186
|
grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
|
181
187
|
grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
|
182
|
-
|
183
|
-
|
184
|
-
|
188
|
+
grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
|
189
|
+
grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
|
190
|
+
grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
|
191
|
+
grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import;
|
192
|
+
grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
|
193
|
+
grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
|
194
|
+
grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
|
185
195
|
grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
|
186
196
|
grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
|
187
197
|
grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
|
188
198
|
grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
|
189
199
|
grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
|
190
|
-
|
191
|
-
grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
|
192
|
-
grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
|
193
|
-
grpc_byte_buffer_length_type grpc_byte_buffer_length_import;
|
194
|
-
grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import;
|
195
|
-
grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import;
|
196
|
-
grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import;
|
197
|
-
grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
|
198
|
-
grpc_byte_buffer_reader_peek_type grpc_byte_buffer_reader_peek_import;
|
199
|
-
grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
|
200
|
-
grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import;
|
201
|
-
gpr_log_severity_string_type gpr_log_severity_string_import;
|
202
|
-
gpr_log_type gpr_log_import;
|
203
|
-
gpr_should_log_type gpr_should_log_import;
|
204
|
-
gpr_log_message_type gpr_log_message_import;
|
205
|
-
gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
|
206
|
-
gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
|
207
|
-
gpr_set_log_function_type gpr_set_log_function_import;
|
200
|
+
grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
|
208
201
|
grpc_slice_ref_type grpc_slice_ref_import;
|
209
202
|
grpc_slice_unref_type grpc_slice_unref_import;
|
210
203
|
grpc_slice_copy_type grpc_slice_copy_import;
|
@@ -213,7 +206,6 @@ grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
|
|
213
206
|
grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
|
214
207
|
grpc_slice_malloc_type grpc_slice_malloc_import;
|
215
208
|
grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
|
216
|
-
grpc_slice_intern_type grpc_slice_intern_import;
|
217
209
|
grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
|
218
210
|
grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
|
219
211
|
grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
|
@@ -224,8 +216,6 @@ grpc_slice_split_tail_type grpc_slice_split_tail_import;
|
|
224
216
|
grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import;
|
225
217
|
grpc_slice_split_head_type grpc_slice_split_head_import;
|
226
218
|
grpc_empty_slice_type grpc_empty_slice_import;
|
227
|
-
grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import;
|
228
|
-
grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
|
229
219
|
grpc_slice_eq_type grpc_slice_eq_import;
|
230
220
|
grpc_slice_cmp_type grpc_slice_cmp_import;
|
231
221
|
grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
|
@@ -233,7 +223,6 @@ grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
|
|
233
223
|
grpc_slice_rchr_type grpc_slice_rchr_import;
|
234
224
|
grpc_slice_chr_type grpc_slice_chr_import;
|
235
225
|
grpc_slice_slice_type grpc_slice_slice_import;
|
236
|
-
grpc_slice_hash_type grpc_slice_hash_import;
|
237
226
|
grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
|
238
227
|
grpc_slice_dup_type grpc_slice_dup_import;
|
239
228
|
grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
|
@@ -261,6 +250,14 @@ gpr_malloc_aligned_type gpr_malloc_aligned_import;
|
|
261
250
|
gpr_free_aligned_type gpr_free_aligned_import;
|
262
251
|
gpr_cpu_num_cores_type gpr_cpu_num_cores_import;
|
263
252
|
gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import;
|
253
|
+
gpr_log_severity_string_type gpr_log_severity_string_import;
|
254
|
+
gpr_log_type gpr_log_import;
|
255
|
+
gpr_should_log_type gpr_should_log_import;
|
256
|
+
gpr_log_message_type gpr_log_message_import;
|
257
|
+
gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
|
258
|
+
gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
|
259
|
+
gpr_set_log_function_type gpr_set_log_function_import;
|
260
|
+
gpr_assertion_failed_type gpr_assertion_failed_import;
|
264
261
|
gpr_format_message_type gpr_format_message_import;
|
265
262
|
gpr_strdup_type gpr_strdup_import;
|
266
263
|
gpr_asprintf_type gpr_asprintf_import;
|
@@ -312,6 +309,17 @@ gpr_sleep_until_type gpr_sleep_until_import;
|
|
312
309
|
gpr_timespec_to_micros_type gpr_timespec_to_micros_import;
|
313
310
|
|
314
311
|
void grpc_rb_load_imports(HMODULE library) {
|
312
|
+
grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
|
313
|
+
grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
|
314
|
+
grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
|
315
|
+
grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length");
|
316
|
+
grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy");
|
317
|
+
grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init");
|
318
|
+
grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy");
|
319
|
+
grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next");
|
320
|
+
grpc_byte_buffer_reader_peek_import = (grpc_byte_buffer_reader_peek_type) GetProcAddress(library, "grpc_byte_buffer_reader_peek");
|
321
|
+
grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall");
|
322
|
+
grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader");
|
315
323
|
grpc_compression_algorithm_is_message_import = (grpc_compression_algorithm_is_message_type) GetProcAddress(library, "grpc_compression_algorithm_is_message");
|
316
324
|
grpc_compression_algorithm_is_stream_import = (grpc_compression_algorithm_is_stream_type) GetProcAddress(library, "grpc_compression_algorithm_is_stream");
|
317
325
|
grpc_compression_algorithm_parse_import = (grpc_compression_algorithm_parse_type) GetProcAddress(library, "grpc_compression_algorithm_parse");
|
@@ -325,7 +333,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
325
333
|
grpc_metadata_array_destroy_import = (grpc_metadata_array_destroy_type) GetProcAddress(library, "grpc_metadata_array_destroy");
|
326
334
|
grpc_call_details_init_import = (grpc_call_details_init_type) GetProcAddress(library, "grpc_call_details_init");
|
327
335
|
grpc_call_details_destroy_import = (grpc_call_details_destroy_type) GetProcAddress(library, "grpc_call_details_destroy");
|
328
|
-
grpc_register_plugin_import = (grpc_register_plugin_type) GetProcAddress(library, "grpc_register_plugin");
|
329
336
|
grpc_init_import = (grpc_init_type) GetProcAddress(library, "grpc_init");
|
330
337
|
grpc_shutdown_import = (grpc_shutdown_type) GetProcAddress(library, "grpc_shutdown");
|
331
338
|
grpc_is_initialized_import = (grpc_is_initialized_type) GetProcAddress(library, "grpc_is_initialized");
|
@@ -358,7 +365,9 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
358
365
|
grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target");
|
359
366
|
grpc_channel_get_info_import = (grpc_channel_get_info_type) GetProcAddress(library, "grpc_channel_get_info");
|
360
367
|
grpc_channel_reset_connect_backoff_import = (grpc_channel_reset_connect_backoff_type) GetProcAddress(library, "grpc_channel_reset_connect_backoff");
|
361
|
-
|
368
|
+
grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
|
369
|
+
grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
|
370
|
+
grpc_channel_create_import = (grpc_channel_create_type) GetProcAddress(library, "grpc_channel_create");
|
362
371
|
grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create");
|
363
372
|
grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
|
364
373
|
grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel");
|
@@ -374,7 +383,7 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
374
383
|
grpc_server_config_fetcher_xds_create_import = (grpc_server_config_fetcher_xds_create_type) GetProcAddress(library, "grpc_server_config_fetcher_xds_create");
|
375
384
|
grpc_server_config_fetcher_destroy_import = (grpc_server_config_fetcher_destroy_type) GetProcAddress(library, "grpc_server_config_fetcher_destroy");
|
376
385
|
grpc_server_set_config_fetcher_import = (grpc_server_set_config_fetcher_type) GetProcAddress(library, "grpc_server_set_config_fetcher");
|
377
|
-
|
386
|
+
grpc_server_add_http2_port_import = (grpc_server_add_http2_port_type) GetProcAddress(library, "grpc_server_add_http2_port");
|
378
387
|
grpc_server_start_import = (grpc_server_start_type) GetProcAddress(library, "grpc_server_start");
|
379
388
|
grpc_server_shutdown_and_notify_import = (grpc_server_shutdown_and_notify_type) GetProcAddress(library, "grpc_server_shutdown_and_notify");
|
380
389
|
grpc_server_cancel_all_calls_import = (grpc_server_cancel_all_calls_type) GetProcAddress(library, "grpc_server_cancel_all_calls");
|
@@ -399,8 +408,8 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
399
408
|
grpc_channelz_get_subchannel_import = (grpc_channelz_get_subchannel_type) GetProcAddress(library, "grpc_channelz_get_subchannel");
|
400
409
|
grpc_channelz_get_socket_import = (grpc_channelz_get_socket_type) GetProcAddress(library, "grpc_channelz_get_socket");
|
401
410
|
grpc_authorization_policy_provider_arg_vtable_import = (grpc_authorization_policy_provider_arg_vtable_type) GetProcAddress(library, "grpc_authorization_policy_provider_arg_vtable");
|
402
|
-
|
403
|
-
|
411
|
+
grpc_channel_create_from_fd_import = (grpc_channel_create_from_fd_type) GetProcAddress(library, "grpc_channel_create_from_fd");
|
412
|
+
grpc_server_add_channel_from_fd_import = (grpc_server_add_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_channel_from_fd");
|
404
413
|
grpc_auth_property_iterator_next_import = (grpc_auth_property_iterator_next_type) GetProcAddress(library, "grpc_auth_property_iterator_next");
|
405
414
|
grpc_auth_context_property_iterator_import = (grpc_auth_context_property_iterator_type) GetProcAddress(library, "grpc_auth_context_property_iterator");
|
406
415
|
grpc_auth_context_peer_identity_import = (grpc_auth_context_peer_identity_type) GetProcAddress(library, "grpc_auth_context_peer_identity");
|
@@ -416,7 +425,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
416
425
|
grpc_ssl_session_cache_destroy_import = (grpc_ssl_session_cache_destroy_type) GetProcAddress(library, "grpc_ssl_session_cache_destroy");
|
417
426
|
grpc_ssl_session_cache_create_channel_arg_import = (grpc_ssl_session_cache_create_channel_arg_type) GetProcAddress(library, "grpc_ssl_session_cache_create_channel_arg");
|
418
427
|
grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release");
|
419
|
-
grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
|
420
428
|
grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create");
|
421
429
|
grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback");
|
422
430
|
grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create");
|
@@ -434,8 +442,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
434
442
|
grpc_auth_metadata_context_copy_import = (grpc_auth_metadata_context_copy_type) GetProcAddress(library, "grpc_auth_metadata_context_copy");
|
435
443
|
grpc_auth_metadata_context_reset_import = (grpc_auth_metadata_context_reset_type) GetProcAddress(library, "grpc_auth_metadata_context_reset");
|
436
444
|
grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin");
|
437
|
-
grpc_secure_channel_create_import = (grpc_secure_channel_create_type) GetProcAddress(library, "grpc_secure_channel_create");
|
438
|
-
grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
|
439
445
|
grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create");
|
440
446
|
grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy");
|
441
447
|
grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create");
|
@@ -444,7 +450,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
444
450
|
grpc_ssl_server_credentials_create_options_using_config_fetcher_import = (grpc_ssl_server_credentials_create_options_using_config_fetcher_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config_fetcher");
|
445
451
|
grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy");
|
446
452
|
grpc_ssl_server_credentials_create_with_options_import = (grpc_ssl_server_credentials_create_with_options_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_with_options");
|
447
|
-
grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port");
|
448
453
|
grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
|
449
454
|
grpc_server_credentials_set_auth_metadata_processor_import = (grpc_server_credentials_set_auth_metadata_processor_type) GetProcAddress(library, "grpc_server_credentials_set_auth_metadata_processor");
|
450
455
|
grpc_alts_credentials_client_options_create_import = (grpc_alts_credentials_client_options_create_type) GetProcAddress(library, "grpc_alts_credentials_client_options_create");
|
@@ -462,39 +467,24 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
462
467
|
grpc_tls_certificate_provider_file_watcher_create_import = (grpc_tls_certificate_provider_file_watcher_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_file_watcher_create");
|
463
468
|
grpc_tls_certificate_provider_release_import = (grpc_tls_certificate_provider_release_type) GetProcAddress(library, "grpc_tls_certificate_provider_release");
|
464
469
|
grpc_tls_credentials_options_create_import = (grpc_tls_credentials_options_create_type) GetProcAddress(library, "grpc_tls_credentials_options_create");
|
465
|
-
grpc_tls_credentials_options_set_cert_request_type_import = (grpc_tls_credentials_options_set_cert_request_type_type) GetProcAddress(library, "grpc_tls_credentials_options_set_cert_request_type");
|
466
|
-
grpc_tls_credentials_options_set_server_verification_option_import = (grpc_tls_credentials_options_set_server_verification_option_type) GetProcAddress(library, "grpc_tls_credentials_options_set_server_verification_option");
|
467
470
|
grpc_tls_credentials_options_set_certificate_provider_import = (grpc_tls_credentials_options_set_certificate_provider_type) GetProcAddress(library, "grpc_tls_credentials_options_set_certificate_provider");
|
468
471
|
grpc_tls_credentials_options_watch_root_certs_import = (grpc_tls_credentials_options_watch_root_certs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_root_certs");
|
469
472
|
grpc_tls_credentials_options_set_root_cert_name_import = (grpc_tls_credentials_options_set_root_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_root_cert_name");
|
470
473
|
grpc_tls_credentials_options_watch_identity_key_cert_pairs_import = (grpc_tls_credentials_options_watch_identity_key_cert_pairs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_identity_key_cert_pairs");
|
471
474
|
grpc_tls_credentials_options_set_identity_cert_name_import = (grpc_tls_credentials_options_set_identity_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_identity_cert_name");
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
+
grpc_tls_credentials_options_set_cert_request_type_import = (grpc_tls_credentials_options_set_cert_request_type_type) GetProcAddress(library, "grpc_tls_credentials_options_set_cert_request_type");
|
476
|
+
grpc_tls_credentials_options_set_crl_directory_import = (grpc_tls_credentials_options_set_crl_directory_type) GetProcAddress(library, "grpc_tls_credentials_options_set_crl_directory");
|
477
|
+
grpc_tls_credentials_options_set_verify_server_cert_import = (grpc_tls_credentials_options_set_verify_server_cert_type) GetProcAddress(library, "grpc_tls_credentials_options_set_verify_server_cert");
|
478
|
+
grpc_tls_credentials_options_set_send_client_ca_list_import = (grpc_tls_credentials_options_set_send_client_ca_list_type) GetProcAddress(library, "grpc_tls_credentials_options_set_send_client_ca_list");
|
479
|
+
grpc_tls_credentials_options_set_check_call_host_import = (grpc_tls_credentials_options_set_check_call_host_type) GetProcAddress(library, "grpc_tls_credentials_options_set_check_call_host");
|
480
|
+
grpc_insecure_credentials_create_import = (grpc_insecure_credentials_create_type) GetProcAddress(library, "grpc_insecure_credentials_create");
|
481
|
+
grpc_insecure_server_credentials_create_import = (grpc_insecure_server_credentials_create_type) GetProcAddress(library, "grpc_insecure_server_credentials_create");
|
475
482
|
grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
|
476
483
|
grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
|
477
484
|
grpc_authorization_policy_provider_static_data_create_import = (grpc_authorization_policy_provider_static_data_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_static_data_create");
|
478
485
|
grpc_authorization_policy_provider_file_watcher_create_import = (grpc_authorization_policy_provider_file_watcher_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_file_watcher_create");
|
479
486
|
grpc_authorization_policy_provider_release_import = (grpc_authorization_policy_provider_release_type) GetProcAddress(library, "grpc_authorization_policy_provider_release");
|
480
|
-
|
481
|
-
grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
|
482
|
-
grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
|
483
|
-
grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length");
|
484
|
-
grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy");
|
485
|
-
grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init");
|
486
|
-
grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy");
|
487
|
-
grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next");
|
488
|
-
grpc_byte_buffer_reader_peek_import = (grpc_byte_buffer_reader_peek_type) GetProcAddress(library, "grpc_byte_buffer_reader_peek");
|
489
|
-
grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall");
|
490
|
-
grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader");
|
491
|
-
gpr_log_severity_string_import = (gpr_log_severity_string_type) GetProcAddress(library, "gpr_log_severity_string");
|
492
|
-
gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log");
|
493
|
-
gpr_should_log_import = (gpr_should_log_type) GetProcAddress(library, "gpr_should_log");
|
494
|
-
gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message");
|
495
|
-
gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity");
|
496
|
-
gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init");
|
497
|
-
gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function");
|
487
|
+
grpc_tls_credentials_options_set_tls_session_key_log_file_path_import = (grpc_tls_credentials_options_set_tls_session_key_log_file_path_type) GetProcAddress(library, "grpc_tls_credentials_options_set_tls_session_key_log_file_path");
|
498
488
|
grpc_slice_ref_import = (grpc_slice_ref_type) GetProcAddress(library, "grpc_slice_ref");
|
499
489
|
grpc_slice_unref_import = (grpc_slice_unref_type) GetProcAddress(library, "grpc_slice_unref");
|
500
490
|
grpc_slice_copy_import = (grpc_slice_copy_type) GetProcAddress(library, "grpc_slice_copy");
|
@@ -503,7 +493,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
503
493
|
grpc_slice_new_with_len_import = (grpc_slice_new_with_len_type) GetProcAddress(library, "grpc_slice_new_with_len");
|
504
494
|
grpc_slice_malloc_import = (grpc_slice_malloc_type) GetProcAddress(library, "grpc_slice_malloc");
|
505
495
|
grpc_slice_malloc_large_import = (grpc_slice_malloc_large_type) GetProcAddress(library, "grpc_slice_malloc_large");
|
506
|
-
grpc_slice_intern_import = (grpc_slice_intern_type) GetProcAddress(library, "grpc_slice_intern");
|
507
496
|
grpc_slice_from_copied_string_import = (grpc_slice_from_copied_string_type) GetProcAddress(library, "grpc_slice_from_copied_string");
|
508
497
|
grpc_slice_from_copied_buffer_import = (grpc_slice_from_copied_buffer_type) GetProcAddress(library, "grpc_slice_from_copied_buffer");
|
509
498
|
grpc_slice_from_static_string_import = (grpc_slice_from_static_string_type) GetProcAddress(library, "grpc_slice_from_static_string");
|
@@ -514,8 +503,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
514
503
|
grpc_slice_split_tail_maybe_ref_import = (grpc_slice_split_tail_maybe_ref_type) GetProcAddress(library, "grpc_slice_split_tail_maybe_ref");
|
515
504
|
grpc_slice_split_head_import = (grpc_slice_split_head_type) GetProcAddress(library, "grpc_slice_split_head");
|
516
505
|
grpc_empty_slice_import = (grpc_empty_slice_type) GetProcAddress(library, "grpc_empty_slice");
|
517
|
-
grpc_slice_default_hash_impl_import = (grpc_slice_default_hash_impl_type) GetProcAddress(library, "grpc_slice_default_hash_impl");
|
518
|
-
grpc_slice_default_eq_impl_import = (grpc_slice_default_eq_impl_type) GetProcAddress(library, "grpc_slice_default_eq_impl");
|
519
506
|
grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq");
|
520
507
|
grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp");
|
521
508
|
grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp");
|
@@ -523,7 +510,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
523
510
|
grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr");
|
524
511
|
grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr");
|
525
512
|
grpc_slice_slice_import = (grpc_slice_slice_type) GetProcAddress(library, "grpc_slice_slice");
|
526
|
-
grpc_slice_hash_import = (grpc_slice_hash_type) GetProcAddress(library, "grpc_slice_hash");
|
527
513
|
grpc_slice_is_equivalent_import = (grpc_slice_is_equivalent_type) GetProcAddress(library, "grpc_slice_is_equivalent");
|
528
514
|
grpc_slice_dup_import = (grpc_slice_dup_type) GetProcAddress(library, "grpc_slice_dup");
|
529
515
|
grpc_slice_to_c_string_import = (grpc_slice_to_c_string_type) GetProcAddress(library, "grpc_slice_to_c_string");
|
@@ -551,6 +537,14 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
551
537
|
gpr_free_aligned_import = (gpr_free_aligned_type) GetProcAddress(library, "gpr_free_aligned");
|
552
538
|
gpr_cpu_num_cores_import = (gpr_cpu_num_cores_type) GetProcAddress(library, "gpr_cpu_num_cores");
|
553
539
|
gpr_cpu_current_cpu_import = (gpr_cpu_current_cpu_type) GetProcAddress(library, "gpr_cpu_current_cpu");
|
540
|
+
gpr_log_severity_string_import = (gpr_log_severity_string_type) GetProcAddress(library, "gpr_log_severity_string");
|
541
|
+
gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log");
|
542
|
+
gpr_should_log_import = (gpr_should_log_type) GetProcAddress(library, "gpr_should_log");
|
543
|
+
gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message");
|
544
|
+
gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity");
|
545
|
+
gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init");
|
546
|
+
gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function");
|
547
|
+
gpr_assertion_failed_import = (gpr_assertion_failed_type) GetProcAddress(library, "gpr_assertion_failed");
|
554
548
|
gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message");
|
555
549
|
gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup");
|
556
550
|
gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf");
|