grpc 1.42.0.pre1-arm64-darwin → 1.60.0.pre1-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/grpc_c.64-ucrt.ruby +0 -0
  3. data/src/ruby/bin/math_pb.rb +24 -18
  4. data/src/ruby/ext/grpc/ext-export-truffleruby-with-ruby-abi-version.clang +2 -0
  5. data/src/ruby/ext/grpc/ext-export-truffleruby-with-ruby-abi-version.gcc +7 -0
  6. data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.clang +2 -0
  7. data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.gcc +7 -0
  8. data/src/ruby/ext/grpc/ext-export.gcc +1 -1
  9. data/src/ruby/ext/grpc/extconf.rb +174 -27
  10. data/src/ruby/ext/grpc/rb_call.c +63 -39
  11. data/src/ruby/ext/grpc/rb_call_credentials.c +0 -1
  12. data/src/ruby/ext/grpc/rb_channel.c +113 -84
  13. data/src/ruby/ext/grpc/rb_channel.h +1 -0
  14. data/src/ruby/ext/grpc/rb_channel_args.c +19 -2
  15. data/src/ruby/ext/grpc/rb_channel_args.h +4 -0
  16. data/src/ruby/ext/grpc/rb_channel_credentials.c +0 -1
  17. data/src/ruby/ext/grpc/rb_compression_options.c +1 -2
  18. data/src/ruby/ext/grpc/rb_event_thread.c +22 -6
  19. data/src/ruby/ext/grpc/rb_event_thread.h +1 -0
  20. data/src/ruby/ext/grpc/rb_grpc.c +193 -30
  21. data/src/ruby/ext/grpc/rb_grpc.h +8 -2
  22. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +70 -72
  23. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +108 -111
  24. data/src/ruby/ext/grpc/rb_loader.c +6 -2
  25. data/src/ruby/ext/grpc/rb_server.c +69 -49
  26. data/src/ruby/ext/grpc/rb_server_credentials.c +0 -1
  27. data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +0 -1
  28. data/src/ruby/ext/grpc/rb_xds_server_credentials.c +0 -1
  29. data/src/ruby/lib/grpc/2.7/grpc_c.bundle +0 -0
  30. data/src/ruby/lib/grpc/3.0/grpc_c.bundle +0 -0
  31. data/src/ruby/lib/grpc/3.1/grpc_c.bundle +0 -0
  32. data/src/ruby/lib/grpc/3.2/grpc_c.bundle +0 -0
  33. data/src/ruby/lib/grpc/errors.rb +1 -1
  34. data/src/ruby/lib/grpc/generic/active_call.rb +16 -15
  35. data/src/ruby/lib/grpc/generic/bidi_call.rb +4 -0
  36. data/src/ruby/lib/grpc/grpc.rb +1 -1
  37. data/src/ruby/lib/grpc/version.rb +1 -1
  38. data/src/ruby/pb/generate_proto_ruby.sh +1 -6
  39. data/src/ruby/pb/grpc/health/v1/health_pb.rb +24 -13
  40. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +24 -3
  41. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +34 -108
  42. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +27 -3
  43. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +22 -0
  44. data/src/ruby/pb/test/client.rb +16 -0
  45. data/src/ruby/spec/channel_spec.rb +5 -43
  46. data/src/ruby/spec/client_server_spec.rb +20 -8
  47. data/src/ruby/spec/generic/active_call_spec.rb +12 -3
  48. data/src/ruby/spec/generic/client_stub_spec.rb +23 -23
  49. data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
  50. data/src/ruby/spec/generic/server_interceptors_spec.rb +1 -1
  51. data/src/ruby/spec/user_agent_spec.rb +1 -1
  52. metadata +59 -58
  53. data/src/ruby/lib/grpc/2.4/grpc_c.bundle +0 -0
  54. data/src/ruby/lib/grpc/2.5/grpc_c.bundle +0 -0
  55. data/src/ruby/lib/grpc/2.6/grpc_c.bundle +0 -0
  56. /data/{grpc_c.32.ruby → grpc_c.32-msvcrt.ruby} +0 -0
  57. /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
- grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
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
- grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import;
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
- grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
113
- grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
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,26 @@ 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;
183
+ grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import;
184
+ grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import;
177
185
  grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
178
186
  grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
179
187
  grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
180
188
  grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
181
189
  grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
182
- grpc_tls_credentials_options_set_server_authorization_check_config_type grpc_tls_credentials_options_set_server_authorization_check_config_import;
183
- grpc_tls_server_authorization_check_config_create_type grpc_tls_server_authorization_check_config_create_import;
184
- grpc_tls_server_authorization_check_config_release_type grpc_tls_server_authorization_check_config_release_import;
190
+ grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
191
+ grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
192
+ grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
193
+ grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import;
194
+ grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
195
+ grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
196
+ grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
185
197
  grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
186
198
  grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
187
199
  grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
188
200
  grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
189
201
  grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
190
- grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
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;
202
+ 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
203
  grpc_slice_ref_type grpc_slice_ref_import;
209
204
  grpc_slice_unref_type grpc_slice_unref_import;
210
205
  grpc_slice_copy_type grpc_slice_copy_import;
@@ -213,7 +208,6 @@ grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
213
208
  grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
214
209
  grpc_slice_malloc_type grpc_slice_malloc_import;
215
210
  grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
216
- grpc_slice_intern_type grpc_slice_intern_import;
217
211
  grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
218
212
  grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
219
213
  grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
@@ -224,8 +218,6 @@ grpc_slice_split_tail_type grpc_slice_split_tail_import;
224
218
  grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import;
225
219
  grpc_slice_split_head_type grpc_slice_split_head_import;
226
220
  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
221
  grpc_slice_eq_type grpc_slice_eq_import;
230
222
  grpc_slice_cmp_type grpc_slice_cmp_import;
231
223
  grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
@@ -233,7 +225,6 @@ grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
233
225
  grpc_slice_rchr_type grpc_slice_rchr_import;
234
226
  grpc_slice_chr_type grpc_slice_chr_import;
235
227
  grpc_slice_slice_type grpc_slice_slice_import;
236
- grpc_slice_hash_type grpc_slice_hash_import;
237
228
  grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
238
229
  grpc_slice_dup_type grpc_slice_dup_import;
239
230
  grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
@@ -261,6 +252,14 @@ gpr_malloc_aligned_type gpr_malloc_aligned_import;
261
252
  gpr_free_aligned_type gpr_free_aligned_import;
262
253
  gpr_cpu_num_cores_type gpr_cpu_num_cores_import;
263
254
  gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import;
255
+ gpr_log_severity_string_type gpr_log_severity_string_import;
256
+ gpr_log_type gpr_log_import;
257
+ gpr_should_log_type gpr_should_log_import;
258
+ gpr_log_message_type gpr_log_message_import;
259
+ gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
260
+ gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
261
+ gpr_set_log_function_type gpr_set_log_function_import;
262
+ gpr_assertion_failed_type gpr_assertion_failed_import;
264
263
  gpr_format_message_type gpr_format_message_import;
265
264
  gpr_strdup_type gpr_strdup_import;
266
265
  gpr_asprintf_type gpr_asprintf_import;
@@ -312,6 +311,17 @@ gpr_sleep_until_type gpr_sleep_until_import;
312
311
  gpr_timespec_to_micros_type gpr_timespec_to_micros_import;
313
312
 
