blob: 648d515003ad80c7fd19485421c672d06a190d88 [file] [log] [blame]
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +01001/*
2 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003 * Copyright 2016 gRPC authors.
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +01004 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +01008 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009 * http://www.apache.org/licenses/LICENSE-2.0
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010010 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010016 *
17 */
18
19#include <grpc/support/port_platform.h>
20
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070021#ifdef GPR_WINDOWS
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010022
Nicolas "Pixel" Nobleb8e9e9c2016-01-30 18:35:13 +010023#include "rb_grpc_imports.generated.h"
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010024
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010025grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import;
26grpc_compression_algorithm_name_type grpc_compression_algorithm_name_import;
Muxi Yanb32c23a2017-07-26 14:49:53 -070027grpc_stream_compression_algorithm_name_type grpc_stream_compression_algorithm_name_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010028grpc_compression_algorithm_for_level_type grpc_compression_algorithm_for_level_import;
Muxi Yanb32c23a2017-07-26 14:49:53 -070029grpc_stream_compression_algorithm_for_level_type grpc_stream_compression_algorithm_for_level_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010030grpc_compression_options_init_type grpc_compression_options_init_import;
31grpc_compression_options_enable_algorithm_type grpc_compression_options_enable_algorithm_import;
32grpc_compression_options_disable_algorithm_type grpc_compression_options_disable_algorithm_import;
33grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import;
Muxi Yanb32c23a2017-07-26 14:49:53 -070034grpc_compression_options_is_stream_compression_algorithm_enabled_type grpc_compression_options_is_stream_compression_algorithm_enabled_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010035grpc_metadata_array_init_type grpc_metadata_array_init_import;
36grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import;
37grpc_call_details_init_type grpc_call_details_init_import;
38grpc_call_details_destroy_type grpc_call_details_destroy_import;
39grpc_register_plugin_type grpc_register_plugin_import;
40grpc_init_type grpc_init_import;
41grpc_shutdown_type grpc_shutdown_import;
42grpc_version_string_type grpc_version_string_import;
Craig Tillerd9f90762016-08-29 16:47:22 -070043grpc_g_stands_for_type grpc_g_stands_for_import;
Sree Kuchibhotlabf184282017-03-21 15:18:58 -070044grpc_completion_queue_factory_lookup_type grpc_completion_queue_factory_lookup_import;
45grpc_completion_queue_create_for_next_type grpc_completion_queue_create_for_next_import;
46grpc_completion_queue_create_for_pluck_type grpc_completion_queue_create_for_pluck_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010047grpc_completion_queue_create_type grpc_completion_queue_create_import;
48grpc_completion_queue_next_type grpc_completion_queue_next_import;
49grpc_completion_queue_pluck_type grpc_completion_queue_pluck_import;
50grpc_completion_queue_shutdown_type grpc_completion_queue_shutdown_import;
51grpc_completion_queue_destroy_type grpc_completion_queue_destroy_import;
Ken Payson42bd87e2017-10-20 10:32:30 -070052grpc_completion_queue_thread_local_cache_init_type grpc_completion_queue_thread_local_cache_init_import;
53grpc_completion_queue_thread_local_cache_flush_type grpc_completion_queue_thread_local_cache_flush_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010054grpc_alarm_create_type grpc_alarm_create_import;
Vijay Pai58c33ba2017-09-01 14:08:42 -070055grpc_alarm_set_type grpc_alarm_set_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010056grpc_alarm_cancel_type grpc_alarm_cancel_import;
57grpc_alarm_destroy_type grpc_alarm_destroy_import;
58grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import;
Alexander Polcync3b1f182017-04-18 13:51:36 -070059grpc_channel_num_external_connectivity_watchers_type grpc_channel_num_external_connectivity_watchers_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010060grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import;
Yuchen Zengba23e792017-08-24 23:13:09 -070061grpc_channel_support_connectivity_watcher_type grpc_channel_support_connectivity_watcher_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010062grpc_channel_create_call_type grpc_channel_create_call_import;
63grpc_channel_ping_type grpc_channel_ping_import;
64grpc_channel_register_call_type grpc_channel_register_call_import;
65grpc_channel_create_registered_call_type grpc_channel_create_registered_call_import;
Vijay Paic0e67012017-03-17 20:00:55 -070066grpc_call_arena_alloc_type grpc_call_arena_alloc_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010067grpc_call_start_batch_type grpc_call_start_batch_import;
68grpc_call_get_peer_type grpc_call_get_peer_import;
69grpc_census_call_set_context_type grpc_census_call_set_context_import;
70grpc_census_call_get_context_type grpc_census_call_get_context_import;
71grpc_channel_get_target_type grpc_channel_get_target_import;
Mark D. Roth8e2d8d92016-11-04 12:55:07 -070072grpc_channel_get_info_type grpc_channel_get_info_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010073grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
74grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
75grpc_channel_destroy_type grpc_channel_destroy_import;
76grpc_call_cancel_type grpc_call_cancel_import;
77grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import;
Craig Tillerd35bb9e2017-03-31 12:56:15 -070078grpc_call_ref_type grpc_call_ref_import;
Craig Tillerdd36b152017-03-31 08:27:28 -070079grpc_call_unref_type grpc_call_unref_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +010080grpc_server_request_call_type grpc_server_request_call_import;
81grpc_server_register_method_type grpc_server_register_method_import;
82grpc_server_request_registered_call_type grpc_server_request_registered_call_import;
83grpc_server_create_type grpc_server_create_import;
84grpc_server_register_completion_queue_type grpc_server_register_completion_queue_import;
85grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import;
86grpc_server_start_type grpc_server_start_import;
87grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import;
88grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import;
89grpc_server_destroy_type grpc_server_destroy_import;
90grpc_tracer_set_enabled_type grpc_tracer_set_enabled_import;
91grpc_header_key_is_legal_type grpc_header_key_is_legal_import;
92grpc_header_nonbin_value_is_legal_type grpc_header_nonbin_value_is_legal_import;
93grpc_is_binary_header_type grpc_is_binary_header_import;
Yuchen Zeng2e7d9572016-04-15 17:29:57 -070094grpc_call_error_to_string_type grpc_call_error_to_string_import;
Craig Tiller20afa3d2016-10-17 14:52:14 -070095grpc_resource_quota_create_type grpc_resource_quota_create_import;
96grpc_resource_quota_ref_type grpc_resource_quota_ref_import;
97grpc_resource_quota_unref_type grpc_resource_quota_unref_import;
98grpc_resource_quota_resize_type grpc_resource_quota_resize_import;
99grpc_resource_quota_arg_vtable_type grpc_resource_quota_arg_vtable_import;
Adam Michalik321b1fb2016-05-16 15:42:36 -0700100grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
Adam Michalikbf10c822016-05-20 16:13:32 -0700101grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
Sree Kuchibhotla492fd962016-06-10 09:03:34 -0700102grpc_use_signal_type grpc_use_signal_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100103grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
104grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import;
105grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import;
106grpc_auth_context_find_properties_by_name_type grpc_auth_context_find_properties_by_name_import;
107grpc_auth_context_peer_identity_property_name_type grpc_auth_context_peer_identity_property_name_import;
108grpc_auth_context_peer_is_authenticated_type grpc_auth_context_peer_is_authenticated_import;
109grpc_call_auth_context_type grpc_call_auth_context_import;
110grpc_auth_context_release_type grpc_auth_context_release_import;
111grpc_auth_context_add_property_type grpc_auth_context_add_property_import;
112grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring_property_import;
113grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import;
114grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
115grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
Nicolas "Pixel" Noble63976602016-02-17 23:43:55 +0100116grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100117grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
118grpc_call_credentials_release_type grpc_call_credentials_release_import;
119grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import;
120grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import;
121grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import;
Nicolas "Pixel" Nobled2f20ef2016-01-31 07:52:59 +0100122grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100123grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import;
124grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import;
125grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import;
126grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import;
127grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
128grpc_secure_channel_create_type grpc_secure_channel_create_import;
129grpc_server_credentials_release_type grpc_server_credentials_release_import;
Justin Burkec1d354d2017-09-19 15:06:01 -0700130grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
131grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100132grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
Deepak Lukosedba4c5f2016-03-25 12:54:25 -0700133grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import;
Justin Burkec1d354d2017-09-19 15:06:01 -0700134grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import;
135grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
136grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
137grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100138grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
139grpc_call_set_credentials_type grpc_call_set_credentials_import;
140grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
Vijay Paiefce6e12017-09-14 09:07:50 -0700141grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
142grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
143grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
144grpc_byte_buffer_length_type grpc_byte_buffer_length_import;
145grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import;
146grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import;
147grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import;
148grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
149grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
150grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700151grpc_slice_ref_type grpc_slice_ref_import;
152grpc_slice_unref_type grpc_slice_unref_import;
Craig Tillerbb4046c2017-04-26 08:56:30 -0700153grpc_slice_copy_type grpc_slice_copy_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700154grpc_slice_new_type grpc_slice_new_import;
155grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
156grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
157grpc_slice_malloc_type grpc_slice_malloc_import;
Craig Tillerc39fbcf2017-04-17 08:20:25 -0700158grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800159grpc_slice_intern_type grpc_slice_intern_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700160grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
161grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
162grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800163grpc_slice_from_static_buffer_type grpc_slice_from_static_buffer_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700164grpc_slice_sub_type grpc_slice_sub_import;
165grpc_slice_sub_no_ref_type grpc_slice_sub_no_ref_import;
166grpc_slice_split_tail_type grpc_slice_split_tail_import;
Craig Tillerc39fbcf2017-04-17 08:20:25 -0700167grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700168grpc_slice_split_head_type grpc_slice_split_head_import;
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800169grpc_empty_slice_type grpc_empty_slice_import;
170grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import;
171grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
172grpc_slice_eq_type grpc_slice_eq_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700173grpc_slice_cmp_type grpc_slice_cmp_import;
174grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800175grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
176grpc_slice_rchr_type grpc_slice_rchr_import;
177grpc_slice_chr_type grpc_slice_chr_import;
178grpc_slice_slice_type grpc_slice_slice_import;
179grpc_slice_hash_type grpc_slice_hash_import;
Craig Tillerc5866662016-11-16 15:25:00 -0800180grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800181grpc_slice_dup_type grpc_slice_dup_import;
182grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700183grpc_slice_buffer_init_type grpc_slice_buffer_init_import;
184grpc_slice_buffer_destroy_type grpc_slice_buffer_destroy_import;
185grpc_slice_buffer_add_type grpc_slice_buffer_add_import;
186grpc_slice_buffer_add_indexed_type grpc_slice_buffer_add_indexed_import;
187grpc_slice_buffer_addn_type grpc_slice_buffer_addn_import;
188grpc_slice_buffer_tiny_add_type grpc_slice_buffer_tiny_add_import;
189grpc_slice_buffer_pop_type grpc_slice_buffer_pop_import;
190grpc_slice_buffer_reset_and_unref_type grpc_slice_buffer_reset_and_unref_import;
191grpc_slice_buffer_swap_type grpc_slice_buffer_swap_import;
192grpc_slice_buffer_move_into_type grpc_slice_buffer_move_into_import;
193grpc_slice_buffer_trim_end_type grpc_slice_buffer_trim_end_import;
194grpc_slice_buffer_move_first_type grpc_slice_buffer_move_first_import;
Craig Tillerc39fbcf2017-04-17 08:20:25 -0700195grpc_slice_buffer_move_first_no_ref_type grpc_slice_buffer_move_first_no_ref_import;
Craig Tiller0cf6a712017-01-20 14:07:05 -0800196grpc_slice_buffer_move_first_into_buffer_type grpc_slice_buffer_move_first_into_buffer_import;
Craig Tillerc3350542016-10-26 16:19:01 -0700197grpc_slice_buffer_take_first_type grpc_slice_buffer_take_first_import;
Craig Tiller0cf6a712017-01-20 14:07:05 -0800198grpc_slice_buffer_undo_take_first_type grpc_slice_buffer_undo_take_first_import;
David Garcia Quintas3b31fdf2016-07-27 18:17:12 -0700199gpr_malloc_type gpr_malloc_import;
Craig Tillerff714492017-02-17 09:02:18 -0800200gpr_zalloc_type gpr_zalloc_import;
David Garcia Quintas3b31fdf2016-07-27 18:17:12 -0700201gpr_free_type gpr_free_import;
202gpr_realloc_type gpr_realloc_import;
203gpr_malloc_aligned_type gpr_malloc_aligned_import;
204gpr_free_aligned_type gpr_free_aligned_import;
205gpr_set_allocation_functions_type gpr_set_allocation_functions_import;
206gpr_get_allocation_functions_type gpr_get_allocation_functions_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100207gpr_avl_create_type gpr_avl_create_import;
208gpr_avl_ref_type gpr_avl_ref_import;
209gpr_avl_unref_type gpr_avl_unref_import;
210gpr_avl_add_type gpr_avl_add_import;
211gpr_avl_remove_type gpr_avl_remove_import;
212gpr_avl_get_type gpr_avl_get_import;
Craig Tillerd6a5b802016-05-13 20:17:38 -0700213gpr_avl_maybe_get_type gpr_avl_maybe_get_import;
214gpr_avl_is_empty_type gpr_avl_is_empty_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100215gpr_cmdline_create_type gpr_cmdline_create_import;
216gpr_cmdline_add_int_type gpr_cmdline_add_int_import;
217gpr_cmdline_add_flag_type gpr_cmdline_add_flag_import;
218gpr_cmdline_add_string_type gpr_cmdline_add_string_import;
219gpr_cmdline_on_extra_arg_type gpr_cmdline_on_extra_arg_import;
220gpr_cmdline_set_survive_failure_type gpr_cmdline_set_survive_failure_import;
221gpr_cmdline_parse_type gpr_cmdline_parse_import;
222gpr_cmdline_destroy_type gpr_cmdline_destroy_import;
223gpr_cmdline_usage_string_type gpr_cmdline_usage_string_import;
224gpr_cpu_num_cores_type gpr_cpu_num_cores_import;
225gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import;
226gpr_histogram_create_type gpr_histogram_create_import;
227gpr_histogram_destroy_type gpr_histogram_destroy_import;
228gpr_histogram_add_type gpr_histogram_add_import;
229gpr_histogram_merge_type gpr_histogram_merge_import;
230gpr_histogram_percentile_type gpr_histogram_percentile_import;
231gpr_histogram_mean_type gpr_histogram_mean_import;
232gpr_histogram_stddev_type gpr_histogram_stddev_import;
233gpr_histogram_variance_type gpr_histogram_variance_import;
234gpr_histogram_maximum_type gpr_histogram_maximum_import;
235gpr_histogram_minimum_type gpr_histogram_minimum_import;
236gpr_histogram_count_type gpr_histogram_count_import;
237gpr_histogram_sum_type gpr_histogram_sum_import;
238gpr_histogram_sum_of_squares_type gpr_histogram_sum_of_squares_import;
239gpr_histogram_get_contents_type gpr_histogram_get_contents_import;
240gpr_histogram_merge_contents_type gpr_histogram_merge_contents_import;
241gpr_join_host_port_type gpr_join_host_port_import;
242gpr_split_host_port_type gpr_split_host_port_import;
Craig Tillercc919832017-05-23 13:35:55 -0700243gpr_log_severity_string_type gpr_log_severity_string_import;
David Garcia Quintasc79b0652016-07-27 21:11:58 -0700244gpr_log_type gpr_log_import;
245gpr_log_message_type gpr_log_message_import;
246gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
247gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
248gpr_set_log_function_type gpr_set_log_function_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100249gpr_format_message_type gpr_format_message_import;
250gpr_strdup_type gpr_strdup_import;
251gpr_asprintf_type gpr_asprintf_import;
252gpr_subprocess_binary_extension_type gpr_subprocess_binary_extension_import;
253gpr_subprocess_create_type gpr_subprocess_create_import;
254gpr_subprocess_destroy_type gpr_subprocess_destroy_import;
255gpr_subprocess_join_type gpr_subprocess_join_import;
256gpr_subprocess_interrupt_type gpr_subprocess_interrupt_import;
David Garcia Quintas2ee99f42016-08-01 19:15:31 -0700257gpr_mu_init_type gpr_mu_init_import;
258gpr_mu_destroy_type gpr_mu_destroy_import;
259gpr_mu_lock_type gpr_mu_lock_import;
260gpr_mu_unlock_type gpr_mu_unlock_import;
261gpr_mu_trylock_type gpr_mu_trylock_import;
262gpr_cv_init_type gpr_cv_init_import;
263gpr_cv_destroy_type gpr_cv_destroy_import;
264gpr_cv_wait_type gpr_cv_wait_import;
265gpr_cv_signal_type gpr_cv_signal_import;
266gpr_cv_broadcast_type gpr_cv_broadcast_import;
267gpr_once_init_type gpr_once_init_import;
268gpr_event_init_type gpr_event_init_import;
269gpr_event_set_type gpr_event_set_import;
270gpr_event_get_type gpr_event_get_import;
271gpr_event_wait_type gpr_event_wait_import;
272gpr_ref_init_type gpr_ref_init_import;
273gpr_ref_type gpr_ref_import;
274gpr_ref_non_zero_type gpr_ref_non_zero_import;
275gpr_refn_type gpr_refn_import;
276gpr_unref_type gpr_unref_import;
ncteisen3da3ce32017-02-17 09:51:25 -0800277gpr_ref_is_unique_type gpr_ref_is_unique_import;
David Garcia Quintas2ee99f42016-08-01 19:15:31 -0700278gpr_stats_init_type gpr_stats_init_import;
279gpr_stats_inc_type gpr_stats_inc_import;
280gpr_stats_read_type gpr_stats_read_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100281gpr_thd_new_type gpr_thd_new_import;
282gpr_thd_options_default_type gpr_thd_options_default_import;
283gpr_thd_options_set_detached_type gpr_thd_options_set_detached_import;
284gpr_thd_options_set_joinable_type gpr_thd_options_set_joinable_import;
285gpr_thd_options_is_detached_type gpr_thd_options_is_detached_import;
286gpr_thd_options_is_joinable_type gpr_thd_options_is_joinable_import;
287gpr_thd_currentid_type gpr_thd_currentid_import;
288gpr_thd_join_type gpr_thd_join_import;
David Garcia Quintas1399e462016-07-27 20:31:55 -0700289gpr_time_0_type gpr_time_0_import;
290gpr_inf_future_type gpr_inf_future_import;
291gpr_inf_past_type gpr_inf_past_import;
292gpr_time_init_type gpr_time_init_import;
293gpr_now_type gpr_now_import;
294gpr_convert_clock_type_type gpr_convert_clock_type_import;
295gpr_time_cmp_type gpr_time_cmp_import;
296gpr_time_max_type gpr_time_max_import;
297gpr_time_min_type gpr_time_min_import;
298gpr_time_add_type gpr_time_add_import;
299gpr_time_sub_type gpr_time_sub_import;
300gpr_time_from_micros_type gpr_time_from_micros_import;
301gpr_time_from_nanos_type gpr_time_from_nanos_import;
302gpr_time_from_millis_type gpr_time_from_millis_import;
303gpr_time_from_seconds_type gpr_time_from_seconds_import;
304gpr_time_from_minutes_type gpr_time_from_minutes_import;
305gpr_time_from_hours_type gpr_time_from_hours_import;
306gpr_time_to_millis_type gpr_time_to_millis_import;
307gpr_time_similar_type gpr_time_similar_import;
308gpr_sleep_until_type gpr_sleep_until_import;
309gpr_timespec_to_micros_type gpr_timespec_to_micros_import;
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100310
311void grpc_rb_load_imports(HMODULE library) {
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100312 grpc_compression_algorithm_parse_import = (grpc_compression_algorithm_parse_type) GetProcAddress(library, "grpc_compression_algorithm_parse");
313 grpc_compression_algorithm_name_import = (grpc_compression_algorithm_name_type) GetProcAddress(library, "grpc_compression_algorithm_name");
Muxi Yanb32c23a2017-07-26 14:49:53 -0700314 grpc_stream_compression_algorithm_name_import = (grpc_stream_compression_algorithm_name_type) GetProcAddress(library, "grpc_stream_compression_algorithm_name");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100315 grpc_compression_algorithm_for_level_import = (grpc_compression_algorithm_for_level_type) GetProcAddress(library, "grpc_compression_algorithm_for_level");
Muxi Yanb32c23a2017-07-26 14:49:53 -0700316 grpc_stream_compression_algorithm_for_level_import = (grpc_stream_compression_algorithm_for_level_type) GetProcAddress(library, "grpc_stream_compression_algorithm_for_level");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100317 grpc_compression_options_init_import = (grpc_compression_options_init_type) GetProcAddress(library, "grpc_compression_options_init");
318 grpc_compression_options_enable_algorithm_import = (grpc_compression_options_enable_algorithm_type) GetProcAddress(library, "grpc_compression_options_enable_algorithm");
319 grpc_compression_options_disable_algorithm_import = (grpc_compression_options_disable_algorithm_type) GetProcAddress(library, "grpc_compression_options_disable_algorithm");
320 grpc_compression_options_is_algorithm_enabled_import = (grpc_compression_options_is_algorithm_enabled_type) GetProcAddress(library, "grpc_compression_options_is_algorithm_enabled");
Muxi Yanb32c23a2017-07-26 14:49:53 -0700321 grpc_compression_options_is_stream_compression_algorithm_enabled_import = (grpc_compression_options_is_stream_compression_algorithm_enabled_type) GetProcAddress(library, "grpc_compression_options_is_stream_compression_algorithm_enabled");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100322 grpc_metadata_array_init_import = (grpc_metadata_array_init_type) GetProcAddress(library, "grpc_metadata_array_init");
323 grpc_metadata_array_destroy_import = (grpc_metadata_array_destroy_type) GetProcAddress(library, "grpc_metadata_array_destroy");
324 grpc_call_details_init_import = (grpc_call_details_init_type) GetProcAddress(library, "grpc_call_details_init");
325 grpc_call_details_destroy_import = (grpc_call_details_destroy_type) GetProcAddress(library, "grpc_call_details_destroy");
326 grpc_register_plugin_import = (grpc_register_plugin_type) GetProcAddress(library, "grpc_register_plugin");
327 grpc_init_import = (grpc_init_type) GetProcAddress(library, "grpc_init");
328 grpc_shutdown_import = (grpc_shutdown_type) GetProcAddress(library, "grpc_shutdown");
329 grpc_version_string_import = (grpc_version_string_type) GetProcAddress(library, "grpc_version_string");
Craig Tillerd9f90762016-08-29 16:47:22 -0700330 grpc_g_stands_for_import = (grpc_g_stands_for_type) GetProcAddress(library, "grpc_g_stands_for");
Sree Kuchibhotlabf184282017-03-21 15:18:58 -0700331 grpc_completion_queue_factory_lookup_import = (grpc_completion_queue_factory_lookup_type) GetProcAddress(library, "grpc_completion_queue_factory_lookup");
332 grpc_completion_queue_create_for_next_import = (grpc_completion_queue_create_for_next_type) GetProcAddress(library, "grpc_completion_queue_create_for_next");
333 grpc_completion_queue_create_for_pluck_import = (grpc_completion_queue_create_for_pluck_type) GetProcAddress(library, "grpc_completion_queue_create_for_pluck");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100334 grpc_completion_queue_create_import = (grpc_completion_queue_create_type) GetProcAddress(library, "grpc_completion_queue_create");
335 grpc_completion_queue_next_import = (grpc_completion_queue_next_type) GetProcAddress(library, "grpc_completion_queue_next");
336 grpc_completion_queue_pluck_import = (grpc_completion_queue_pluck_type) GetProcAddress(library, "grpc_completion_queue_pluck");
337 grpc_completion_queue_shutdown_import = (grpc_completion_queue_shutdown_type) GetProcAddress(library, "grpc_completion_queue_shutdown");
338 grpc_completion_queue_destroy_import = (grpc_completion_queue_destroy_type) GetProcAddress(library, "grpc_completion_queue_destroy");
Ken Payson42bd87e2017-10-20 10:32:30 -0700339 grpc_completion_queue_thread_local_cache_init_import = (grpc_completion_queue_thread_local_cache_init_type) GetProcAddress(library, "grpc_completion_queue_thread_local_cache_init");
340 grpc_completion_queue_thread_local_cache_flush_import = (grpc_completion_queue_thread_local_cache_flush_type) GetProcAddress(library, "grpc_completion_queue_thread_local_cache_flush");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100341 grpc_alarm_create_import = (grpc_alarm_create_type) GetProcAddress(library, "grpc_alarm_create");
Vijay Pai58c33ba2017-09-01 14:08:42 -0700342 grpc_alarm_set_import = (grpc_alarm_set_type) GetProcAddress(library, "grpc_alarm_set");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100343 grpc_alarm_cancel_import = (grpc_alarm_cancel_type) GetProcAddress(library, "grpc_alarm_cancel");
344 grpc_alarm_destroy_import = (grpc_alarm_destroy_type) GetProcAddress(library, "grpc_alarm_destroy");
345 grpc_channel_check_connectivity_state_import = (grpc_channel_check_connectivity_state_type) GetProcAddress(library, "grpc_channel_check_connectivity_state");
Alexander Polcync3b1f182017-04-18 13:51:36 -0700346 grpc_channel_num_external_connectivity_watchers_import = (grpc_channel_num_external_connectivity_watchers_type) GetProcAddress(library, "grpc_channel_num_external_connectivity_watchers");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100347 grpc_channel_watch_connectivity_state_import = (grpc_channel_watch_connectivity_state_type) GetProcAddress(library, "grpc_channel_watch_connectivity_state");
Yuchen Zengba23e792017-08-24 23:13:09 -0700348 grpc_channel_support_connectivity_watcher_import = (grpc_channel_support_connectivity_watcher_type) GetProcAddress(library, "grpc_channel_support_connectivity_watcher");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100349 grpc_channel_create_call_import = (grpc_channel_create_call_type) GetProcAddress(library, "grpc_channel_create_call");
350 grpc_channel_ping_import = (grpc_channel_ping_type) GetProcAddress(library, "grpc_channel_ping");
351 grpc_channel_register_call_import = (grpc_channel_register_call_type) GetProcAddress(library, "grpc_channel_register_call");
352 grpc_channel_create_registered_call_import = (grpc_channel_create_registered_call_type) GetProcAddress(library, "grpc_channel_create_registered_call");
Vijay Paic0e67012017-03-17 20:00:55 -0700353 grpc_call_arena_alloc_import = (grpc_call_arena_alloc_type) GetProcAddress(library, "grpc_call_arena_alloc");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100354 grpc_call_start_batch_import = (grpc_call_start_batch_type) GetProcAddress(library, "grpc_call_start_batch");
355 grpc_call_get_peer_import = (grpc_call_get_peer_type) GetProcAddress(library, "grpc_call_get_peer");
356 grpc_census_call_set_context_import = (grpc_census_call_set_context_type) GetProcAddress(library, "grpc_census_call_set_context");
357 grpc_census_call_get_context_import = (grpc_census_call_get_context_type) GetProcAddress(library, "grpc_census_call_get_context");
358 grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target");
Mark D. Roth8e2d8d92016-11-04 12:55:07 -0700359 grpc_channel_get_info_import = (grpc_channel_get_info_type) GetProcAddress(library, "grpc_channel_get_info");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100360 grpc_insecure_channel_create_import = (grpc_insecure_channel_create_type) GetProcAddress(library, "grpc_insecure_channel_create");
361 grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create");
362 grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
363 grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel");
364 grpc_call_cancel_with_status_import = (grpc_call_cancel_with_status_type) GetProcAddress(library, "grpc_call_cancel_with_status");
Craig Tillerd35bb9e2017-03-31 12:56:15 -0700365 grpc_call_ref_import = (grpc_call_ref_type) GetProcAddress(library, "grpc_call_ref");
Craig Tillerdd36b152017-03-31 08:27:28 -0700366 grpc_call_unref_import = (grpc_call_unref_type) GetProcAddress(library, "grpc_call_unref");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100367 grpc_server_request_call_import = (grpc_server_request_call_type) GetProcAddress(library, "grpc_server_request_call");
368 grpc_server_register_method_import = (grpc_server_register_method_type) GetProcAddress(library, "grpc_server_register_method");
369 grpc_server_request_registered_call_import = (grpc_server_request_registered_call_type) GetProcAddress(library, "grpc_server_request_registered_call");
370 grpc_server_create_import = (grpc_server_create_type) GetProcAddress(library, "grpc_server_create");
371 grpc_server_register_completion_queue_import = (grpc_server_register_completion_queue_type) GetProcAddress(library, "grpc_server_register_completion_queue");
372 grpc_server_add_insecure_http2_port_import = (grpc_server_add_insecure_http2_port_type) GetProcAddress(library, "grpc_server_add_insecure_http2_port");
373 grpc_server_start_import = (grpc_server_start_type) GetProcAddress(library, "grpc_server_start");
374 grpc_server_shutdown_and_notify_import = (grpc_server_shutdown_and_notify_type) GetProcAddress(library, "grpc_server_shutdown_and_notify");
375 grpc_server_cancel_all_calls_import = (grpc_server_cancel_all_calls_type) GetProcAddress(library, "grpc_server_cancel_all_calls");
376 grpc_server_destroy_import = (grpc_server_destroy_type) GetProcAddress(library, "grpc_server_destroy");
377 grpc_tracer_set_enabled_import = (grpc_tracer_set_enabled_type) GetProcAddress(library, "grpc_tracer_set_enabled");
378 grpc_header_key_is_legal_import = (grpc_header_key_is_legal_type) GetProcAddress(library, "grpc_header_key_is_legal");
379 grpc_header_nonbin_value_is_legal_import = (grpc_header_nonbin_value_is_legal_type) GetProcAddress(library, "grpc_header_nonbin_value_is_legal");
380 grpc_is_binary_header_import = (grpc_is_binary_header_type) GetProcAddress(library, "grpc_is_binary_header");
Yuchen Zeng2e7d9572016-04-15 17:29:57 -0700381 grpc_call_error_to_string_import = (grpc_call_error_to_string_type) GetProcAddress(library, "grpc_call_error_to_string");
Craig Tiller20afa3d2016-10-17 14:52:14 -0700382 grpc_resource_quota_create_import = (grpc_resource_quota_create_type) GetProcAddress(library, "grpc_resource_quota_create");
383 grpc_resource_quota_ref_import = (grpc_resource_quota_ref_type) GetProcAddress(library, "grpc_resource_quota_ref");
384 grpc_resource_quota_unref_import = (grpc_resource_quota_unref_type) GetProcAddress(library, "grpc_resource_quota_unref");
385 grpc_resource_quota_resize_import = (grpc_resource_quota_resize_type) GetProcAddress(library, "grpc_resource_quota_resize");
386 grpc_resource_quota_arg_vtable_import = (grpc_resource_quota_arg_vtable_type) GetProcAddress(library, "grpc_resource_quota_arg_vtable");
Adam Michalik321b1fb2016-05-16 15:42:36 -0700387 grpc_insecure_channel_create_from_fd_import = (grpc_insecure_channel_create_from_fd_type) GetProcAddress(library, "grpc_insecure_channel_create_from_fd");
Adam Michalikbf10c822016-05-20 16:13:32 -0700388 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");
Sree Kuchibhotla492fd962016-06-10 09:03:34 -0700389 grpc_use_signal_import = (grpc_use_signal_type) GetProcAddress(library, "grpc_use_signal");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100390 grpc_auth_property_iterator_next_import = (grpc_auth_property_iterator_next_type) GetProcAddress(library, "grpc_auth_property_iterator_next");
391 grpc_auth_context_property_iterator_import = (grpc_auth_context_property_iterator_type) GetProcAddress(library, "grpc_auth_context_property_iterator");
392 grpc_auth_context_peer_identity_import = (grpc_auth_context_peer_identity_type) GetProcAddress(library, "grpc_auth_context_peer_identity");
393 grpc_auth_context_find_properties_by_name_import = (grpc_auth_context_find_properties_by_name_type) GetProcAddress(library, "grpc_auth_context_find_properties_by_name");
394 grpc_auth_context_peer_identity_property_name_import = (grpc_auth_context_peer_identity_property_name_type) GetProcAddress(library, "grpc_auth_context_peer_identity_property_name");
395 grpc_auth_context_peer_is_authenticated_import = (grpc_auth_context_peer_is_authenticated_type) GetProcAddress(library, "grpc_auth_context_peer_is_authenticated");
396 grpc_call_auth_context_import = (grpc_call_auth_context_type) GetProcAddress(library, "grpc_call_auth_context");
397 grpc_auth_context_release_import = (grpc_auth_context_release_type) GetProcAddress(library, "grpc_auth_context_release");
398 grpc_auth_context_add_property_import = (grpc_auth_context_add_property_type) GetProcAddress(library, "grpc_auth_context_add_property");
399 grpc_auth_context_add_cstring_property_import = (grpc_auth_context_add_cstring_property_type) GetProcAddress(library, "grpc_auth_context_add_cstring_property");
400 grpc_auth_context_set_peer_identity_property_name_import = (grpc_auth_context_set_peer_identity_property_name_type) GetProcAddress(library, "grpc_auth_context_set_peer_identity_property_name");
401 grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
402 grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create");
Nicolas "Pixel" Noble63976602016-02-17 23:43:55 +0100403 grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100404 grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create");
405 grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release");
406 grpc_composite_channel_credentials_create_import = (grpc_composite_channel_credentials_create_type) GetProcAddress(library, "grpc_composite_channel_credentials_create");
407 grpc_composite_call_credentials_create_import = (grpc_composite_call_credentials_create_type) GetProcAddress(library, "grpc_composite_call_credentials_create");
408 grpc_google_compute_engine_credentials_create_import = (grpc_google_compute_engine_credentials_create_type) GetProcAddress(library, "grpc_google_compute_engine_credentials_create");
Nicolas "Pixel" Nobled2f20ef2016-01-31 07:52:59 +0100409 grpc_max_auth_token_lifetime_import = (grpc_max_auth_token_lifetime_type) GetProcAddress(library, "grpc_max_auth_token_lifetime");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100410 grpc_service_account_jwt_access_credentials_create_import = (grpc_service_account_jwt_access_credentials_create_type) GetProcAddress(library, "grpc_service_account_jwt_access_credentials_create");
411 grpc_google_refresh_token_credentials_create_import = (grpc_google_refresh_token_credentials_create_type) GetProcAddress(library, "grpc_google_refresh_token_credentials_create");
412 grpc_access_token_credentials_create_import = (grpc_access_token_credentials_create_type) GetProcAddress(library, "grpc_access_token_credentials_create");
413 grpc_google_iam_credentials_create_import = (grpc_google_iam_credentials_create_type) GetProcAddress(library, "grpc_google_iam_credentials_create");
414 grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin");
415 grpc_secure_channel_create_import = (grpc_secure_channel_create_type) GetProcAddress(library, "grpc_secure_channel_create");
416 grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
Justin Burkec1d354d2017-09-19 15:06:01 -0700417 grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create");
418 grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100419 grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create");
Deepak Lukosedba4c5f2016-03-25 12:54:25 -0700420 grpc_ssl_server_credentials_create_ex_import = (grpc_ssl_server_credentials_create_ex_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_ex");
Justin Burkec1d354d2017-09-19 15:06:01 -0700421 grpc_ssl_server_credentials_create_options_using_config_import = (grpc_ssl_server_credentials_create_options_using_config_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config");
422 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");
423 grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy");
424 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");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100425 grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port");
426 grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
427 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");
Vijay Paiefce6e12017-09-14 09:07:50 -0700428 grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
429 grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
430 grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
431 grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length");
432 grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy");
433 grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init");
434 grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy");
435 grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next");
436 grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall");
437 grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader");
Craig Tillerc3350542016-10-26 16:19:01 -0700438 grpc_slice_ref_import = (grpc_slice_ref_type) GetProcAddress(library, "grpc_slice_ref");
439 grpc_slice_unref_import = (grpc_slice_unref_type) GetProcAddress(library, "grpc_slice_unref");
Craig Tillerbb4046c2017-04-26 08:56:30 -0700440 grpc_slice_copy_import = (grpc_slice_copy_type) GetProcAddress(library, "grpc_slice_copy");
Craig Tillerc3350542016-10-26 16:19:01 -0700441 grpc_slice_new_import = (grpc_slice_new_type) GetProcAddress(library, "grpc_slice_new");
442 grpc_slice_new_with_user_data_import = (grpc_slice_new_with_user_data_type) GetProcAddress(library, "grpc_slice_new_with_user_data");
443 grpc_slice_new_with_len_import = (grpc_slice_new_with_len_type) GetProcAddress(library, "grpc_slice_new_with_len");
444 grpc_slice_malloc_import = (grpc_slice_malloc_type) GetProcAddress(library, "grpc_slice_malloc");
Craig Tillerc39fbcf2017-04-17 08:20:25 -0700445 grpc_slice_malloc_large_import = (grpc_slice_malloc_large_type) GetProcAddress(library, "grpc_slice_malloc_large");
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800446 grpc_slice_intern_import = (grpc_slice_intern_type) GetProcAddress(library, "grpc_slice_intern");
Craig Tillerc3350542016-10-26 16:19:01 -0700447 grpc_slice_from_copied_string_import = (grpc_slice_from_copied_string_type) GetProcAddress(library, "grpc_slice_from_copied_string");
448 grpc_slice_from_copied_buffer_import = (grpc_slice_from_copied_buffer_type) GetProcAddress(library, "grpc_slice_from_copied_buffer");
449 grpc_slice_from_static_string_import = (grpc_slice_from_static_string_type) GetProcAddress(library, "grpc_slice_from_static_string");
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800450 grpc_slice_from_static_buffer_import = (grpc_slice_from_static_buffer_type) GetProcAddress(library, "grpc_slice_from_static_buffer");
Craig Tillerc3350542016-10-26 16:19:01 -0700451 grpc_slice_sub_import = (grpc_slice_sub_type) GetProcAddress(library, "grpc_slice_sub");
452 grpc_slice_sub_no_ref_import = (grpc_slice_sub_no_ref_type) GetProcAddress(library, "grpc_slice_sub_no_ref");
453 grpc_slice_split_tail_import = (grpc_slice_split_tail_type) GetProcAddress(library, "grpc_slice_split_tail");
Craig Tillerc39fbcf2017-04-17 08:20:25 -0700454 grpc_slice_split_tail_maybe_ref_import = (grpc_slice_split_tail_maybe_ref_type) GetProcAddress(library, "grpc_slice_split_tail_maybe_ref");
Craig Tillerc3350542016-10-26 16:19:01 -0700455 grpc_slice_split_head_import = (grpc_slice_split_head_type) GetProcAddress(library, "grpc_slice_split_head");
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800456 grpc_empty_slice_import = (grpc_empty_slice_type) GetProcAddress(library, "grpc_empty_slice");
457 grpc_slice_default_hash_impl_import = (grpc_slice_default_hash_impl_type) GetProcAddress(library, "grpc_slice_default_hash_impl");
458 grpc_slice_default_eq_impl_import = (grpc_slice_default_eq_impl_type) GetProcAddress(library, "grpc_slice_default_eq_impl");
459 grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq");
Craig Tillerc3350542016-10-26 16:19:01 -0700460 grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp");
461 grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp");
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800462 grpc_slice_buf_start_eq_import = (grpc_slice_buf_start_eq_type) GetProcAddress(library, "grpc_slice_buf_start_eq");
463 grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr");
464 grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr");
465 grpc_slice_slice_import = (grpc_slice_slice_type) GetProcAddress(library, "grpc_slice_slice");
466 grpc_slice_hash_import = (grpc_slice_hash_type) GetProcAddress(library, "grpc_slice_hash");
Craig Tillerc5866662016-11-16 15:25:00 -0800467 grpc_slice_is_equivalent_import = (grpc_slice_is_equivalent_type) GetProcAddress(library, "grpc_slice_is_equivalent");
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800468 grpc_slice_dup_import = (grpc_slice_dup_type) GetProcAddress(library, "grpc_slice_dup");
469 grpc_slice_to_c_string_import = (grpc_slice_to_c_string_type) GetProcAddress(library, "grpc_slice_to_c_string");
Craig Tillerc3350542016-10-26 16:19:01 -0700470 grpc_slice_buffer_init_import = (grpc_slice_buffer_init_type) GetProcAddress(library, "grpc_slice_buffer_init");
471 grpc_slice_buffer_destroy_import = (grpc_slice_buffer_destroy_type) GetProcAddress(library, "grpc_slice_buffer_destroy");
472 grpc_slice_buffer_add_import = (grpc_slice_buffer_add_type) GetProcAddress(library, "grpc_slice_buffer_add");
473 grpc_slice_buffer_add_indexed_import = (grpc_slice_buffer_add_indexed_type) GetProcAddress(library, "grpc_slice_buffer_add_indexed");
474 grpc_slice_buffer_addn_import = (grpc_slice_buffer_addn_type) GetProcAddress(library, "grpc_slice_buffer_addn");
475 grpc_slice_buffer_tiny_add_import = (grpc_slice_buffer_tiny_add_type) GetProcAddress(library, "grpc_slice_buffer_tiny_add");
476 grpc_slice_buffer_pop_import = (grpc_slice_buffer_pop_type) GetProcAddress(library, "grpc_slice_buffer_pop");
477 grpc_slice_buffer_reset_and_unref_import = (grpc_slice_buffer_reset_and_unref_type) GetProcAddress(library, "grpc_slice_buffer_reset_and_unref");
478 grpc_slice_buffer_swap_import = (grpc_slice_buffer_swap_type) GetProcAddress(library, "grpc_slice_buffer_swap");
479 grpc_slice_buffer_move_into_import = (grpc_slice_buffer_move_into_type) GetProcAddress(library, "grpc_slice_buffer_move_into");
480 grpc_slice_buffer_trim_end_import = (grpc_slice_buffer_trim_end_type) GetProcAddress(library, "grpc_slice_buffer_trim_end");
481 grpc_slice_buffer_move_first_import = (grpc_slice_buffer_move_first_type) GetProcAddress(library, "grpc_slice_buffer_move_first");
Craig Tillerc39fbcf2017-04-17 08:20:25 -0700482 grpc_slice_buffer_move_first_no_ref_import = (grpc_slice_buffer_move_first_no_ref_type) GetProcAddress(library, "grpc_slice_buffer_move_first_no_ref");
Craig Tiller0cf6a712017-01-20 14:07:05 -0800483 grpc_slice_buffer_move_first_into_buffer_import = (grpc_slice_buffer_move_first_into_buffer_type) GetProcAddress(library, "grpc_slice_buffer_move_first_into_buffer");
Craig Tillerc3350542016-10-26 16:19:01 -0700484 grpc_slice_buffer_take_first_import = (grpc_slice_buffer_take_first_type) GetProcAddress(library, "grpc_slice_buffer_take_first");
Craig Tiller0cf6a712017-01-20 14:07:05 -0800485 grpc_slice_buffer_undo_take_first_import = (grpc_slice_buffer_undo_take_first_type) GetProcAddress(library, "grpc_slice_buffer_undo_take_first");
David Garcia Quintas3b31fdf2016-07-27 18:17:12 -0700486 gpr_malloc_import = (gpr_malloc_type) GetProcAddress(library, "gpr_malloc");
Craig Tillerff714492017-02-17 09:02:18 -0800487 gpr_zalloc_import = (gpr_zalloc_type) GetProcAddress(library, "gpr_zalloc");
David Garcia Quintas3b31fdf2016-07-27 18:17:12 -0700488 gpr_free_import = (gpr_free_type) GetProcAddress(library, "gpr_free");
489 gpr_realloc_import = (gpr_realloc_type) GetProcAddress(library, "gpr_realloc");
490 gpr_malloc_aligned_import = (gpr_malloc_aligned_type) GetProcAddress(library, "gpr_malloc_aligned");
491 gpr_free_aligned_import = (gpr_free_aligned_type) GetProcAddress(library, "gpr_free_aligned");
492 gpr_set_allocation_functions_import = (gpr_set_allocation_functions_type) GetProcAddress(library, "gpr_set_allocation_functions");
493 gpr_get_allocation_functions_import = (gpr_get_allocation_functions_type) GetProcAddress(library, "gpr_get_allocation_functions");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100494 gpr_avl_create_import = (gpr_avl_create_type) GetProcAddress(library, "gpr_avl_create");
495 gpr_avl_ref_import = (gpr_avl_ref_type) GetProcAddress(library, "gpr_avl_ref");
496 gpr_avl_unref_import = (gpr_avl_unref_type) GetProcAddress(library, "gpr_avl_unref");
497 gpr_avl_add_import = (gpr_avl_add_type) GetProcAddress(library, "gpr_avl_add");
498 gpr_avl_remove_import = (gpr_avl_remove_type) GetProcAddress(library, "gpr_avl_remove");
499 gpr_avl_get_import = (gpr_avl_get_type) GetProcAddress(library, "gpr_avl_get");
Craig Tillerd6a5b802016-05-13 20:17:38 -0700500 gpr_avl_maybe_get_import = (gpr_avl_maybe_get_type) GetProcAddress(library, "gpr_avl_maybe_get");
501 gpr_avl_is_empty_import = (gpr_avl_is_empty_type) GetProcAddress(library, "gpr_avl_is_empty");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100502 gpr_cmdline_create_import = (gpr_cmdline_create_type) GetProcAddress(library, "gpr_cmdline_create");
503 gpr_cmdline_add_int_import = (gpr_cmdline_add_int_type) GetProcAddress(library, "gpr_cmdline_add_int");
504 gpr_cmdline_add_flag_import = (gpr_cmdline_add_flag_type) GetProcAddress(library, "gpr_cmdline_add_flag");
505 gpr_cmdline_add_string_import = (gpr_cmdline_add_string_type) GetProcAddress(library, "gpr_cmdline_add_string");
506 gpr_cmdline_on_extra_arg_import = (gpr_cmdline_on_extra_arg_type) GetProcAddress(library, "gpr_cmdline_on_extra_arg");
507 gpr_cmdline_set_survive_failure_import = (gpr_cmdline_set_survive_failure_type) GetProcAddress(library, "gpr_cmdline_set_survive_failure");
508 gpr_cmdline_parse_import = (gpr_cmdline_parse_type) GetProcAddress(library, "gpr_cmdline_parse");
509 gpr_cmdline_destroy_import = (gpr_cmdline_destroy_type) GetProcAddress(library, "gpr_cmdline_destroy");
510 gpr_cmdline_usage_string_import = (gpr_cmdline_usage_string_type) GetProcAddress(library, "gpr_cmdline_usage_string");
511 gpr_cpu_num_cores_import = (gpr_cpu_num_cores_type) GetProcAddress(library, "gpr_cpu_num_cores");
512 gpr_cpu_current_cpu_import = (gpr_cpu_current_cpu_type) GetProcAddress(library, "gpr_cpu_current_cpu");
513 gpr_histogram_create_import = (gpr_histogram_create_type) GetProcAddress(library, "gpr_histogram_create");
514 gpr_histogram_destroy_import = (gpr_histogram_destroy_type) GetProcAddress(library, "gpr_histogram_destroy");
515 gpr_histogram_add_import = (gpr_histogram_add_type) GetProcAddress(library, "gpr_histogram_add");
516 gpr_histogram_merge_import = (gpr_histogram_merge_type) GetProcAddress(library, "gpr_histogram_merge");
517 gpr_histogram_percentile_import = (gpr_histogram_percentile_type) GetProcAddress(library, "gpr_histogram_percentile");
518 gpr_histogram_mean_import = (gpr_histogram_mean_type) GetProcAddress(library, "gpr_histogram_mean");
519 gpr_histogram_stddev_import = (gpr_histogram_stddev_type) GetProcAddress(library, "gpr_histogram_stddev");
520 gpr_histogram_variance_import = (gpr_histogram_variance_type) GetProcAddress(library, "gpr_histogram_variance");
521 gpr_histogram_maximum_import = (gpr_histogram_maximum_type) GetProcAddress(library, "gpr_histogram_maximum");
522 gpr_histogram_minimum_import = (gpr_histogram_minimum_type) GetProcAddress(library, "gpr_histogram_minimum");
523 gpr_histogram_count_import = (gpr_histogram_count_type) GetProcAddress(library, "gpr_histogram_count");
524 gpr_histogram_sum_import = (gpr_histogram_sum_type) GetProcAddress(library, "gpr_histogram_sum");
525 gpr_histogram_sum_of_squares_import = (gpr_histogram_sum_of_squares_type) GetProcAddress(library, "gpr_histogram_sum_of_squares");
526 gpr_histogram_get_contents_import = (gpr_histogram_get_contents_type) GetProcAddress(library, "gpr_histogram_get_contents");
527 gpr_histogram_merge_contents_import = (gpr_histogram_merge_contents_type) GetProcAddress(library, "gpr_histogram_merge_contents");
528 gpr_join_host_port_import = (gpr_join_host_port_type) GetProcAddress(library, "gpr_join_host_port");
529 gpr_split_host_port_import = (gpr_split_host_port_type) GetProcAddress(library, "gpr_split_host_port");
Craig Tillercc919832017-05-23 13:35:55 -0700530 gpr_log_severity_string_import = (gpr_log_severity_string_type) GetProcAddress(library, "gpr_log_severity_string");
David Garcia Quintasc79b0652016-07-27 21:11:58 -0700531 gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log");
532 gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message");
533 gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity");
534 gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init");
535 gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100536 gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message");
537 gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup");
538 gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf");
539 gpr_subprocess_binary_extension_import = (gpr_subprocess_binary_extension_type) GetProcAddress(library, "gpr_subprocess_binary_extension");
540 gpr_subprocess_create_import = (gpr_subprocess_create_type) GetProcAddress(library, "gpr_subprocess_create");
541 gpr_subprocess_destroy_import = (gpr_subprocess_destroy_type) GetProcAddress(library, "gpr_subprocess_destroy");
542 gpr_subprocess_join_import = (gpr_subprocess_join_type) GetProcAddress(library, "gpr_subprocess_join");
543 gpr_subprocess_interrupt_import = (gpr_subprocess_interrupt_type) GetProcAddress(library, "gpr_subprocess_interrupt");
David Garcia Quintas2ee99f42016-08-01 19:15:31 -0700544 gpr_mu_init_import = (gpr_mu_init_type) GetProcAddress(library, "gpr_mu_init");
545 gpr_mu_destroy_import = (gpr_mu_destroy_type) GetProcAddress(library, "gpr_mu_destroy");
546 gpr_mu_lock_import = (gpr_mu_lock_type) GetProcAddress(library, "gpr_mu_lock");
547 gpr_mu_unlock_import = (gpr_mu_unlock_type) GetProcAddress(library, "gpr_mu_unlock");
548 gpr_mu_trylock_import = (gpr_mu_trylock_type) GetProcAddress(library, "gpr_mu_trylock");
549 gpr_cv_init_import = (gpr_cv_init_type) GetProcAddress(library, "gpr_cv_init");
550 gpr_cv_destroy_import = (gpr_cv_destroy_type) GetProcAddress(library, "gpr_cv_destroy");
551 gpr_cv_wait_import = (gpr_cv_wait_type) GetProcAddress(library, "gpr_cv_wait");
552 gpr_cv_signal_import = (gpr_cv_signal_type) GetProcAddress(library, "gpr_cv_signal");
553 gpr_cv_broadcast_import = (gpr_cv_broadcast_type) GetProcAddress(library, "gpr_cv_broadcast");
554 gpr_once_init_import = (gpr_once_init_type) GetProcAddress(library, "gpr_once_init");
555 gpr_event_init_import = (gpr_event_init_type) GetProcAddress(library, "gpr_event_init");
556 gpr_event_set_import = (gpr_event_set_type) GetProcAddress(library, "gpr_event_set");
557 gpr_event_get_import = (gpr_event_get_type) GetProcAddress(library, "gpr_event_get");
558 gpr_event_wait_import = (gpr_event_wait_type) GetProcAddress(library, "gpr_event_wait");
559 gpr_ref_init_import = (gpr_ref_init_type) GetProcAddress(library, "gpr_ref_init");
560 gpr_ref_import = (gpr_ref_type) GetProcAddress(library, "gpr_ref");
561 gpr_ref_non_zero_import = (gpr_ref_non_zero_type) GetProcAddress(library, "gpr_ref_non_zero");
562 gpr_refn_import = (gpr_refn_type) GetProcAddress(library, "gpr_refn");
563 gpr_unref_import = (gpr_unref_type) GetProcAddress(library, "gpr_unref");
ncteisen3da3ce32017-02-17 09:51:25 -0800564 gpr_ref_is_unique_import = (gpr_ref_is_unique_type) GetProcAddress(library, "gpr_ref_is_unique");
David Garcia Quintas2ee99f42016-08-01 19:15:31 -0700565 gpr_stats_init_import = (gpr_stats_init_type) GetProcAddress(library, "gpr_stats_init");
566 gpr_stats_inc_import = (gpr_stats_inc_type) GetProcAddress(library, "gpr_stats_inc");
567 gpr_stats_read_import = (gpr_stats_read_type) GetProcAddress(library, "gpr_stats_read");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100568 gpr_thd_new_import = (gpr_thd_new_type) GetProcAddress(library, "gpr_thd_new");
569 gpr_thd_options_default_import = (gpr_thd_options_default_type) GetProcAddress(library, "gpr_thd_options_default");
570 gpr_thd_options_set_detached_import = (gpr_thd_options_set_detached_type) GetProcAddress(library, "gpr_thd_options_set_detached");
571 gpr_thd_options_set_joinable_import = (gpr_thd_options_set_joinable_type) GetProcAddress(library, "gpr_thd_options_set_joinable");
572 gpr_thd_options_is_detached_import = (gpr_thd_options_is_detached_type) GetProcAddress(library, "gpr_thd_options_is_detached");
573 gpr_thd_options_is_joinable_import = (gpr_thd_options_is_joinable_type) GetProcAddress(library, "gpr_thd_options_is_joinable");
574 gpr_thd_currentid_import = (gpr_thd_currentid_type) GetProcAddress(library, "gpr_thd_currentid");
575 gpr_thd_join_import = (gpr_thd_join_type) GetProcAddress(library, "gpr_thd_join");
David Garcia Quintas1399e462016-07-27 20:31:55 -0700576 gpr_time_0_import = (gpr_time_0_type) GetProcAddress(library, "gpr_time_0");
577 gpr_inf_future_import = (gpr_inf_future_type) GetProcAddress(library, "gpr_inf_future");
578 gpr_inf_past_import = (gpr_inf_past_type) GetProcAddress(library, "gpr_inf_past");
579 gpr_time_init_import = (gpr_time_init_type) GetProcAddress(library, "gpr_time_init");
580 gpr_now_import = (gpr_now_type) GetProcAddress(library, "gpr_now");
581 gpr_convert_clock_type_import = (gpr_convert_clock_type_type) GetProcAddress(library, "gpr_convert_clock_type");
582 gpr_time_cmp_import = (gpr_time_cmp_type) GetProcAddress(library, "gpr_time_cmp");
583 gpr_time_max_import = (gpr_time_max_type) GetProcAddress(library, "gpr_time_max");
584 gpr_time_min_import = (gpr_time_min_type) GetProcAddress(library, "gpr_time_min");
585 gpr_time_add_import = (gpr_time_add_type) GetProcAddress(library, "gpr_time_add");
586 gpr_time_sub_import = (gpr_time_sub_type) GetProcAddress(library, "gpr_time_sub");
587 gpr_time_from_micros_import = (gpr_time_from_micros_type) GetProcAddress(library, "gpr_time_from_micros");
588 gpr_time_from_nanos_import = (gpr_time_from_nanos_type) GetProcAddress(library, "gpr_time_from_nanos");
589 gpr_time_from_millis_import = (gpr_time_from_millis_type) GetProcAddress(library, "gpr_time_from_millis");
590 gpr_time_from_seconds_import = (gpr_time_from_seconds_type) GetProcAddress(library, "gpr_time_from_seconds");
591 gpr_time_from_minutes_import = (gpr_time_from_minutes_type) GetProcAddress(library, "gpr_time_from_minutes");
592 gpr_time_from_hours_import = (gpr_time_from_hours_type) GetProcAddress(library, "gpr_time_from_hours");
593 gpr_time_to_millis_import = (gpr_time_to_millis_type) GetProcAddress(library, "gpr_time_to_millis");
594 gpr_time_similar_import = (gpr_time_similar_type) GetProcAddress(library, "gpr_time_similar");
595 gpr_sleep_until_import = (gpr_sleep_until_type) GetProcAddress(library, "gpr_sleep_until");
596 gpr_timespec_to_micros_import = (gpr_timespec_to_micros_type) GetProcAddress(library, "gpr_timespec_to_micros");
Nicolas "Pixel" Nobled14b6ac2016-01-30 05:21:15 +0100597}
598
Yuchen Zeng12dfdc32016-04-26 22:05:41 -0700599#endif /* GPR_WINDOWS */