Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 3 | * Copyright 2016 gRPC authors. |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 4 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 5 | * 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" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 8 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 10 | * |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 11 | * 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" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 16 | * |
| 17 | */ |
| 18 | |
| 19 | #include <grpc/support/port_platform.h> |
| 20 | |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 21 | #ifdef GPR_WINDOWS |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 22 | |
Nicolas "Pixel" Noble | b8e9e9c | 2016-01-30 18:35:13 +0100 | [diff] [blame] | 23 | #include "rb_grpc_imports.generated.h" |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 24 | |
Muxi Yan | 1c285b9 | 2017-09-25 12:38:17 -0700 | [diff] [blame] | 25 | grpc_compression_algorithm_is_message_type grpc_compression_algorithm_is_message_import; |
| 26 | grpc_compression_algorithm_is_stream_type grpc_compression_algorithm_is_stream_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 27 | grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import; |
| 28 | grpc_compression_algorithm_name_type grpc_compression_algorithm_name_import; |
| 29 | grpc_compression_algorithm_for_level_type grpc_compression_algorithm_for_level_import; |
| 30 | grpc_compression_options_init_type grpc_compression_options_init_import; |
| 31 | grpc_compression_options_enable_algorithm_type grpc_compression_options_enable_algorithm_import; |
| 32 | grpc_compression_options_disable_algorithm_type grpc_compression_options_disable_algorithm_import; |
| 33 | grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import; |
| 34 | grpc_metadata_array_init_type grpc_metadata_array_init_import; |
| 35 | grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import; |
| 36 | grpc_call_details_init_type grpc_call_details_init_import; |
| 37 | grpc_call_details_destroy_type grpc_call_details_destroy_import; |
| 38 | grpc_register_plugin_type grpc_register_plugin_import; |
| 39 | grpc_init_type grpc_init_import; |
| 40 | grpc_shutdown_type grpc_shutdown_import; |
| 41 | grpc_version_string_type grpc_version_string_import; |
Craig Tiller | d9f9076 | 2016-08-29 16:47:22 -0700 | [diff] [blame] | 42 | grpc_g_stands_for_type grpc_g_stands_for_import; |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 43 | grpc_completion_queue_factory_lookup_type grpc_completion_queue_factory_lookup_import; |
| 44 | grpc_completion_queue_create_for_next_type grpc_completion_queue_create_for_next_import; |
| 45 | grpc_completion_queue_create_for_pluck_type grpc_completion_queue_create_for_pluck_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 46 | grpc_completion_queue_create_type grpc_completion_queue_create_import; |
| 47 | grpc_completion_queue_next_type grpc_completion_queue_next_import; |
| 48 | grpc_completion_queue_pluck_type grpc_completion_queue_pluck_import; |
| 49 | grpc_completion_queue_shutdown_type grpc_completion_queue_shutdown_import; |
| 50 | grpc_completion_queue_destroy_type grpc_completion_queue_destroy_import; |
Ken Payson | 42bd87e | 2017-10-20 10:32:30 -0700 | [diff] [blame] | 51 | grpc_completion_queue_thread_local_cache_init_type grpc_completion_queue_thread_local_cache_init_import; |
| 52 | grpc_completion_queue_thread_local_cache_flush_type grpc_completion_queue_thread_local_cache_flush_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 53 | grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import; |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 54 | grpc_channel_num_external_connectivity_watchers_type grpc_channel_num_external_connectivity_watchers_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 55 | grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import; |
Yuchen Zeng | ba23e79 | 2017-08-24 23:13:09 -0700 | [diff] [blame] | 56 | grpc_channel_support_connectivity_watcher_type grpc_channel_support_connectivity_watcher_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 57 | grpc_channel_create_call_type grpc_channel_create_call_import; |
| 58 | grpc_channel_ping_type grpc_channel_ping_import; |
| 59 | grpc_channel_register_call_type grpc_channel_register_call_import; |
| 60 | grpc_channel_create_registered_call_type grpc_channel_create_registered_call_import; |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 61 | grpc_call_arena_alloc_type grpc_call_arena_alloc_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 62 | grpc_call_start_batch_type grpc_call_start_batch_import; |
| 63 | grpc_call_get_peer_type grpc_call_get_peer_import; |
| 64 | grpc_census_call_set_context_type grpc_census_call_set_context_import; |
| 65 | grpc_census_call_get_context_type grpc_census_call_get_context_import; |
| 66 | grpc_channel_get_target_type grpc_channel_get_target_import; |
Mark D. Roth | 8e2d8d9 | 2016-11-04 12:55:07 -0700 | [diff] [blame] | 67 | grpc_channel_get_info_type grpc_channel_get_info_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 68 | grpc_insecure_channel_create_type grpc_insecure_channel_create_import; |
| 69 | grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import; |
| 70 | grpc_channel_destroy_type grpc_channel_destroy_import; |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 71 | grpc_channel_get_trace_type grpc_channel_get_trace_import; |
| 72 | grpc_channel_get_uuid_type grpc_channel_get_uuid_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 73 | grpc_call_cancel_type grpc_call_cancel_import; |
| 74 | grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import; |
Craig Tiller | d35bb9e | 2017-03-31 12:56:15 -0700 | [diff] [blame] | 75 | grpc_call_ref_type grpc_call_ref_import; |
Craig Tiller | dd36b15 | 2017-03-31 08:27:28 -0700 | [diff] [blame] | 76 | grpc_call_unref_type grpc_call_unref_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 77 | grpc_server_request_call_type grpc_server_request_call_import; |
| 78 | grpc_server_register_method_type grpc_server_register_method_import; |
| 79 | grpc_server_request_registered_call_type grpc_server_request_registered_call_import; |
| 80 | grpc_server_create_type grpc_server_create_import; |
| 81 | grpc_server_register_completion_queue_type grpc_server_register_completion_queue_import; |
| 82 | grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import; |
| 83 | grpc_server_start_type grpc_server_start_import; |
| 84 | grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import; |
| 85 | grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import; |
| 86 | grpc_server_destroy_type grpc_server_destroy_import; |
| 87 | grpc_tracer_set_enabled_type grpc_tracer_set_enabled_import; |
| 88 | grpc_header_key_is_legal_type grpc_header_key_is_legal_import; |
| 89 | grpc_header_nonbin_value_is_legal_type grpc_header_nonbin_value_is_legal_import; |
| 90 | grpc_is_binary_header_type grpc_is_binary_header_import; |
Yuchen Zeng | 2e7d957 | 2016-04-15 17:29:57 -0700 | [diff] [blame] | 91 | grpc_call_error_to_string_type grpc_call_error_to_string_import; |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 92 | grpc_resource_quota_create_type grpc_resource_quota_create_import; |
| 93 | grpc_resource_quota_ref_type grpc_resource_quota_ref_import; |
| 94 | grpc_resource_quota_unref_type grpc_resource_quota_unref_import; |
| 95 | grpc_resource_quota_resize_type grpc_resource_quota_resize_import; |
| 96 | grpc_resource_quota_arg_vtable_type grpc_resource_quota_arg_vtable_import; |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 97 | grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import; |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 98 | grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import; |
Sree Kuchibhotla | 492fd96 | 2016-06-10 09:03:34 -0700 | [diff] [blame] | 99 | grpc_use_signal_type grpc_use_signal_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 100 | grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import; |
| 101 | grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import; |
| 102 | grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import; |
| 103 | grpc_auth_context_find_properties_by_name_type grpc_auth_context_find_properties_by_name_import; |
| 104 | grpc_auth_context_peer_identity_property_name_type grpc_auth_context_peer_identity_property_name_import; |
| 105 | grpc_auth_context_peer_is_authenticated_type grpc_auth_context_peer_is_authenticated_import; |
| 106 | grpc_call_auth_context_type grpc_call_auth_context_import; |
| 107 | grpc_auth_context_release_type grpc_auth_context_release_import; |
| 108 | grpc_auth_context_add_property_type grpc_auth_context_add_property_import; |
| 109 | grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring_property_import; |
| 110 | grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import; |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 111 | grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import; |
| 112 | grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import; |
| 113 | grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 114 | grpc_channel_credentials_release_type grpc_channel_credentials_release_import; |
| 115 | grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import; |
Nicolas "Pixel" Noble | 6397660 | 2016-02-17 23:43:55 +0100 | [diff] [blame] | 116 | grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 117 | grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import; |
| 118 | grpc_call_credentials_release_type grpc_call_credentials_release_import; |
| 119 | grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import; |
| 120 | grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import; |
| 121 | grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import; |
Nicolas "Pixel" Noble | d2f20ef | 2016-01-31 07:52:59 +0100 | [diff] [blame] | 122 | grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 123 | grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import; |
| 124 | grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import; |
| 125 | grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import; |
| 126 | grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import; |
| 127 | grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import; |
| 128 | grpc_secure_channel_create_type grpc_secure_channel_create_import; |
| 129 | grpc_server_credentials_release_type grpc_server_credentials_release_import; |
Justin Burke | c1d354d | 2017-09-19 15:06:01 -0700 | [diff] [blame] | 130 | grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import; |
| 131 | grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 132 | grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import; |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 133 | grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import; |
Justin Burke | c1d354d | 2017-09-19 15:06:01 -0700 | [diff] [blame] | 134 | grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import; |
| 135 | grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import; |
| 136 | grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import; |
| 137 | grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 138 | grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import; |
| 139 | grpc_call_set_credentials_type grpc_call_set_credentials_import; |
| 140 | grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import; |
Yihua Zhang | fe2fa0c | 2018-04-16 15:11:32 -0700 | [diff] [blame] | 141 | grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import; |
| 142 | grpc_alts_credentials_server_options_create_type grpc_alts_credentials_server_options_create_import; |
| 143 | grpc_alts_credentials_client_options_add_target_service_account_type grpc_alts_credentials_client_options_add_target_service_account_import; |
| 144 | grpc_alts_credentials_options_destroy_type grpc_alts_credentials_options_destroy_import; |
| 145 | grpc_alts_credentials_create_type grpc_alts_credentials_create_import; |
| 146 | grpc_alts_server_credentials_create_type grpc_alts_server_credentials_create_import; |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 147 | grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import; |
| 148 | grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import; |
| 149 | grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import; |
| 150 | grpc_byte_buffer_length_type grpc_byte_buffer_length_import; |
| 151 | grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import; |
| 152 | grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import; |
| 153 | grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import; |
| 154 | grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import; |
| 155 | grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import; |
| 156 | grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 157 | grpc_slice_ref_type grpc_slice_ref_import; |
| 158 | grpc_slice_unref_type grpc_slice_unref_import; |
Craig Tiller | bb4046c | 2017-04-26 08:56:30 -0700 | [diff] [blame] | 159 | grpc_slice_copy_type grpc_slice_copy_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 160 | grpc_slice_new_type grpc_slice_new_import; |
| 161 | grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import; |
| 162 | grpc_slice_new_with_len_type grpc_slice_new_with_len_import; |
| 163 | grpc_slice_malloc_type grpc_slice_malloc_import; |
Craig Tiller | c39fbcf | 2017-04-17 08:20:25 -0700 | [diff] [blame] | 164 | grpc_slice_malloc_large_type grpc_slice_malloc_large_import; |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 165 | grpc_slice_intern_type grpc_slice_intern_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 166 | grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import; |
| 167 | grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import; |
| 168 | grpc_slice_from_static_string_type grpc_slice_from_static_string_import; |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 169 | grpc_slice_from_static_buffer_type grpc_slice_from_static_buffer_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 170 | grpc_slice_sub_type grpc_slice_sub_import; |
| 171 | grpc_slice_sub_no_ref_type grpc_slice_sub_no_ref_import; |
| 172 | grpc_slice_split_tail_type grpc_slice_split_tail_import; |
Craig Tiller | c39fbcf | 2017-04-17 08:20:25 -0700 | [diff] [blame] | 173 | grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 174 | grpc_slice_split_head_type grpc_slice_split_head_import; |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 175 | grpc_empty_slice_type grpc_empty_slice_import; |
| 176 | grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import; |
| 177 | grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import; |
| 178 | grpc_slice_eq_type grpc_slice_eq_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 179 | grpc_slice_cmp_type grpc_slice_cmp_import; |
| 180 | grpc_slice_str_cmp_type grpc_slice_str_cmp_import; |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 181 | grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import; |
| 182 | grpc_slice_rchr_type grpc_slice_rchr_import; |
| 183 | grpc_slice_chr_type grpc_slice_chr_import; |
| 184 | grpc_slice_slice_type grpc_slice_slice_import; |
| 185 | grpc_slice_hash_type grpc_slice_hash_import; |
Craig Tiller | c586666 | 2016-11-16 15:25:00 -0800 | [diff] [blame] | 186 | grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import; |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 187 | grpc_slice_dup_type grpc_slice_dup_import; |
| 188 | grpc_slice_to_c_string_type grpc_slice_to_c_string_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 189 | grpc_slice_buffer_init_type grpc_slice_buffer_init_import; |
| 190 | grpc_slice_buffer_destroy_type grpc_slice_buffer_destroy_import; |
| 191 | grpc_slice_buffer_add_type grpc_slice_buffer_add_import; |
| 192 | grpc_slice_buffer_add_indexed_type grpc_slice_buffer_add_indexed_import; |
| 193 | grpc_slice_buffer_addn_type grpc_slice_buffer_addn_import; |
| 194 | grpc_slice_buffer_tiny_add_type grpc_slice_buffer_tiny_add_import; |
| 195 | grpc_slice_buffer_pop_type grpc_slice_buffer_pop_import; |
| 196 | grpc_slice_buffer_reset_and_unref_type grpc_slice_buffer_reset_and_unref_import; |
| 197 | grpc_slice_buffer_swap_type grpc_slice_buffer_swap_import; |
| 198 | grpc_slice_buffer_move_into_type grpc_slice_buffer_move_into_import; |
| 199 | grpc_slice_buffer_trim_end_type grpc_slice_buffer_trim_end_import; |
| 200 | grpc_slice_buffer_move_first_type grpc_slice_buffer_move_first_import; |
Craig Tiller | c39fbcf | 2017-04-17 08:20:25 -0700 | [diff] [blame] | 201 | grpc_slice_buffer_move_first_no_ref_type grpc_slice_buffer_move_first_no_ref_import; |
Craig Tiller | 0cf6a71 | 2017-01-20 14:07:05 -0800 | [diff] [blame] | 202 | grpc_slice_buffer_move_first_into_buffer_type grpc_slice_buffer_move_first_into_buffer_import; |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 203 | grpc_slice_buffer_take_first_type grpc_slice_buffer_take_first_import; |
Craig Tiller | 0cf6a71 | 2017-01-20 14:07:05 -0800 | [diff] [blame] | 204 | grpc_slice_buffer_undo_take_first_type grpc_slice_buffer_undo_take_first_import; |
David Garcia Quintas | 3b31fdf | 2016-07-27 18:17:12 -0700 | [diff] [blame] | 205 | gpr_malloc_type gpr_malloc_import; |
Craig Tiller | ff71449 | 2017-02-17 09:02:18 -0800 | [diff] [blame] | 206 | gpr_zalloc_type gpr_zalloc_import; |
David Garcia Quintas | 3b31fdf | 2016-07-27 18:17:12 -0700 | [diff] [blame] | 207 | gpr_free_type gpr_free_import; |
| 208 | gpr_realloc_type gpr_realloc_import; |
| 209 | gpr_malloc_aligned_type gpr_malloc_aligned_import; |
| 210 | gpr_free_aligned_type gpr_free_aligned_import; |
| 211 | gpr_set_allocation_functions_type gpr_set_allocation_functions_import; |
| 212 | gpr_get_allocation_functions_type gpr_get_allocation_functions_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 213 | gpr_cpu_num_cores_type gpr_cpu_num_cores_import; |
| 214 | gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import; |
Craig Tiller | cc91983 | 2017-05-23 13:35:55 -0700 | [diff] [blame] | 215 | gpr_log_severity_string_type gpr_log_severity_string_import; |
David Garcia Quintas | c79b065 | 2016-07-27 21:11:58 -0700 | [diff] [blame] | 216 | gpr_log_type gpr_log_import; |
Jan Tattermusch | 3095e35 | 2018-04-05 09:41:03 +0200 | [diff] [blame] | 217 | gpr_should_log_type gpr_should_log_import; |
David Garcia Quintas | c79b065 | 2016-07-27 21:11:58 -0700 | [diff] [blame] | 218 | gpr_log_message_type gpr_log_message_import; |
| 219 | gpr_set_log_verbosity_type gpr_set_log_verbosity_import; |
| 220 | gpr_log_verbosity_init_type gpr_log_verbosity_init_import; |
| 221 | gpr_set_log_function_type gpr_set_log_function_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 222 | gpr_format_message_type gpr_format_message_import; |
| 223 | gpr_strdup_type gpr_strdup_import; |
| 224 | gpr_asprintf_type gpr_asprintf_import; |
David Garcia Quintas | 2ee99f4 | 2016-08-01 19:15:31 -0700 | [diff] [blame] | 225 | gpr_mu_init_type gpr_mu_init_import; |
| 226 | gpr_mu_destroy_type gpr_mu_destroy_import; |
| 227 | gpr_mu_lock_type gpr_mu_lock_import; |
| 228 | gpr_mu_unlock_type gpr_mu_unlock_import; |
| 229 | gpr_mu_trylock_type gpr_mu_trylock_import; |
| 230 | gpr_cv_init_type gpr_cv_init_import; |
| 231 | gpr_cv_destroy_type gpr_cv_destroy_import; |
| 232 | gpr_cv_wait_type gpr_cv_wait_import; |
| 233 | gpr_cv_signal_type gpr_cv_signal_import; |
| 234 | gpr_cv_broadcast_type gpr_cv_broadcast_import; |
| 235 | gpr_once_init_type gpr_once_init_import; |
| 236 | gpr_event_init_type gpr_event_init_import; |
| 237 | gpr_event_set_type gpr_event_set_import; |
| 238 | gpr_event_get_type gpr_event_get_import; |
| 239 | gpr_event_wait_type gpr_event_wait_import; |
| 240 | gpr_ref_init_type gpr_ref_init_import; |
| 241 | gpr_ref_type gpr_ref_import; |
| 242 | gpr_ref_non_zero_type gpr_ref_non_zero_import; |
| 243 | gpr_refn_type gpr_refn_import; |
| 244 | gpr_unref_type gpr_unref_import; |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 245 | gpr_ref_is_unique_type gpr_ref_is_unique_import; |
David Garcia Quintas | 2ee99f4 | 2016-08-01 19:15:31 -0700 | [diff] [blame] | 246 | gpr_stats_init_type gpr_stats_init_import; |
| 247 | gpr_stats_inc_type gpr_stats_inc_import; |
| 248 | gpr_stats_read_type gpr_stats_read_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 249 | gpr_thd_currentid_type gpr_thd_currentid_import; |
David Garcia Quintas | 1399e46 | 2016-07-27 20:31:55 -0700 | [diff] [blame] | 250 | gpr_time_0_type gpr_time_0_import; |
| 251 | gpr_inf_future_type gpr_inf_future_import; |
| 252 | gpr_inf_past_type gpr_inf_past_import; |
| 253 | gpr_time_init_type gpr_time_init_import; |
| 254 | gpr_now_type gpr_now_import; |
| 255 | gpr_convert_clock_type_type gpr_convert_clock_type_import; |
| 256 | gpr_time_cmp_type gpr_time_cmp_import; |
| 257 | gpr_time_max_type gpr_time_max_import; |
| 258 | gpr_time_min_type gpr_time_min_import; |
| 259 | gpr_time_add_type gpr_time_add_import; |
| 260 | gpr_time_sub_type gpr_time_sub_import; |
| 261 | gpr_time_from_micros_type gpr_time_from_micros_import; |
| 262 | gpr_time_from_nanos_type gpr_time_from_nanos_import; |
| 263 | gpr_time_from_millis_type gpr_time_from_millis_import; |
| 264 | gpr_time_from_seconds_type gpr_time_from_seconds_import; |
| 265 | gpr_time_from_minutes_type gpr_time_from_minutes_import; |
| 266 | gpr_time_from_hours_type gpr_time_from_hours_import; |
| 267 | gpr_time_to_millis_type gpr_time_to_millis_import; |
| 268 | gpr_time_similar_type gpr_time_similar_import; |
| 269 | gpr_sleep_until_type gpr_sleep_until_import; |
| 270 | gpr_timespec_to_micros_type gpr_timespec_to_micros_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 271 | |
| 272 | void grpc_rb_load_imports(HMODULE library) { |
Muxi Yan | 1c285b9 | 2017-09-25 12:38:17 -0700 | [diff] [blame] | 273 | grpc_compression_algorithm_is_message_import = (grpc_compression_algorithm_is_message_type) GetProcAddress(library, "grpc_compression_algorithm_is_message"); |
| 274 | grpc_compression_algorithm_is_stream_import = (grpc_compression_algorithm_is_stream_type) GetProcAddress(library, "grpc_compression_algorithm_is_stream"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 275 | grpc_compression_algorithm_parse_import = (grpc_compression_algorithm_parse_type) GetProcAddress(library, "grpc_compression_algorithm_parse"); |
| 276 | grpc_compression_algorithm_name_import = (grpc_compression_algorithm_name_type) GetProcAddress(library, "grpc_compression_algorithm_name"); |
| 277 | grpc_compression_algorithm_for_level_import = (grpc_compression_algorithm_for_level_type) GetProcAddress(library, "grpc_compression_algorithm_for_level"); |
| 278 | grpc_compression_options_init_import = (grpc_compression_options_init_type) GetProcAddress(library, "grpc_compression_options_init"); |
| 279 | grpc_compression_options_enable_algorithm_import = (grpc_compression_options_enable_algorithm_type) GetProcAddress(library, "grpc_compression_options_enable_algorithm"); |
| 280 | grpc_compression_options_disable_algorithm_import = (grpc_compression_options_disable_algorithm_type) GetProcAddress(library, "grpc_compression_options_disable_algorithm"); |
| 281 | grpc_compression_options_is_algorithm_enabled_import = (grpc_compression_options_is_algorithm_enabled_type) GetProcAddress(library, "grpc_compression_options_is_algorithm_enabled"); |
| 282 | grpc_metadata_array_init_import = (grpc_metadata_array_init_type) GetProcAddress(library, "grpc_metadata_array_init"); |
| 283 | grpc_metadata_array_destroy_import = (grpc_metadata_array_destroy_type) GetProcAddress(library, "grpc_metadata_array_destroy"); |
| 284 | grpc_call_details_init_import = (grpc_call_details_init_type) GetProcAddress(library, "grpc_call_details_init"); |
| 285 | grpc_call_details_destroy_import = (grpc_call_details_destroy_type) GetProcAddress(library, "grpc_call_details_destroy"); |
| 286 | grpc_register_plugin_import = (grpc_register_plugin_type) GetProcAddress(library, "grpc_register_plugin"); |
| 287 | grpc_init_import = (grpc_init_type) GetProcAddress(library, "grpc_init"); |
| 288 | grpc_shutdown_import = (grpc_shutdown_type) GetProcAddress(library, "grpc_shutdown"); |
| 289 | grpc_version_string_import = (grpc_version_string_type) GetProcAddress(library, "grpc_version_string"); |
Craig Tiller | d9f9076 | 2016-08-29 16:47:22 -0700 | [diff] [blame] | 290 | grpc_g_stands_for_import = (grpc_g_stands_for_type) GetProcAddress(library, "grpc_g_stands_for"); |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 291 | grpc_completion_queue_factory_lookup_import = (grpc_completion_queue_factory_lookup_type) GetProcAddress(library, "grpc_completion_queue_factory_lookup"); |
| 292 | grpc_completion_queue_create_for_next_import = (grpc_completion_queue_create_for_next_type) GetProcAddress(library, "grpc_completion_queue_create_for_next"); |
| 293 | grpc_completion_queue_create_for_pluck_import = (grpc_completion_queue_create_for_pluck_type) GetProcAddress(library, "grpc_completion_queue_create_for_pluck"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 294 | grpc_completion_queue_create_import = (grpc_completion_queue_create_type) GetProcAddress(library, "grpc_completion_queue_create"); |
| 295 | grpc_completion_queue_next_import = (grpc_completion_queue_next_type) GetProcAddress(library, "grpc_completion_queue_next"); |
| 296 | grpc_completion_queue_pluck_import = (grpc_completion_queue_pluck_type) GetProcAddress(library, "grpc_completion_queue_pluck"); |
| 297 | grpc_completion_queue_shutdown_import = (grpc_completion_queue_shutdown_type) GetProcAddress(library, "grpc_completion_queue_shutdown"); |
| 298 | grpc_completion_queue_destroy_import = (grpc_completion_queue_destroy_type) GetProcAddress(library, "grpc_completion_queue_destroy"); |
Ken Payson | 42bd87e | 2017-10-20 10:32:30 -0700 | [diff] [blame] | 299 | 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"); |
| 300 | 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" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 301 | grpc_channel_check_connectivity_state_import = (grpc_channel_check_connectivity_state_type) GetProcAddress(library, "grpc_channel_check_connectivity_state"); |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 302 | grpc_channel_num_external_connectivity_watchers_import = (grpc_channel_num_external_connectivity_watchers_type) GetProcAddress(library, "grpc_channel_num_external_connectivity_watchers"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 303 | grpc_channel_watch_connectivity_state_import = (grpc_channel_watch_connectivity_state_type) GetProcAddress(library, "grpc_channel_watch_connectivity_state"); |
Yuchen Zeng | ba23e79 | 2017-08-24 23:13:09 -0700 | [diff] [blame] | 304 | grpc_channel_support_connectivity_watcher_import = (grpc_channel_support_connectivity_watcher_type) GetProcAddress(library, "grpc_channel_support_connectivity_watcher"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 305 | grpc_channel_create_call_import = (grpc_channel_create_call_type) GetProcAddress(library, "grpc_channel_create_call"); |
| 306 | grpc_channel_ping_import = (grpc_channel_ping_type) GetProcAddress(library, "grpc_channel_ping"); |
| 307 | grpc_channel_register_call_import = (grpc_channel_register_call_type) GetProcAddress(library, "grpc_channel_register_call"); |
| 308 | grpc_channel_create_registered_call_import = (grpc_channel_create_registered_call_type) GetProcAddress(library, "grpc_channel_create_registered_call"); |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 309 | grpc_call_arena_alloc_import = (grpc_call_arena_alloc_type) GetProcAddress(library, "grpc_call_arena_alloc"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 310 | grpc_call_start_batch_import = (grpc_call_start_batch_type) GetProcAddress(library, "grpc_call_start_batch"); |
| 311 | grpc_call_get_peer_import = (grpc_call_get_peer_type) GetProcAddress(library, "grpc_call_get_peer"); |
| 312 | grpc_census_call_set_context_import = (grpc_census_call_set_context_type) GetProcAddress(library, "grpc_census_call_set_context"); |
| 313 | grpc_census_call_get_context_import = (grpc_census_call_get_context_type) GetProcAddress(library, "grpc_census_call_get_context"); |
| 314 | grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target"); |
Mark D. Roth | 8e2d8d9 | 2016-11-04 12:55:07 -0700 | [diff] [blame] | 315 | grpc_channel_get_info_import = (grpc_channel_get_info_type) GetProcAddress(library, "grpc_channel_get_info"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 316 | grpc_insecure_channel_create_import = (grpc_insecure_channel_create_type) GetProcAddress(library, "grpc_insecure_channel_create"); |
| 317 | grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create"); |
| 318 | grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy"); |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 319 | grpc_channel_get_trace_import = (grpc_channel_get_trace_type) GetProcAddress(library, "grpc_channel_get_trace"); |
| 320 | grpc_channel_get_uuid_import = (grpc_channel_get_uuid_type) GetProcAddress(library, "grpc_channel_get_uuid"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 321 | grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel"); |
| 322 | grpc_call_cancel_with_status_import = (grpc_call_cancel_with_status_type) GetProcAddress(library, "grpc_call_cancel_with_status"); |
Craig Tiller | d35bb9e | 2017-03-31 12:56:15 -0700 | [diff] [blame] | 323 | grpc_call_ref_import = (grpc_call_ref_type) GetProcAddress(library, "grpc_call_ref"); |
Craig Tiller | dd36b15 | 2017-03-31 08:27:28 -0700 | [diff] [blame] | 324 | grpc_call_unref_import = (grpc_call_unref_type) GetProcAddress(library, "grpc_call_unref"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 325 | grpc_server_request_call_import = (grpc_server_request_call_type) GetProcAddress(library, "grpc_server_request_call"); |
| 326 | grpc_server_register_method_import = (grpc_server_register_method_type) GetProcAddress(library, "grpc_server_register_method"); |
| 327 | grpc_server_request_registered_call_import = (grpc_server_request_registered_call_type) GetProcAddress(library, "grpc_server_request_registered_call"); |
| 328 | grpc_server_create_import = (grpc_server_create_type) GetProcAddress(library, "grpc_server_create"); |
| 329 | grpc_server_register_completion_queue_import = (grpc_server_register_completion_queue_type) GetProcAddress(library, "grpc_server_register_completion_queue"); |
| 330 | grpc_server_add_insecure_http2_port_import = (grpc_server_add_insecure_http2_port_type) GetProcAddress(library, "grpc_server_add_insecure_http2_port"); |
| 331 | grpc_server_start_import = (grpc_server_start_type) GetProcAddress(library, "grpc_server_start"); |
| 332 | grpc_server_shutdown_and_notify_import = (grpc_server_shutdown_and_notify_type) GetProcAddress(library, "grpc_server_shutdown_and_notify"); |
| 333 | grpc_server_cancel_all_calls_import = (grpc_server_cancel_all_calls_type) GetProcAddress(library, "grpc_server_cancel_all_calls"); |
| 334 | grpc_server_destroy_import = (grpc_server_destroy_type) GetProcAddress(library, "grpc_server_destroy"); |
| 335 | grpc_tracer_set_enabled_import = (grpc_tracer_set_enabled_type) GetProcAddress(library, "grpc_tracer_set_enabled"); |
| 336 | grpc_header_key_is_legal_import = (grpc_header_key_is_legal_type) GetProcAddress(library, "grpc_header_key_is_legal"); |
| 337 | grpc_header_nonbin_value_is_legal_import = (grpc_header_nonbin_value_is_legal_type) GetProcAddress(library, "grpc_header_nonbin_value_is_legal"); |
| 338 | grpc_is_binary_header_import = (grpc_is_binary_header_type) GetProcAddress(library, "grpc_is_binary_header"); |
Yuchen Zeng | 2e7d957 | 2016-04-15 17:29:57 -0700 | [diff] [blame] | 339 | grpc_call_error_to_string_import = (grpc_call_error_to_string_type) GetProcAddress(library, "grpc_call_error_to_string"); |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 340 | grpc_resource_quota_create_import = (grpc_resource_quota_create_type) GetProcAddress(library, "grpc_resource_quota_create"); |
| 341 | grpc_resource_quota_ref_import = (grpc_resource_quota_ref_type) GetProcAddress(library, "grpc_resource_quota_ref"); |
| 342 | grpc_resource_quota_unref_import = (grpc_resource_quota_unref_type) GetProcAddress(library, "grpc_resource_quota_unref"); |
| 343 | grpc_resource_quota_resize_import = (grpc_resource_quota_resize_type) GetProcAddress(library, "grpc_resource_quota_resize"); |
| 344 | grpc_resource_quota_arg_vtable_import = (grpc_resource_quota_arg_vtable_type) GetProcAddress(library, "grpc_resource_quota_arg_vtable"); |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 345 | grpc_insecure_channel_create_from_fd_import = (grpc_insecure_channel_create_from_fd_type) GetProcAddress(library, "grpc_insecure_channel_create_from_fd"); |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 346 | 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 Kuchibhotla | 492fd96 | 2016-06-10 09:03:34 -0700 | [diff] [blame] | 347 | grpc_use_signal_import = (grpc_use_signal_type) GetProcAddress(library, "grpc_use_signal"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 348 | grpc_auth_property_iterator_next_import = (grpc_auth_property_iterator_next_type) GetProcAddress(library, "grpc_auth_property_iterator_next"); |
| 349 | grpc_auth_context_property_iterator_import = (grpc_auth_context_property_iterator_type) GetProcAddress(library, "grpc_auth_context_property_iterator"); |
| 350 | grpc_auth_context_peer_identity_import = (grpc_auth_context_peer_identity_type) GetProcAddress(library, "grpc_auth_context_peer_identity"); |
| 351 | 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"); |
| 352 | 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"); |
| 353 | grpc_auth_context_peer_is_authenticated_import = (grpc_auth_context_peer_is_authenticated_type) GetProcAddress(library, "grpc_auth_context_peer_is_authenticated"); |
| 354 | grpc_call_auth_context_import = (grpc_call_auth_context_type) GetProcAddress(library, "grpc_call_auth_context"); |
| 355 | grpc_auth_context_release_import = (grpc_auth_context_release_type) GetProcAddress(library, "grpc_auth_context_release"); |
| 356 | grpc_auth_context_add_property_import = (grpc_auth_context_add_property_type) GetProcAddress(library, "grpc_auth_context_add_property"); |
| 357 | grpc_auth_context_add_cstring_property_import = (grpc_auth_context_add_cstring_property_type) GetProcAddress(library, "grpc_auth_context_add_cstring_property"); |
| 358 | 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"); |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 359 | grpc_ssl_session_cache_create_lru_import = (grpc_ssl_session_cache_create_lru_type) GetProcAddress(library, "grpc_ssl_session_cache_create_lru"); |
| 360 | grpc_ssl_session_cache_destroy_import = (grpc_ssl_session_cache_destroy_type) GetProcAddress(library, "grpc_ssl_session_cache_destroy"); |
| 361 | 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"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 362 | grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release"); |
| 363 | grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create"); |
Nicolas "Pixel" Noble | 6397660 | 2016-02-17 23:43:55 +0100 | [diff] [blame] | 364 | grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 365 | grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create"); |
| 366 | grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release"); |
| 367 | grpc_composite_channel_credentials_create_import = (grpc_composite_channel_credentials_create_type) GetProcAddress(library, "grpc_composite_channel_credentials_create"); |
| 368 | grpc_composite_call_credentials_create_import = (grpc_composite_call_credentials_create_type) GetProcAddress(library, "grpc_composite_call_credentials_create"); |
| 369 | grpc_google_compute_engine_credentials_create_import = (grpc_google_compute_engine_credentials_create_type) GetProcAddress(library, "grpc_google_compute_engine_credentials_create"); |
Nicolas "Pixel" Noble | d2f20ef | 2016-01-31 07:52:59 +0100 | [diff] [blame] | 370 | grpc_max_auth_token_lifetime_import = (grpc_max_auth_token_lifetime_type) GetProcAddress(library, "grpc_max_auth_token_lifetime"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 371 | 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"); |
| 372 | grpc_google_refresh_token_credentials_create_import = (grpc_google_refresh_token_credentials_create_type) GetProcAddress(library, "grpc_google_refresh_token_credentials_create"); |
| 373 | grpc_access_token_credentials_create_import = (grpc_access_token_credentials_create_type) GetProcAddress(library, "grpc_access_token_credentials_create"); |
| 374 | grpc_google_iam_credentials_create_import = (grpc_google_iam_credentials_create_type) GetProcAddress(library, "grpc_google_iam_credentials_create"); |
| 375 | grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin"); |
| 376 | grpc_secure_channel_create_import = (grpc_secure_channel_create_type) GetProcAddress(library, "grpc_secure_channel_create"); |
| 377 | grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release"); |
Justin Burke | c1d354d | 2017-09-19 15:06:01 -0700 | [diff] [blame] | 378 | grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create"); |
| 379 | grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 380 | grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create"); |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 381 | grpc_ssl_server_credentials_create_ex_import = (grpc_ssl_server_credentials_create_ex_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_ex"); |
Justin Burke | c1d354d | 2017-09-19 15:06:01 -0700 | [diff] [blame] | 382 | 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"); |
| 383 | 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"); |
| 384 | grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy"); |
| 385 | 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" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 386 | grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port"); |
| 387 | grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials"); |
| 388 | 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"); |
Yihua Zhang | fe2fa0c | 2018-04-16 15:11:32 -0700 | [diff] [blame] | 389 | grpc_alts_credentials_client_options_create_import = (grpc_alts_credentials_client_options_create_type) GetProcAddress(library, "grpc_alts_credentials_client_options_create"); |
| 390 | grpc_alts_credentials_server_options_create_import = (grpc_alts_credentials_server_options_create_type) GetProcAddress(library, "grpc_alts_credentials_server_options_create"); |
| 391 | grpc_alts_credentials_client_options_add_target_service_account_import = (grpc_alts_credentials_client_options_add_target_service_account_type) GetProcAddress(library, "grpc_alts_credentials_client_options_add_target_service_account"); |
| 392 | grpc_alts_credentials_options_destroy_import = (grpc_alts_credentials_options_destroy_type) GetProcAddress(library, "grpc_alts_credentials_options_destroy"); |
| 393 | grpc_alts_credentials_create_import = (grpc_alts_credentials_create_type) GetProcAddress(library, "grpc_alts_credentials_create"); |
| 394 | grpc_alts_server_credentials_create_import = (grpc_alts_server_credentials_create_type) GetProcAddress(library, "grpc_alts_server_credentials_create"); |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 395 | grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create"); |
| 396 | grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create"); |
| 397 | grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy"); |
| 398 | grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length"); |
| 399 | grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy"); |
| 400 | grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init"); |
| 401 | grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy"); |
| 402 | grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next"); |
| 403 | grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall"); |
| 404 | grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader"); |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 405 | grpc_slice_ref_import = (grpc_slice_ref_type) GetProcAddress(library, "grpc_slice_ref"); |
| 406 | grpc_slice_unref_import = (grpc_slice_unref_type) GetProcAddress(library, "grpc_slice_unref"); |
Craig Tiller | bb4046c | 2017-04-26 08:56:30 -0700 | [diff] [blame] | 407 | grpc_slice_copy_import = (grpc_slice_copy_type) GetProcAddress(library, "grpc_slice_copy"); |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 408 | grpc_slice_new_import = (grpc_slice_new_type) GetProcAddress(library, "grpc_slice_new"); |
| 409 | grpc_slice_new_with_user_data_import = (grpc_slice_new_with_user_data_type) GetProcAddress(library, "grpc_slice_new_with_user_data"); |
| 410 | grpc_slice_new_with_len_import = (grpc_slice_new_with_len_type) GetProcAddress(library, "grpc_slice_new_with_len"); |
| 411 | grpc_slice_malloc_import = (grpc_slice_malloc_type) GetProcAddress(library, "grpc_slice_malloc"); |
Craig Tiller | c39fbcf | 2017-04-17 08:20:25 -0700 | [diff] [blame] | 412 | grpc_slice_malloc_large_import = (grpc_slice_malloc_large_type) GetProcAddress(library, "grpc_slice_malloc_large"); |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 413 | grpc_slice_intern_import = (grpc_slice_intern_type) GetProcAddress(library, "grpc_slice_intern"); |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 414 | grpc_slice_from_copied_string_import = (grpc_slice_from_copied_string_type) GetProcAddress(library, "grpc_slice_from_copied_string"); |
| 415 | grpc_slice_from_copied_buffer_import = (grpc_slice_from_copied_buffer_type) GetProcAddress(library, "grpc_slice_from_copied_buffer"); |
| 416 | grpc_slice_from_static_string_import = (grpc_slice_from_static_string_type) GetProcAddress(library, "grpc_slice_from_static_string"); |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 417 | grpc_slice_from_static_buffer_import = (grpc_slice_from_static_buffer_type) GetProcAddress(library, "grpc_slice_from_static_buffer"); |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 418 | grpc_slice_sub_import = (grpc_slice_sub_type) GetProcAddress(library, "grpc_slice_sub"); |
| 419 | grpc_slice_sub_no_ref_import = (grpc_slice_sub_no_ref_type) GetProcAddress(library, "grpc_slice_sub_no_ref"); |
| 420 | grpc_slice_split_tail_import = (grpc_slice_split_tail_type) GetProcAddress(library, "grpc_slice_split_tail"); |
Craig Tiller | c39fbcf | 2017-04-17 08:20:25 -0700 | [diff] [blame] | 421 | grpc_slice_split_tail_maybe_ref_import = (grpc_slice_split_tail_maybe_ref_type) GetProcAddress(library, "grpc_slice_split_tail_maybe_ref"); |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 422 | grpc_slice_split_head_import = (grpc_slice_split_head_type) GetProcAddress(library, "grpc_slice_split_head"); |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 423 | grpc_empty_slice_import = (grpc_empty_slice_type) GetProcAddress(library, "grpc_empty_slice"); |
| 424 | grpc_slice_default_hash_impl_import = (grpc_slice_default_hash_impl_type) GetProcAddress(library, "grpc_slice_default_hash_impl"); |
| 425 | grpc_slice_default_eq_impl_import = (grpc_slice_default_eq_impl_type) GetProcAddress(library, "grpc_slice_default_eq_impl"); |
| 426 | grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq"); |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 427 | grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp"); |
| 428 | grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp"); |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 429 | grpc_slice_buf_start_eq_import = (grpc_slice_buf_start_eq_type) GetProcAddress(library, "grpc_slice_buf_start_eq"); |
| 430 | grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr"); |
| 431 | grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr"); |
| 432 | grpc_slice_slice_import = (grpc_slice_slice_type) GetProcAddress(library, "grpc_slice_slice"); |
| 433 | grpc_slice_hash_import = (grpc_slice_hash_type) GetProcAddress(library, "grpc_slice_hash"); |
Craig Tiller | c586666 | 2016-11-16 15:25:00 -0800 | [diff] [blame] | 434 | grpc_slice_is_equivalent_import = (grpc_slice_is_equivalent_type) GetProcAddress(library, "grpc_slice_is_equivalent"); |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 435 | grpc_slice_dup_import = (grpc_slice_dup_type) GetProcAddress(library, "grpc_slice_dup"); |
| 436 | grpc_slice_to_c_string_import = (grpc_slice_to_c_string_type) GetProcAddress(library, "grpc_slice_to_c_string"); |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 437 | grpc_slice_buffer_init_import = (grpc_slice_buffer_init_type) GetProcAddress(library, "grpc_slice_buffer_init"); |
| 438 | grpc_slice_buffer_destroy_import = (grpc_slice_buffer_destroy_type) GetProcAddress(library, "grpc_slice_buffer_destroy"); |
| 439 | grpc_slice_buffer_add_import = (grpc_slice_buffer_add_type) GetProcAddress(library, "grpc_slice_buffer_add"); |
| 440 | grpc_slice_buffer_add_indexed_import = (grpc_slice_buffer_add_indexed_type) GetProcAddress(library, "grpc_slice_buffer_add_indexed"); |
| 441 | grpc_slice_buffer_addn_import = (grpc_slice_buffer_addn_type) GetProcAddress(library, "grpc_slice_buffer_addn"); |
| 442 | grpc_slice_buffer_tiny_add_import = (grpc_slice_buffer_tiny_add_type) GetProcAddress(library, "grpc_slice_buffer_tiny_add"); |
| 443 | grpc_slice_buffer_pop_import = (grpc_slice_buffer_pop_type) GetProcAddress(library, "grpc_slice_buffer_pop"); |
| 444 | grpc_slice_buffer_reset_and_unref_import = (grpc_slice_buffer_reset_and_unref_type) GetProcAddress(library, "grpc_slice_buffer_reset_and_unref"); |
| 445 | grpc_slice_buffer_swap_import = (grpc_slice_buffer_swap_type) GetProcAddress(library, "grpc_slice_buffer_swap"); |
| 446 | grpc_slice_buffer_move_into_import = (grpc_slice_buffer_move_into_type) GetProcAddress(library, "grpc_slice_buffer_move_into"); |
| 447 | grpc_slice_buffer_trim_end_import = (grpc_slice_buffer_trim_end_type) GetProcAddress(library, "grpc_slice_buffer_trim_end"); |
| 448 | grpc_slice_buffer_move_first_import = (grpc_slice_buffer_move_first_type) GetProcAddress(library, "grpc_slice_buffer_move_first"); |
Craig Tiller | c39fbcf | 2017-04-17 08:20:25 -0700 | [diff] [blame] | 449 | 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 Tiller | 0cf6a71 | 2017-01-20 14:07:05 -0800 | [diff] [blame] | 450 | 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 Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 451 | grpc_slice_buffer_take_first_import = (grpc_slice_buffer_take_first_type) GetProcAddress(library, "grpc_slice_buffer_take_first"); |
Craig Tiller | 0cf6a71 | 2017-01-20 14:07:05 -0800 | [diff] [blame] | 452 | grpc_slice_buffer_undo_take_first_import = (grpc_slice_buffer_undo_take_first_type) GetProcAddress(library, "grpc_slice_buffer_undo_take_first"); |
David Garcia Quintas | 3b31fdf | 2016-07-27 18:17:12 -0700 | [diff] [blame] | 453 | gpr_malloc_import = (gpr_malloc_type) GetProcAddress(library, "gpr_malloc"); |
Craig Tiller | ff71449 | 2017-02-17 09:02:18 -0800 | [diff] [blame] | 454 | gpr_zalloc_import = (gpr_zalloc_type) GetProcAddress(library, "gpr_zalloc"); |
David Garcia Quintas | 3b31fdf | 2016-07-27 18:17:12 -0700 | [diff] [blame] | 455 | gpr_free_import = (gpr_free_type) GetProcAddress(library, "gpr_free"); |
| 456 | gpr_realloc_import = (gpr_realloc_type) GetProcAddress(library, "gpr_realloc"); |
| 457 | gpr_malloc_aligned_import = (gpr_malloc_aligned_type) GetProcAddress(library, "gpr_malloc_aligned"); |
| 458 | gpr_free_aligned_import = (gpr_free_aligned_type) GetProcAddress(library, "gpr_free_aligned"); |
| 459 | gpr_set_allocation_functions_import = (gpr_set_allocation_functions_type) GetProcAddress(library, "gpr_set_allocation_functions"); |
| 460 | gpr_get_allocation_functions_import = (gpr_get_allocation_functions_type) GetProcAddress(library, "gpr_get_allocation_functions"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 461 | gpr_cpu_num_cores_import = (gpr_cpu_num_cores_type) GetProcAddress(library, "gpr_cpu_num_cores"); |
| 462 | gpr_cpu_current_cpu_import = (gpr_cpu_current_cpu_type) GetProcAddress(library, "gpr_cpu_current_cpu"); |
Craig Tiller | cc91983 | 2017-05-23 13:35:55 -0700 | [diff] [blame] | 463 | gpr_log_severity_string_import = (gpr_log_severity_string_type) GetProcAddress(library, "gpr_log_severity_string"); |
David Garcia Quintas | c79b065 | 2016-07-27 21:11:58 -0700 | [diff] [blame] | 464 | gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log"); |
Jan Tattermusch | 3095e35 | 2018-04-05 09:41:03 +0200 | [diff] [blame] | 465 | gpr_should_log_import = (gpr_should_log_type) GetProcAddress(library, "gpr_should_log"); |
David Garcia Quintas | c79b065 | 2016-07-27 21:11:58 -0700 | [diff] [blame] | 466 | gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message"); |
| 467 | gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity"); |
| 468 | gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init"); |
| 469 | gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 470 | gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message"); |
| 471 | gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup"); |
| 472 | gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf"); |
David Garcia Quintas | 2ee99f4 | 2016-08-01 19:15:31 -0700 | [diff] [blame] | 473 | gpr_mu_init_import = (gpr_mu_init_type) GetProcAddress(library, "gpr_mu_init"); |
| 474 | gpr_mu_destroy_import = (gpr_mu_destroy_type) GetProcAddress(library, "gpr_mu_destroy"); |
| 475 | gpr_mu_lock_import = (gpr_mu_lock_type) GetProcAddress(library, "gpr_mu_lock"); |
| 476 | gpr_mu_unlock_import = (gpr_mu_unlock_type) GetProcAddress(library, "gpr_mu_unlock"); |
| 477 | gpr_mu_trylock_import = (gpr_mu_trylock_type) GetProcAddress(library, "gpr_mu_trylock"); |
| 478 | gpr_cv_init_import = (gpr_cv_init_type) GetProcAddress(library, "gpr_cv_init"); |
| 479 | gpr_cv_destroy_import = (gpr_cv_destroy_type) GetProcAddress(library, "gpr_cv_destroy"); |
| 480 | gpr_cv_wait_import = (gpr_cv_wait_type) GetProcAddress(library, "gpr_cv_wait"); |
| 481 | gpr_cv_signal_import = (gpr_cv_signal_type) GetProcAddress(library, "gpr_cv_signal"); |
| 482 | gpr_cv_broadcast_import = (gpr_cv_broadcast_type) GetProcAddress(library, "gpr_cv_broadcast"); |
| 483 | gpr_once_init_import = (gpr_once_init_type) GetProcAddress(library, "gpr_once_init"); |
| 484 | gpr_event_init_import = (gpr_event_init_type) GetProcAddress(library, "gpr_event_init"); |
| 485 | gpr_event_set_import = (gpr_event_set_type) GetProcAddress(library, "gpr_event_set"); |
| 486 | gpr_event_get_import = (gpr_event_get_type) GetProcAddress(library, "gpr_event_get"); |
| 487 | gpr_event_wait_import = (gpr_event_wait_type) GetProcAddress(library, "gpr_event_wait"); |
| 488 | gpr_ref_init_import = (gpr_ref_init_type) GetProcAddress(library, "gpr_ref_init"); |
| 489 | gpr_ref_import = (gpr_ref_type) GetProcAddress(library, "gpr_ref"); |
| 490 | gpr_ref_non_zero_import = (gpr_ref_non_zero_type) GetProcAddress(library, "gpr_ref_non_zero"); |
| 491 | gpr_refn_import = (gpr_refn_type) GetProcAddress(library, "gpr_refn"); |
| 492 | gpr_unref_import = (gpr_unref_type) GetProcAddress(library, "gpr_unref"); |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 493 | gpr_ref_is_unique_import = (gpr_ref_is_unique_type) GetProcAddress(library, "gpr_ref_is_unique"); |
David Garcia Quintas | 2ee99f4 | 2016-08-01 19:15:31 -0700 | [diff] [blame] | 494 | gpr_stats_init_import = (gpr_stats_init_type) GetProcAddress(library, "gpr_stats_init"); |
| 495 | gpr_stats_inc_import = (gpr_stats_inc_type) GetProcAddress(library, "gpr_stats_inc"); |
| 496 | gpr_stats_read_import = (gpr_stats_read_type) GetProcAddress(library, "gpr_stats_read"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 497 | gpr_thd_currentid_import = (gpr_thd_currentid_type) GetProcAddress(library, "gpr_thd_currentid"); |
David Garcia Quintas | 1399e46 | 2016-07-27 20:31:55 -0700 | [diff] [blame] | 498 | gpr_time_0_import = (gpr_time_0_type) GetProcAddress(library, "gpr_time_0"); |
| 499 | gpr_inf_future_import = (gpr_inf_future_type) GetProcAddress(library, "gpr_inf_future"); |
| 500 | gpr_inf_past_import = (gpr_inf_past_type) GetProcAddress(library, "gpr_inf_past"); |
| 501 | gpr_time_init_import = (gpr_time_init_type) GetProcAddress(library, "gpr_time_init"); |
| 502 | gpr_now_import = (gpr_now_type) GetProcAddress(library, "gpr_now"); |
| 503 | gpr_convert_clock_type_import = (gpr_convert_clock_type_type) GetProcAddress(library, "gpr_convert_clock_type"); |
| 504 | gpr_time_cmp_import = (gpr_time_cmp_type) GetProcAddress(library, "gpr_time_cmp"); |
| 505 | gpr_time_max_import = (gpr_time_max_type) GetProcAddress(library, "gpr_time_max"); |
| 506 | gpr_time_min_import = (gpr_time_min_type) GetProcAddress(library, "gpr_time_min"); |
| 507 | gpr_time_add_import = (gpr_time_add_type) GetProcAddress(library, "gpr_time_add"); |
| 508 | gpr_time_sub_import = (gpr_time_sub_type) GetProcAddress(library, "gpr_time_sub"); |
| 509 | gpr_time_from_micros_import = (gpr_time_from_micros_type) GetProcAddress(library, "gpr_time_from_micros"); |
| 510 | gpr_time_from_nanos_import = (gpr_time_from_nanos_type) GetProcAddress(library, "gpr_time_from_nanos"); |
| 511 | gpr_time_from_millis_import = (gpr_time_from_millis_type) GetProcAddress(library, "gpr_time_from_millis"); |
| 512 | gpr_time_from_seconds_import = (gpr_time_from_seconds_type) GetProcAddress(library, "gpr_time_from_seconds"); |
| 513 | gpr_time_from_minutes_import = (gpr_time_from_minutes_type) GetProcAddress(library, "gpr_time_from_minutes"); |
| 514 | gpr_time_from_hours_import = (gpr_time_from_hours_type) GetProcAddress(library, "gpr_time_from_hours"); |
| 515 | gpr_time_to_millis_import = (gpr_time_to_millis_type) GetProcAddress(library, "gpr_time_to_millis"); |
| 516 | gpr_time_similar_import = (gpr_time_similar_type) GetProcAddress(library, "gpr_time_similar"); |
| 517 | gpr_sleep_until_import = (gpr_sleep_until_type) GetProcAddress(library, "gpr_sleep_until"); |
| 518 | gpr_timespec_to_micros_import = (gpr_timespec_to_micros_type) GetProcAddress(library, "gpr_timespec_to_micros"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 519 | } |
| 520 | |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 521 | #endif /* GPR_WINDOWS */ |