314
313
  void grpc_rb_load_imports(HMODULE library) {
314
+ grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
315
+ grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
316
+ grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
317
+ grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length");
318
+ grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy");
319
+ grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init");
320
+ grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy");
321
+ grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next");
322
+ grpc_byte_buffer_reader_peek_import = (grpc_byte_buffer_reader_peek_type) GetProcAddress(library, "grpc_byte_buffer_reader_peek");
323
+ grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall");
324
+ grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader");
315
325
  grpc_compression_algorithm_is_message_import = (grpc_compression_algorithm_is_message_type) GetProcAddress(library, "grpc_compression_algorithm_is_message");
316
326
  grpc_compression_algorithm_is_stream_import = (grpc_compression_algorithm_is_stream_type) GetProcAddress(library, "grpc_compression_algorithm_is_stream");
317
327
  grpc_compression_algorithm_parse_import = (grpc_compression_algorithm_parse_type) GetProcAddress(library, "grpc_compression_algorithm_parse");
@@ -325,7 +335,6 @@ void grpc_rb_load_imports(HMODULE library) {
325
335
  grpc_metadata_array_destroy_import = (grpc_metadata_array_destroy_type) GetProcAddress(library, "grpc_metadata_array_destroy");
326
336
  grpc_call_details_init_import = (grpc_call_details_init_type) GetProcAddress(library, "grpc_call_details_init");
327
337
  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
338
  grpc_init_import = (grpc_init_type) GetProcAddress(library, "grpc_init");
330
339
  grpc_shutdown_import = (grpc_shutdown_type) GetProcAddress(library, "grpc_shutdown");
331
340
  grpc_is_initialized_import = (grpc_is_initialized_type) GetProcAddress(library, "grpc_is_initialized");
@@ -358,7 +367,9 @@ void grpc_rb_load_imports(HMODULE library) {
358
367
  grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target");
359
368
  grpc_channel_get_info_import = (grpc_channel_get_info_type) GetProcAddress(library, "grpc_channel_get_info");
360
369
  grpc_channel_reset_connect_backoff_import = (grpc_channel_reset_connect_backoff_type) GetProcAddress(library, "grpc_channel_reset_connect_backoff");
361
- grpc_insecure_channel_create_import = (grpc_insecure_channel_create_type) GetProcAddress(library, "grpc_insecure_channel_create");
370
+ grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
371
+ grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
372
+ grpc_channel_create_import = (grpc_channel_create_type) GetProcAddress(library, "grpc_channel_create");
362
373
  grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create");
363
374
  grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
364
375
  grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel");
@@ -374,7 +385,7 @@ void grpc_rb_load_imports(HMODULE library) {
374
385
  grpc_server_config_fetcher_xds_create_import = (grpc_server_config_fetcher_xds_create_type) GetProcAddress(library, "grpc_server_config_fetcher_xds_create");
375
386
  grpc_server_config_fetcher_destroy_import = (grpc_server_config_fetcher_destroy_type) GetProcAddress(library, "grpc_server_config_fetcher_destroy");
376
387
  grpc_server_set_config_fetcher_import = (grpc_server_set_config_fetcher_type) GetProcAddress(library, "grpc_server_set_config_fetcher");
377
- grpc_server_add_insecure_http2_port_import = (grpc_server_add_insecure_http2_port_type) GetProcAddress(library, "grpc_server_add_insecure_http2_port");
388
+ grpc_server_add_http2_port_import = (grpc_server_add_http2_port_type) GetProcAddress(library, "grpc_server_add_http2_port");
378
389
  grpc_server_start_import = (grpc_server_start_type) GetProcAddress(library, "grpc_server_start");
379
390
  grpc_server_shutdown_and_notify_import = (grpc_server_shutdown_and_notify_type) GetProcAddress(library, "grpc_server_shutdown_and_notify");
380
391
  grpc_server_cancel_all_calls_import = (grpc_server_cancel_all_calls_type) GetProcAddress(library, "grpc_server_cancel_all_calls");
@@ -399,8 +410,8 @@ void grpc_rb_load_imports(HMODULE library) {
399
410
  grpc_channelz_get_subchannel_import = (grpc_channelz_get_subchannel_type) GetProcAddress(library, "grpc_channelz_get_subchannel");
400
411
  grpc_channelz_get_socket_import = (grpc_channelz_get_socket_type) GetProcAddress(library, "grpc_channelz_get_socket");
401
412
  grpc_authorization_policy_provider_arg_vtable_import = (grpc_authorization_policy_provider_arg_vtable_type) GetProcAddress(library, "grpc_authorization_policy_provider_arg_vtable");
402
- grpc_insecure_channel_create_from_fd_import = (grpc_insecure_channel_create_from_fd_type) GetProcAddress(library, "grpc_insecure_channel_create_from_fd");
403
- grpc_server_add_insecure_channel_from_fd_import = (grpc_server_add_insecure_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_insecure_channel_from_fd");
413
+ grpc_channel_create_from_fd_import = (grpc_channel_create_from_fd_type) GetProcAddress(library, "grpc_channel_create_from_fd");
414
+ grpc_server_add_channel_from_fd_import = (grpc_server_add_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_channel_from_fd");
404
415
  grpc_auth_property_iterator_next_import = (grpc_auth_property_iterator_next_type) GetProcAddress(library, "grpc_auth_property_iterator_next");
405
416
  grpc_auth_context_property_iterator_import = (grpc_auth_context_property_iterator_type) GetProcAddress(library, "grpc_auth_context_property_iterator");
406
417
  grpc_auth_context_peer_identity_import = (grpc_auth_context_peer_identity_type) GetProcAddress(library, "grpc_auth_context_peer_identity");
@@ -416,7 +427,6 @@ void grpc_rb_load_imports(HMODULE library) {
416
427
  grpc_ssl_session_cache_destroy_import = (grpc_ssl_session_cache_destroy_type) GetProcAddress(library, "grpc_ssl_session_cache_destroy");
417
428
  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
429
  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
430
  grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create");
421
431
  grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback");
422
432
  grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create");
@@ -434,8 +444,6 @@ void grpc_rb_load_imports(HMODULE library) {
434
444
  grpc_auth_metadata_context_copy_import = (grpc_auth_metadata_context_copy_type) GetProcAddress(library, "grpc_auth_metadata_context_copy");
435
445
  grpc_auth_metadata_context_reset_import = (grpc_auth_metadata_context_reset_type) GetProcAddress(library, "grpc_auth_metadata_context_reset");
436
446
  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
447
  grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create");
440
448
  grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy");
441
449
  grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create");
@@ -444,7 +452,6 @@ void grpc_rb_load_imports(HMODULE library) {
444
452
  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
453
  grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy");
446
454
  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
455
  grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
449
456
  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
457
  grpc_alts_credentials_client_options_create_import = (grpc_alts_credentials_client_options_create_type) GetProcAddress(library, "grpc_alts_credentials_client_options_create");
@@ -462,39 +469,26 @@ void grpc_rb_load_imports(HMODULE library) {
462
469
  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
470
  grpc_tls_certificate_provider_release_import = (grpc_tls_certificate_provider_release_type) GetProcAddress(library, "grpc_tls_certificate_provider_release");
464
471
  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");
472
+ grpc_tls_credentials_options_copy_import = (grpc_tls_credentials_options_copy_type) GetProcAddress(library, "grpc_tls_credentials_options_copy");
473
+ grpc_tls_credentials_options_destroy_import = (grpc_tls_credentials_options_destroy_type) GetProcAddress(library, "grpc_tls_credentials_options_destroy");
467
474
  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
475
  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
476
  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
477
  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
478
  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
- grpc_tls_credentials_options_set_server_authorization_check_config_import = (grpc_tls_credentials_options_set_server_authorization_check_config_type) GetProcAddress(library, "grpc_tls_credentials_options_set_server_authorization_check_config");
473
- grpc_tls_server_authorization_check_config_create_import = (grpc_tls_server_authorization_check_config_create_type) GetProcAddress(library, "grpc_tls_server_authorization_check_config_create");
474
- grpc_tls_server_authorization_check_config_release_import = (grpc_tls_server_authorization_check_config_release_type) GetProcAddress(library, "grpc_tls_server_authorization_check_config_release");
479
+ 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");
480
+ 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");
481
+ 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");
482
+ 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");
483
+ 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");
484
+ grpc_insecure_credentials_create_import = (grpc_insecure_credentials_create_type) GetProcAddress(library, "grpc_insecure_credentials_create");
485
+ grpc_insecure_server_credentials_create_import = (grpc_insecure_server_credentials_create_type) GetProcAddress(library, "grpc_insecure_server_credentials_create");
475
486
  grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
476
487
  grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
477
488
  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
489
  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
490
  grpc_authorization_policy_provider_release_import = (grpc_authorization_policy_provider_release_type) GetProcAddress(library, "grpc_authorization_policy_provider_release");
480
- grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
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");
491
+ 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
492
  grpc_slice_ref_import = (grpc_slice_ref_type) GetProcAddress(library, "grpc_slice_ref");
499
493
  grpc_slice_unref_import = (grpc_slice_unref_type) GetProcAddress(library, "grpc_slice_unref");
500
494
  grpc_slice_copy_import = (grpc_slice_copy_type) GetProcAddress(library, "grpc_slice_copy");
@@ -503,7 +497,6 @@ void grpc_rb_load_imports(HMODULE library) {
503
497
  grpc_slice_new_with_len_import = (grpc_slice_new_with_len_type) GetProcAddress(library, "grpc_slice_new_with_len");
504
498
  grpc_slice_malloc_import = (grpc_slice_malloc_type) GetProcAddress(library, "grpc_slice_malloc");
505
499
  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
500
  grpc_slice_from_copied_string_import = (grpc_slice_from_copied_string_type) GetProcAddress(library, "grpc_slice_from_copied_string");
508
501
  grpc_slice_from_copied_buffer_import = (grpc_slice_from_copied_buffer_type) GetProcAddress(library, "grpc_slice_from_copied_buffer");
509
502
  grpc_slice_from_static_string_import = (grpc_slice_from_static_string_type) GetProcAddress(library, "grpc_slice_from_static_string");
@@ -514,8 +507,6 @@ void grpc_rb_load_imports(HMODULE library) {
514
507
  grpc_slice_split_tail_maybe_ref_import = (grpc_slice_split_tail_maybe_ref_type) GetProcAddress(library, "grpc_slice_split_tail_maybe_ref");
515
508
  grpc_slice_split_head_import = (grpc_slice_split_head_type) GetProcAddress(library, "grpc_slice_split_head");
516
509
  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
510
  grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq");
520
511
  grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp");
521
512
  grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp");
@@ -523,7 +514,6 @@ void grpc_rb_load_imports(HMODULE library) {
523
514
  grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr");
524
515
  grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr");
525
516
  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
517
  grpc_slice_is_equivalent_import = (grpc_slice_is_equivalent_type) GetProcAddress(library, "grpc_slice_is_equivalent");
528
518
  grpc_slice_dup_import = (grpc_slice_dup_type) GetProcAddress(library, "grpc_slice_dup");
529
519
  grpc_slice_to_c_string_import = (grpc_slice_to_c_string_type) GetProcAddress(library, "grpc_slice_to_c_string");
@@ -551,6 +541,14 @@ void grpc_rb_load_imports(HMODULE library) {
551
541
  gpr_free_aligned_import = (gpr_free_aligned_type) GetProcAddress(library, "gpr_free_aligned");
552
542
  gpr_cpu_num_cores_import = (gpr_cpu_num_cores_type) GetProcAddress(library, "gpr_cpu_num_cores");
553
543
  gpr_cpu_current_cpu_import = (gpr_cpu_current_cpu_type) GetProcAddress(library, "gpr_cpu_current_cpu");
544
+ gpr_log_severity_string_import = (gpr_log_severity_string_type) GetProcAddress(library, "gpr_log_severity_string");
545
+ gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log");
546
+ gpr_should_log_import = (gpr_should_log_type) GetProcAddress(library, "gpr_should_log");
547
+ gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message");
548
+ gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity");
549
+ gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init");
550
+ gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function");
551
+ gpr_assertion_failed_import = (gpr_assertion_failed_type) GetProcAddress(library, "gpr_assertion_failed");
554
552
  gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message");
555
553
  gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup");
556
554
  gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf");