Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * |
| 3 | * Copyright 2016, Google Inc. |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions are |
| 8 | * met: |
| 9 | * |
| 10 | * * Redistributions of source code must retain the above copyright |
| 11 | * notice, this list of conditions and the following disclaimer. |
| 12 | * * Redistributions in binary form must reproduce the above |
| 13 | * copyright notice, this list of conditions and the following disclaimer |
| 14 | * in the documentation and/or other materials provided with the |
| 15 | * distribution. |
| 16 | * * Neither the name of Google Inc. nor the names of its |
| 17 | * contributors may be used to endorse or promote products derived from |
| 18 | * this software without specific prior written permission. |
| 19 | * |
| 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 | * |
| 32 | */ |
| 33 | |
| 34 | #include <grpc/support/port_platform.h> |
| 35 | |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 36 | #ifdef GPR_WINDOWS |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 37 | |
Nicolas "Pixel" Noble | b8e9e9c | 2016-01-30 18:35:13 +0100 | [diff] [blame] | 38 | #include "rb_grpc_imports.generated.h" |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 39 | |
| 40 | census_initialize_type census_initialize_import; |
| 41 | census_shutdown_type census_shutdown_import; |
| 42 | census_supported_type census_supported_import; |
| 43 | census_enabled_type census_enabled_import; |
Alistair Veitch | 6f2b899 | 2016-02-03 09:02:46 -0800 | [diff] [blame] | 44 | census_context_create_type census_context_create_import; |
| 45 | census_context_destroy_type census_context_destroy_import; |
| 46 | census_context_get_status_type census_context_get_status_import; |
| 47 | census_context_initialize_iterator_type census_context_initialize_iterator_import; |
| 48 | census_context_next_tag_type census_context_next_tag_import; |
| 49 | census_context_get_tag_type census_context_get_tag_import; |
| 50 | census_context_encode_type census_context_encode_import; |
| 51 | census_context_decode_type census_context_decode_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 52 | census_trace_mask_type census_trace_mask_import; |
| 53 | census_set_trace_mask_type census_set_trace_mask_import; |
| 54 | census_start_rpc_op_timestamp_type census_start_rpc_op_timestamp_import; |
| 55 | census_start_client_rpc_op_type census_start_client_rpc_op_import; |
| 56 | census_set_rpc_client_peer_type census_set_rpc_client_peer_import; |
| 57 | census_start_server_rpc_op_type census_start_server_rpc_op_import; |
| 58 | census_start_op_type census_start_op_import; |
| 59 | census_end_op_type census_end_op_import; |
| 60 | census_trace_print_type census_trace_print_import; |
| 61 | census_trace_scan_start_type census_trace_scan_start_import; |
| 62 | census_get_trace_record_type census_get_trace_record_import; |
| 63 | census_trace_scan_end_type census_trace_scan_end_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 64 | census_record_values_type census_record_values_import; |
| 65 | census_view_create_type census_view_create_import; |
| 66 | census_view_delete_type census_view_delete_import; |
| 67 | census_view_metric_type census_view_metric_import; |
| 68 | census_view_naggregations_type census_view_naggregations_import; |
| 69 | census_view_tags_type census_view_tags_import; |
| 70 | census_view_aggregrations_type census_view_aggregrations_import; |
| 71 | census_view_get_data_type census_view_get_data_import; |
| 72 | census_view_reset_type census_view_reset_import; |
| 73 | grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import; |
| 74 | grpc_compression_algorithm_name_type grpc_compression_algorithm_name_import; |
| 75 | grpc_compression_algorithm_for_level_type grpc_compression_algorithm_for_level_import; |
| 76 | grpc_compression_options_init_type grpc_compression_options_init_import; |
| 77 | grpc_compression_options_enable_algorithm_type grpc_compression_options_enable_algorithm_import; |
| 78 | grpc_compression_options_disable_algorithm_type grpc_compression_options_disable_algorithm_import; |
| 79 | grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import; |
| 80 | grpc_metadata_array_init_type grpc_metadata_array_init_import; |
| 81 | grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import; |
| 82 | grpc_call_details_init_type grpc_call_details_init_import; |
| 83 | grpc_call_details_destroy_type grpc_call_details_destroy_import; |
| 84 | grpc_register_plugin_type grpc_register_plugin_import; |
| 85 | grpc_init_type grpc_init_import; |
| 86 | grpc_shutdown_type grpc_shutdown_import; |
| 87 | grpc_version_string_type grpc_version_string_import; |
| 88 | grpc_completion_queue_create_type grpc_completion_queue_create_import; |
| 89 | grpc_completion_queue_next_type grpc_completion_queue_next_import; |
| 90 | grpc_completion_queue_pluck_type grpc_completion_queue_pluck_import; |
| 91 | grpc_completion_queue_shutdown_type grpc_completion_queue_shutdown_import; |
| 92 | grpc_completion_queue_destroy_type grpc_completion_queue_destroy_import; |
| 93 | grpc_alarm_create_type grpc_alarm_create_import; |
| 94 | grpc_alarm_cancel_type grpc_alarm_cancel_import; |
| 95 | grpc_alarm_destroy_type grpc_alarm_destroy_import; |
| 96 | grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import; |
| 97 | grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import; |
| 98 | grpc_channel_create_call_type grpc_channel_create_call_import; |
| 99 | grpc_channel_ping_type grpc_channel_ping_import; |
| 100 | grpc_channel_register_call_type grpc_channel_register_call_import; |
| 101 | grpc_channel_create_registered_call_type grpc_channel_create_registered_call_import; |
| 102 | grpc_call_start_batch_type grpc_call_start_batch_import; |
| 103 | grpc_call_get_peer_type grpc_call_get_peer_import; |
| 104 | grpc_census_call_set_context_type grpc_census_call_set_context_import; |
| 105 | grpc_census_call_get_context_type grpc_census_call_get_context_import; |
| 106 | grpc_channel_get_target_type grpc_channel_get_target_import; |
| 107 | grpc_insecure_channel_create_type grpc_insecure_channel_create_import; |
| 108 | grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import; |
| 109 | grpc_channel_destroy_type grpc_channel_destroy_import; |
| 110 | grpc_call_cancel_type grpc_call_cancel_import; |
| 111 | grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import; |
| 112 | grpc_call_destroy_type grpc_call_destroy_import; |
| 113 | grpc_server_request_call_type grpc_server_request_call_import; |
| 114 | grpc_server_register_method_type grpc_server_register_method_import; |
| 115 | grpc_server_request_registered_call_type grpc_server_request_registered_call_import; |
| 116 | grpc_server_create_type grpc_server_create_import; |
| 117 | grpc_server_register_completion_queue_type grpc_server_register_completion_queue_import; |
Sree Kuchibhotla | 0190712 | 2016-04-21 15:09:13 -0700 | [diff] [blame] | 118 | grpc_server_register_non_listening_completion_queue_type grpc_server_register_non_listening_completion_queue_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 119 | grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import; |
| 120 | grpc_server_start_type grpc_server_start_import; |
| 121 | grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import; |
| 122 | grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import; |
| 123 | grpc_server_destroy_type grpc_server_destroy_import; |
| 124 | grpc_tracer_set_enabled_type grpc_tracer_set_enabled_import; |
| 125 | grpc_header_key_is_legal_type grpc_header_key_is_legal_import; |
| 126 | grpc_header_nonbin_value_is_legal_type grpc_header_nonbin_value_is_legal_import; |
| 127 | grpc_is_binary_header_type grpc_is_binary_header_import; |
Yuchen Zeng | 2e7d957 | 2016-04-15 17:29:57 -0700 | [diff] [blame] | 128 | grpc_call_error_to_string_type grpc_call_error_to_string_import; |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 129 | 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] | 130 | 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] | 131 | grpc_use_signal_type grpc_use_signal_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 132 | grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import; |
| 133 | grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import; |
| 134 | grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import; |
| 135 | grpc_auth_context_find_properties_by_name_type grpc_auth_context_find_properties_by_name_import; |
| 136 | grpc_auth_context_peer_identity_property_name_type grpc_auth_context_peer_identity_property_name_import; |
| 137 | grpc_auth_context_peer_is_authenticated_type grpc_auth_context_peer_is_authenticated_import; |
| 138 | grpc_call_auth_context_type grpc_call_auth_context_import; |
| 139 | grpc_auth_context_release_type grpc_auth_context_release_import; |
| 140 | grpc_auth_context_add_property_type grpc_auth_context_add_property_import; |
| 141 | grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring_property_import; |
| 142 | grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import; |
| 143 | grpc_channel_credentials_release_type grpc_channel_credentials_release_import; |
| 144 | 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] | 145 | 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] | 146 | grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import; |
| 147 | grpc_call_credentials_release_type grpc_call_credentials_release_import; |
| 148 | grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import; |
| 149 | grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import; |
| 150 | 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] | 151 | 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] | 152 | grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import; |
| 153 | grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import; |
| 154 | grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import; |
| 155 | grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import; |
| 156 | grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import; |
| 157 | grpc_secure_channel_create_type grpc_secure_channel_create_import; |
| 158 | grpc_server_credentials_release_type grpc_server_credentials_release_import; |
| 159 | grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import; |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 160 | grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 161 | grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import; |
| 162 | grpc_call_set_credentials_type grpc_call_set_credentials_import; |
| 163 | grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 164 | gpr_malloc_type gpr_malloc_import; |
| 165 | gpr_free_type gpr_free_import; |
| 166 | gpr_realloc_type gpr_realloc_import; |
| 167 | gpr_malloc_aligned_type gpr_malloc_aligned_import; |
| 168 | gpr_free_aligned_type gpr_free_aligned_import; |
| 169 | gpr_set_allocation_functions_type gpr_set_allocation_functions_import; |
| 170 | gpr_get_allocation_functions_type gpr_get_allocation_functions_import; |
| 171 | grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import; |
| 172 | grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import; |
| 173 | grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import; |
| 174 | grpc_byte_buffer_length_type grpc_byte_buffer_length_import; |
| 175 | grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import; |
| 176 | grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import; |
| 177 | grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import; |
| 178 | grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import; |
| 179 | grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import; |
| 180 | grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import; |
| 181 | gpr_log_type gpr_log_import; |
| 182 | gpr_log_message_type gpr_log_message_import; |
Yuchen Zeng | 1874663 | 2016-04-15 17:40:05 -0700 | [diff] [blame] | 183 | gpr_set_log_verbosity_type gpr_set_log_verbosity_import; |
| 184 | gpr_log_verbosity_init_type gpr_log_verbosity_init_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 185 | gpr_set_log_function_type gpr_set_log_function_import; |
| 186 | gpr_slice_ref_type gpr_slice_ref_import; |
| 187 | gpr_slice_unref_type gpr_slice_unref_import; |
| 188 | gpr_slice_new_type gpr_slice_new_import; |
Stanley Cheung | bc3b6f3 | 2016-07-22 13:13:28 -0700 | [diff] [blame] | 189 | gpr_slice_new_with_user_data_type gpr_slice_new_with_user_data_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 190 | gpr_slice_new_with_len_type gpr_slice_new_with_len_import; |
| 191 | gpr_slice_malloc_type gpr_slice_malloc_import; |
| 192 | gpr_slice_from_copied_string_type gpr_slice_from_copied_string_import; |
| 193 | gpr_slice_from_copied_buffer_type gpr_slice_from_copied_buffer_import; |
| 194 | gpr_slice_from_static_string_type gpr_slice_from_static_string_import; |
| 195 | gpr_slice_sub_type gpr_slice_sub_import; |
| 196 | gpr_slice_sub_no_ref_type gpr_slice_sub_no_ref_import; |
| 197 | gpr_slice_split_tail_type gpr_slice_split_tail_import; |
| 198 | gpr_slice_split_head_type gpr_slice_split_head_import; |
| 199 | gpr_empty_slice_type gpr_empty_slice_import; |
| 200 | gpr_slice_cmp_type gpr_slice_cmp_import; |
| 201 | gpr_slice_str_cmp_type gpr_slice_str_cmp_import; |
| 202 | gpr_slice_buffer_init_type gpr_slice_buffer_init_import; |
| 203 | gpr_slice_buffer_destroy_type gpr_slice_buffer_destroy_import; |
| 204 | gpr_slice_buffer_add_type gpr_slice_buffer_add_import; |
| 205 | gpr_slice_buffer_add_indexed_type gpr_slice_buffer_add_indexed_import; |
| 206 | gpr_slice_buffer_addn_type gpr_slice_buffer_addn_import; |
| 207 | gpr_slice_buffer_tiny_add_type gpr_slice_buffer_tiny_add_import; |
| 208 | gpr_slice_buffer_pop_type gpr_slice_buffer_pop_import; |
| 209 | gpr_slice_buffer_reset_and_unref_type gpr_slice_buffer_reset_and_unref_import; |
| 210 | gpr_slice_buffer_swap_type gpr_slice_buffer_swap_import; |
| 211 | gpr_slice_buffer_move_into_type gpr_slice_buffer_move_into_import; |
| 212 | gpr_slice_buffer_trim_end_type gpr_slice_buffer_trim_end_import; |
| 213 | gpr_slice_buffer_move_first_type gpr_slice_buffer_move_first_import; |
| 214 | gpr_slice_buffer_take_first_type gpr_slice_buffer_take_first_import; |
| 215 | gpr_mu_init_type gpr_mu_init_import; |
| 216 | gpr_mu_destroy_type gpr_mu_destroy_import; |
| 217 | gpr_mu_lock_type gpr_mu_lock_import; |
| 218 | gpr_mu_unlock_type gpr_mu_unlock_import; |
| 219 | gpr_mu_trylock_type gpr_mu_trylock_import; |
| 220 | gpr_cv_init_type gpr_cv_init_import; |
| 221 | gpr_cv_destroy_type gpr_cv_destroy_import; |
| 222 | gpr_cv_wait_type gpr_cv_wait_import; |
| 223 | gpr_cv_signal_type gpr_cv_signal_import; |
| 224 | gpr_cv_broadcast_type gpr_cv_broadcast_import; |
| 225 | gpr_once_init_type gpr_once_init_import; |
| 226 | gpr_event_init_type gpr_event_init_import; |
| 227 | gpr_event_set_type gpr_event_set_import; |
| 228 | gpr_event_get_type gpr_event_get_import; |
| 229 | gpr_event_wait_type gpr_event_wait_import; |
| 230 | gpr_ref_init_type gpr_ref_init_import; |
| 231 | gpr_ref_type gpr_ref_import; |
Craig Tiller | 0cb803d | 2016-03-02 22:17:24 -0800 | [diff] [blame] | 232 | gpr_ref_non_zero_type gpr_ref_non_zero_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 233 | gpr_refn_type gpr_refn_import; |
| 234 | gpr_unref_type gpr_unref_import; |
| 235 | gpr_stats_init_type gpr_stats_init_import; |
| 236 | gpr_stats_inc_type gpr_stats_inc_import; |
| 237 | gpr_stats_read_type gpr_stats_read_import; |
| 238 | gpr_time_0_type gpr_time_0_import; |
| 239 | gpr_inf_future_type gpr_inf_future_import; |
| 240 | gpr_inf_past_type gpr_inf_past_import; |
| 241 | gpr_time_init_type gpr_time_init_import; |
| 242 | gpr_now_type gpr_now_import; |
| 243 | gpr_convert_clock_type_type gpr_convert_clock_type_import; |
| 244 | gpr_time_cmp_type gpr_time_cmp_import; |
| 245 | gpr_time_max_type gpr_time_max_import; |
| 246 | gpr_time_min_type gpr_time_min_import; |
| 247 | gpr_time_add_type gpr_time_add_import; |
| 248 | gpr_time_sub_type gpr_time_sub_import; |
| 249 | gpr_time_from_micros_type gpr_time_from_micros_import; |
| 250 | gpr_time_from_nanos_type gpr_time_from_nanos_import; |
| 251 | gpr_time_from_millis_type gpr_time_from_millis_import; |
| 252 | gpr_time_from_seconds_type gpr_time_from_seconds_import; |
| 253 | gpr_time_from_minutes_type gpr_time_from_minutes_import; |
| 254 | gpr_time_from_hours_type gpr_time_from_hours_import; |
| 255 | gpr_time_to_millis_type gpr_time_to_millis_import; |
| 256 | gpr_time_similar_type gpr_time_similar_import; |
| 257 | gpr_sleep_until_type gpr_sleep_until_import; |
| 258 | gpr_timespec_to_micros_type gpr_timespec_to_micros_import; |
| 259 | gpr_avl_create_type gpr_avl_create_import; |
| 260 | gpr_avl_ref_type gpr_avl_ref_import; |
| 261 | gpr_avl_unref_type gpr_avl_unref_import; |
| 262 | gpr_avl_add_type gpr_avl_add_import; |
| 263 | gpr_avl_remove_type gpr_avl_remove_import; |
| 264 | gpr_avl_get_type gpr_avl_get_import; |
Craig Tiller | d6a5b80 | 2016-05-13 20:17:38 -0700 | [diff] [blame] | 265 | gpr_avl_maybe_get_type gpr_avl_maybe_get_import; |
| 266 | gpr_avl_is_empty_type gpr_avl_is_empty_import; |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 267 | gpr_cmdline_create_type gpr_cmdline_create_import; |
| 268 | gpr_cmdline_add_int_type gpr_cmdline_add_int_import; |
| 269 | gpr_cmdline_add_flag_type gpr_cmdline_add_flag_import; |
| 270 | gpr_cmdline_add_string_type gpr_cmdline_add_string_import; |
| 271 | gpr_cmdline_on_extra_arg_type gpr_cmdline_on_extra_arg_import; |
| 272 | gpr_cmdline_set_survive_failure_type gpr_cmdline_set_survive_failure_import; |
| 273 | gpr_cmdline_parse_type gpr_cmdline_parse_import; |
| 274 | gpr_cmdline_destroy_type gpr_cmdline_destroy_import; |
| 275 | gpr_cmdline_usage_string_type gpr_cmdline_usage_string_import; |
| 276 | gpr_cpu_num_cores_type gpr_cpu_num_cores_import; |
| 277 | gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import; |
| 278 | gpr_histogram_create_type gpr_histogram_create_import; |
| 279 | gpr_histogram_destroy_type gpr_histogram_destroy_import; |
| 280 | gpr_histogram_add_type gpr_histogram_add_import; |
| 281 | gpr_histogram_merge_type gpr_histogram_merge_import; |
| 282 | gpr_histogram_percentile_type gpr_histogram_percentile_import; |
| 283 | gpr_histogram_mean_type gpr_histogram_mean_import; |
| 284 | gpr_histogram_stddev_type gpr_histogram_stddev_import; |
| 285 | gpr_histogram_variance_type gpr_histogram_variance_import; |
| 286 | gpr_histogram_maximum_type gpr_histogram_maximum_import; |
| 287 | gpr_histogram_minimum_type gpr_histogram_minimum_import; |
| 288 | gpr_histogram_count_type gpr_histogram_count_import; |
| 289 | gpr_histogram_sum_type gpr_histogram_sum_import; |
| 290 | gpr_histogram_sum_of_squares_type gpr_histogram_sum_of_squares_import; |
| 291 | gpr_histogram_get_contents_type gpr_histogram_get_contents_import; |
| 292 | gpr_histogram_merge_contents_type gpr_histogram_merge_contents_import; |
| 293 | gpr_join_host_port_type gpr_join_host_port_import; |
| 294 | gpr_split_host_port_type gpr_split_host_port_import; |
| 295 | gpr_format_message_type gpr_format_message_import; |
| 296 | gpr_strdup_type gpr_strdup_import; |
| 297 | gpr_asprintf_type gpr_asprintf_import; |
| 298 | gpr_subprocess_binary_extension_type gpr_subprocess_binary_extension_import; |
| 299 | gpr_subprocess_create_type gpr_subprocess_create_import; |
| 300 | gpr_subprocess_destroy_type gpr_subprocess_destroy_import; |
| 301 | gpr_subprocess_join_type gpr_subprocess_join_import; |
| 302 | gpr_subprocess_interrupt_type gpr_subprocess_interrupt_import; |
| 303 | gpr_thd_new_type gpr_thd_new_import; |
| 304 | gpr_thd_options_default_type gpr_thd_options_default_import; |
| 305 | gpr_thd_options_set_detached_type gpr_thd_options_set_detached_import; |
| 306 | gpr_thd_options_set_joinable_type gpr_thd_options_set_joinable_import; |
| 307 | gpr_thd_options_is_detached_type gpr_thd_options_is_detached_import; |
| 308 | gpr_thd_options_is_joinable_type gpr_thd_options_is_joinable_import; |
| 309 | gpr_thd_currentid_type gpr_thd_currentid_import; |
| 310 | gpr_thd_join_type gpr_thd_join_import; |
| 311 | |
| 312 | void grpc_rb_load_imports(HMODULE library) { |
| 313 | census_initialize_import = (census_initialize_type) GetProcAddress(library, "census_initialize"); |
| 314 | census_shutdown_import = (census_shutdown_type) GetProcAddress(library, "census_shutdown"); |
| 315 | census_supported_import = (census_supported_type) GetProcAddress(library, "census_supported"); |
| 316 | census_enabled_import = (census_enabled_type) GetProcAddress(library, "census_enabled"); |
Alistair Veitch | 6f2b899 | 2016-02-03 09:02:46 -0800 | [diff] [blame] | 317 | census_context_create_import = (census_context_create_type) GetProcAddress(library, "census_context_create"); |
| 318 | census_context_destroy_import = (census_context_destroy_type) GetProcAddress(library, "census_context_destroy"); |
| 319 | census_context_get_status_import = (census_context_get_status_type) GetProcAddress(library, "census_context_get_status"); |
| 320 | census_context_initialize_iterator_import = (census_context_initialize_iterator_type) GetProcAddress(library, "census_context_initialize_iterator"); |
| 321 | census_context_next_tag_import = (census_context_next_tag_type) GetProcAddress(library, "census_context_next_tag"); |
| 322 | census_context_get_tag_import = (census_context_get_tag_type) GetProcAddress(library, "census_context_get_tag"); |
| 323 | census_context_encode_import = (census_context_encode_type) GetProcAddress(library, "census_context_encode"); |
| 324 | census_context_decode_import = (census_context_decode_type) GetProcAddress(library, "census_context_decode"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 325 | census_trace_mask_import = (census_trace_mask_type) GetProcAddress(library, "census_trace_mask"); |
| 326 | census_set_trace_mask_import = (census_set_trace_mask_type) GetProcAddress(library, "census_set_trace_mask"); |
| 327 | census_start_rpc_op_timestamp_import = (census_start_rpc_op_timestamp_type) GetProcAddress(library, "census_start_rpc_op_timestamp"); |
| 328 | census_start_client_rpc_op_import = (census_start_client_rpc_op_type) GetProcAddress(library, "census_start_client_rpc_op"); |
| 329 | census_set_rpc_client_peer_import = (census_set_rpc_client_peer_type) GetProcAddress(library, "census_set_rpc_client_peer"); |
| 330 | census_start_server_rpc_op_import = (census_start_server_rpc_op_type) GetProcAddress(library, "census_start_server_rpc_op"); |
| 331 | census_start_op_import = (census_start_op_type) GetProcAddress(library, "census_start_op"); |
| 332 | census_end_op_import = (census_end_op_type) GetProcAddress(library, "census_end_op"); |
| 333 | census_trace_print_import = (census_trace_print_type) GetProcAddress(library, "census_trace_print"); |
| 334 | census_trace_scan_start_import = (census_trace_scan_start_type) GetProcAddress(library, "census_trace_scan_start"); |
| 335 | census_get_trace_record_import = (census_get_trace_record_type) GetProcAddress(library, "census_get_trace_record"); |
| 336 | census_trace_scan_end_import = (census_trace_scan_end_type) GetProcAddress(library, "census_trace_scan_end"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 337 | census_record_values_import = (census_record_values_type) GetProcAddress(library, "census_record_values"); |
| 338 | census_view_create_import = (census_view_create_type) GetProcAddress(library, "census_view_create"); |
| 339 | census_view_delete_import = (census_view_delete_type) GetProcAddress(library, "census_view_delete"); |
| 340 | census_view_metric_import = (census_view_metric_type) GetProcAddress(library, "census_view_metric"); |
| 341 | census_view_naggregations_import = (census_view_naggregations_type) GetProcAddress(library, "census_view_naggregations"); |
| 342 | census_view_tags_import = (census_view_tags_type) GetProcAddress(library, "census_view_tags"); |
| 343 | census_view_aggregrations_import = (census_view_aggregrations_type) GetProcAddress(library, "census_view_aggregrations"); |
| 344 | census_view_get_data_import = (census_view_get_data_type) GetProcAddress(library, "census_view_get_data"); |
| 345 | census_view_reset_import = (census_view_reset_type) GetProcAddress(library, "census_view_reset"); |
| 346 | grpc_compression_algorithm_parse_import = (grpc_compression_algorithm_parse_type) GetProcAddress(library, "grpc_compression_algorithm_parse"); |
| 347 | grpc_compression_algorithm_name_import = (grpc_compression_algorithm_name_type) GetProcAddress(library, "grpc_compression_algorithm_name"); |
| 348 | grpc_compression_algorithm_for_level_import = (grpc_compression_algorithm_for_level_type) GetProcAddress(library, "grpc_compression_algorithm_for_level"); |
| 349 | grpc_compression_options_init_import = (grpc_compression_options_init_type) GetProcAddress(library, "grpc_compression_options_init"); |
| 350 | grpc_compression_options_enable_algorithm_import = (grpc_compression_options_enable_algorithm_type) GetProcAddress(library, "grpc_compression_options_enable_algorithm"); |
| 351 | grpc_compression_options_disable_algorithm_import = (grpc_compression_options_disable_algorithm_type) GetProcAddress(library, "grpc_compression_options_disable_algorithm"); |
| 352 | grpc_compression_options_is_algorithm_enabled_import = (grpc_compression_options_is_algorithm_enabled_type) GetProcAddress(library, "grpc_compression_options_is_algorithm_enabled"); |
| 353 | grpc_metadata_array_init_import = (grpc_metadata_array_init_type) GetProcAddress(library, "grpc_metadata_array_init"); |
| 354 | grpc_metadata_array_destroy_import = (grpc_metadata_array_destroy_type) GetProcAddress(library, "grpc_metadata_array_destroy"); |
| 355 | grpc_call_details_init_import = (grpc_call_details_init_type) GetProcAddress(library, "grpc_call_details_init"); |
| 356 | grpc_call_details_destroy_import = (grpc_call_details_destroy_type) GetProcAddress(library, "grpc_call_details_destroy"); |
| 357 | grpc_register_plugin_import = (grpc_register_plugin_type) GetProcAddress(library, "grpc_register_plugin"); |
| 358 | grpc_init_import = (grpc_init_type) GetProcAddress(library, "grpc_init"); |
| 359 | grpc_shutdown_import = (grpc_shutdown_type) GetProcAddress(library, "grpc_shutdown"); |
| 360 | grpc_version_string_import = (grpc_version_string_type) GetProcAddress(library, "grpc_version_string"); |
| 361 | grpc_completion_queue_create_import = (grpc_completion_queue_create_type) GetProcAddress(library, "grpc_completion_queue_create"); |
| 362 | grpc_completion_queue_next_import = (grpc_completion_queue_next_type) GetProcAddress(library, "grpc_completion_queue_next"); |
| 363 | grpc_completion_queue_pluck_import = (grpc_completion_queue_pluck_type) GetProcAddress(library, "grpc_completion_queue_pluck"); |
| 364 | grpc_completion_queue_shutdown_import = (grpc_completion_queue_shutdown_type) GetProcAddress(library, "grpc_completion_queue_shutdown"); |
| 365 | grpc_completion_queue_destroy_import = (grpc_completion_queue_destroy_type) GetProcAddress(library, "grpc_completion_queue_destroy"); |
| 366 | grpc_alarm_create_import = (grpc_alarm_create_type) GetProcAddress(library, "grpc_alarm_create"); |
| 367 | grpc_alarm_cancel_import = (grpc_alarm_cancel_type) GetProcAddress(library, "grpc_alarm_cancel"); |
| 368 | grpc_alarm_destroy_import = (grpc_alarm_destroy_type) GetProcAddress(library, "grpc_alarm_destroy"); |
| 369 | grpc_channel_check_connectivity_state_import = (grpc_channel_check_connectivity_state_type) GetProcAddress(library, "grpc_channel_check_connectivity_state"); |
| 370 | grpc_channel_watch_connectivity_state_import = (grpc_channel_watch_connectivity_state_type) GetProcAddress(library, "grpc_channel_watch_connectivity_state"); |
| 371 | grpc_channel_create_call_import = (grpc_channel_create_call_type) GetProcAddress(library, "grpc_channel_create_call"); |
| 372 | grpc_channel_ping_import = (grpc_channel_ping_type) GetProcAddress(library, "grpc_channel_ping"); |
| 373 | grpc_channel_register_call_import = (grpc_channel_register_call_type) GetProcAddress(library, "grpc_channel_register_call"); |
| 374 | grpc_channel_create_registered_call_import = (grpc_channel_create_registered_call_type) GetProcAddress(library, "grpc_channel_create_registered_call"); |
| 375 | grpc_call_start_batch_import = (grpc_call_start_batch_type) GetProcAddress(library, "grpc_call_start_batch"); |
| 376 | grpc_call_get_peer_import = (grpc_call_get_peer_type) GetProcAddress(library, "grpc_call_get_peer"); |
| 377 | grpc_census_call_set_context_import = (grpc_census_call_set_context_type) GetProcAddress(library, "grpc_census_call_set_context"); |
| 378 | grpc_census_call_get_context_import = (grpc_census_call_get_context_type) GetProcAddress(library, "grpc_census_call_get_context"); |
| 379 | grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target"); |
| 380 | grpc_insecure_channel_create_import = (grpc_insecure_channel_create_type) GetProcAddress(library, "grpc_insecure_channel_create"); |
| 381 | grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create"); |
| 382 | grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy"); |
| 383 | grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel"); |
| 384 | grpc_call_cancel_with_status_import = (grpc_call_cancel_with_status_type) GetProcAddress(library, "grpc_call_cancel_with_status"); |
| 385 | grpc_call_destroy_import = (grpc_call_destroy_type) GetProcAddress(library, "grpc_call_destroy"); |
| 386 | grpc_server_request_call_import = (grpc_server_request_call_type) GetProcAddress(library, "grpc_server_request_call"); |
| 387 | grpc_server_register_method_import = (grpc_server_register_method_type) GetProcAddress(library, "grpc_server_register_method"); |
| 388 | grpc_server_request_registered_call_import = (grpc_server_request_registered_call_type) GetProcAddress(library, "grpc_server_request_registered_call"); |
| 389 | grpc_server_create_import = (grpc_server_create_type) GetProcAddress(library, "grpc_server_create"); |
| 390 | grpc_server_register_completion_queue_import = (grpc_server_register_completion_queue_type) GetProcAddress(library, "grpc_server_register_completion_queue"); |
Sree Kuchibhotla | 0190712 | 2016-04-21 15:09:13 -0700 | [diff] [blame] | 391 | grpc_server_register_non_listening_completion_queue_import = (grpc_server_register_non_listening_completion_queue_type) GetProcAddress(library, "grpc_server_register_non_listening_completion_queue"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 392 | grpc_server_add_insecure_http2_port_import = (grpc_server_add_insecure_http2_port_type) GetProcAddress(library, "grpc_server_add_insecure_http2_port"); |
| 393 | grpc_server_start_import = (grpc_server_start_type) GetProcAddress(library, "grpc_server_start"); |
| 394 | grpc_server_shutdown_and_notify_import = (grpc_server_shutdown_and_notify_type) GetProcAddress(library, "grpc_server_shutdown_and_notify"); |
| 395 | grpc_server_cancel_all_calls_import = (grpc_server_cancel_all_calls_type) GetProcAddress(library, "grpc_server_cancel_all_calls"); |
| 396 | grpc_server_destroy_import = (grpc_server_destroy_type) GetProcAddress(library, "grpc_server_destroy"); |
| 397 | grpc_tracer_set_enabled_import = (grpc_tracer_set_enabled_type) GetProcAddress(library, "grpc_tracer_set_enabled"); |
| 398 | grpc_header_key_is_legal_import = (grpc_header_key_is_legal_type) GetProcAddress(library, "grpc_header_key_is_legal"); |
| 399 | grpc_header_nonbin_value_is_legal_import = (grpc_header_nonbin_value_is_legal_type) GetProcAddress(library, "grpc_header_nonbin_value_is_legal"); |
| 400 | 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] | 401 | grpc_call_error_to_string_import = (grpc_call_error_to_string_type) GetProcAddress(library, "grpc_call_error_to_string"); |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 402 | 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] | 403 | grpc_server_add_insecure_channel_from_fd_import = (grpc_server_add_insecure_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_insecure_channel_from_fd"); |
Sree Kuchibhotla | 492fd96 | 2016-06-10 09:03:34 -0700 | [diff] [blame] | 404 | 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] | 405 | grpc_auth_property_iterator_next_import = (grpc_auth_property_iterator_next_type) GetProcAddress(library, "grpc_auth_property_iterator_next"); |
| 406 | grpc_auth_context_property_iterator_import = (grpc_auth_context_property_iterator_type) GetProcAddress(library, "grpc_auth_context_property_iterator"); |
| 407 | grpc_auth_context_peer_identity_import = (grpc_auth_context_peer_identity_type) GetProcAddress(library, "grpc_auth_context_peer_identity"); |
| 408 | 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"); |
| 409 | 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"); |
| 410 | grpc_auth_context_peer_is_authenticated_import = (grpc_auth_context_peer_is_authenticated_type) GetProcAddress(library, "grpc_auth_context_peer_is_authenticated"); |
| 411 | grpc_call_auth_context_import = (grpc_call_auth_context_type) GetProcAddress(library, "grpc_call_auth_context"); |
| 412 | grpc_auth_context_release_import = (grpc_auth_context_release_type) GetProcAddress(library, "grpc_auth_context_release"); |
| 413 | grpc_auth_context_add_property_import = (grpc_auth_context_add_property_type) GetProcAddress(library, "grpc_auth_context_add_property"); |
| 414 | grpc_auth_context_add_cstring_property_import = (grpc_auth_context_add_cstring_property_type) GetProcAddress(library, "grpc_auth_context_add_cstring_property"); |
| 415 | 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"); |
| 416 | grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release"); |
| 417 | 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] | 418 | 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] | 419 | grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create"); |
| 420 | grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release"); |
| 421 | grpc_composite_channel_credentials_create_import = (grpc_composite_channel_credentials_create_type) GetProcAddress(library, "grpc_composite_channel_credentials_create"); |
| 422 | grpc_composite_call_credentials_create_import = (grpc_composite_call_credentials_create_type) GetProcAddress(library, "grpc_composite_call_credentials_create"); |
| 423 | 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] | 424 | 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] | 425 | 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"); |
| 426 | grpc_google_refresh_token_credentials_create_import = (grpc_google_refresh_token_credentials_create_type) GetProcAddress(library, "grpc_google_refresh_token_credentials_create"); |
| 427 | grpc_access_token_credentials_create_import = (grpc_access_token_credentials_create_type) GetProcAddress(library, "grpc_access_token_credentials_create"); |
| 428 | grpc_google_iam_credentials_create_import = (grpc_google_iam_credentials_create_type) GetProcAddress(library, "grpc_google_iam_credentials_create"); |
| 429 | grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin"); |
| 430 | grpc_secure_channel_create_import = (grpc_secure_channel_create_type) GetProcAddress(library, "grpc_secure_channel_create"); |
| 431 | grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release"); |
| 432 | 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] | 433 | grpc_ssl_server_credentials_create_ex_import = (grpc_ssl_server_credentials_create_ex_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_ex"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 434 | grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port"); |
| 435 | grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials"); |
| 436 | 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"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 437 | gpr_malloc_import = (gpr_malloc_type) GetProcAddress(library, "gpr_malloc"); |
| 438 | gpr_free_import = (gpr_free_type) GetProcAddress(library, "gpr_free"); |
| 439 | gpr_realloc_import = (gpr_realloc_type) GetProcAddress(library, "gpr_realloc"); |
| 440 | gpr_malloc_aligned_import = (gpr_malloc_aligned_type) GetProcAddress(library, "gpr_malloc_aligned"); |
| 441 | gpr_free_aligned_import = (gpr_free_aligned_type) GetProcAddress(library, "gpr_free_aligned"); |
| 442 | gpr_set_allocation_functions_import = (gpr_set_allocation_functions_type) GetProcAddress(library, "gpr_set_allocation_functions"); |
| 443 | gpr_get_allocation_functions_import = (gpr_get_allocation_functions_type) GetProcAddress(library, "gpr_get_allocation_functions"); |
| 444 | grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create"); |
| 445 | grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create"); |
| 446 | grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy"); |
| 447 | grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length"); |
| 448 | grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy"); |
| 449 | grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init"); |
| 450 | grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy"); |
| 451 | grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next"); |
| 452 | grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall"); |
| 453 | grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader"); |
| 454 | gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log"); |
| 455 | gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message"); |
Yuchen Zeng | 1874663 | 2016-04-15 17:40:05 -0700 | [diff] [blame] | 456 | gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity"); |
| 457 | gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 458 | gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function"); |
| 459 | gpr_slice_ref_import = (gpr_slice_ref_type) GetProcAddress(library, "gpr_slice_ref"); |
| 460 | gpr_slice_unref_import = (gpr_slice_unref_type) GetProcAddress(library, "gpr_slice_unref"); |
| 461 | gpr_slice_new_import = (gpr_slice_new_type) GetProcAddress(library, "gpr_slice_new"); |
Stanley Cheung | bc3b6f3 | 2016-07-22 13:13:28 -0700 | [diff] [blame] | 462 | gpr_slice_new_with_user_data_import = (gpr_slice_new_with_user_data_type) GetProcAddress(library, "gpr_slice_new_with_user_data"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 463 | gpr_slice_new_with_len_import = (gpr_slice_new_with_len_type) GetProcAddress(library, "gpr_slice_new_with_len"); |
| 464 | gpr_slice_malloc_import = (gpr_slice_malloc_type) GetProcAddress(library, "gpr_slice_malloc"); |
| 465 | gpr_slice_from_copied_string_import = (gpr_slice_from_copied_string_type) GetProcAddress(library, "gpr_slice_from_copied_string"); |
| 466 | gpr_slice_from_copied_buffer_import = (gpr_slice_from_copied_buffer_type) GetProcAddress(library, "gpr_slice_from_copied_buffer"); |
| 467 | gpr_slice_from_static_string_import = (gpr_slice_from_static_string_type) GetProcAddress(library, "gpr_slice_from_static_string"); |
| 468 | gpr_slice_sub_import = (gpr_slice_sub_type) GetProcAddress(library, "gpr_slice_sub"); |
| 469 | gpr_slice_sub_no_ref_import = (gpr_slice_sub_no_ref_type) GetProcAddress(library, "gpr_slice_sub_no_ref"); |
| 470 | gpr_slice_split_tail_import = (gpr_slice_split_tail_type) GetProcAddress(library, "gpr_slice_split_tail"); |
| 471 | gpr_slice_split_head_import = (gpr_slice_split_head_type) GetProcAddress(library, "gpr_slice_split_head"); |
| 472 | gpr_empty_slice_import = (gpr_empty_slice_type) GetProcAddress(library, "gpr_empty_slice"); |
| 473 | gpr_slice_cmp_import = (gpr_slice_cmp_type) GetProcAddress(library, "gpr_slice_cmp"); |
| 474 | gpr_slice_str_cmp_import = (gpr_slice_str_cmp_type) GetProcAddress(library, "gpr_slice_str_cmp"); |
| 475 | gpr_slice_buffer_init_import = (gpr_slice_buffer_init_type) GetProcAddress(library, "gpr_slice_buffer_init"); |
| 476 | gpr_slice_buffer_destroy_import = (gpr_slice_buffer_destroy_type) GetProcAddress(library, "gpr_slice_buffer_destroy"); |
| 477 | gpr_slice_buffer_add_import = (gpr_slice_buffer_add_type) GetProcAddress(library, "gpr_slice_buffer_add"); |
| 478 | gpr_slice_buffer_add_indexed_import = (gpr_slice_buffer_add_indexed_type) GetProcAddress(library, "gpr_slice_buffer_add_indexed"); |
| 479 | gpr_slice_buffer_addn_import = (gpr_slice_buffer_addn_type) GetProcAddress(library, "gpr_slice_buffer_addn"); |
| 480 | gpr_slice_buffer_tiny_add_import = (gpr_slice_buffer_tiny_add_type) GetProcAddress(library, "gpr_slice_buffer_tiny_add"); |
| 481 | gpr_slice_buffer_pop_import = (gpr_slice_buffer_pop_type) GetProcAddress(library, "gpr_slice_buffer_pop"); |
| 482 | gpr_slice_buffer_reset_and_unref_import = (gpr_slice_buffer_reset_and_unref_type) GetProcAddress(library, "gpr_slice_buffer_reset_and_unref"); |
| 483 | gpr_slice_buffer_swap_import = (gpr_slice_buffer_swap_type) GetProcAddress(library, "gpr_slice_buffer_swap"); |
| 484 | gpr_slice_buffer_move_into_import = (gpr_slice_buffer_move_into_type) GetProcAddress(library, "gpr_slice_buffer_move_into"); |
| 485 | gpr_slice_buffer_trim_end_import = (gpr_slice_buffer_trim_end_type) GetProcAddress(library, "gpr_slice_buffer_trim_end"); |
| 486 | gpr_slice_buffer_move_first_import = (gpr_slice_buffer_move_first_type) GetProcAddress(library, "gpr_slice_buffer_move_first"); |
| 487 | gpr_slice_buffer_take_first_import = (gpr_slice_buffer_take_first_type) GetProcAddress(library, "gpr_slice_buffer_take_first"); |
| 488 | gpr_mu_init_import = (gpr_mu_init_type) GetProcAddress(library, "gpr_mu_init"); |
| 489 | gpr_mu_destroy_import = (gpr_mu_destroy_type) GetProcAddress(library, "gpr_mu_destroy"); |
| 490 | gpr_mu_lock_import = (gpr_mu_lock_type) GetProcAddress(library, "gpr_mu_lock"); |
| 491 | gpr_mu_unlock_import = (gpr_mu_unlock_type) GetProcAddress(library, "gpr_mu_unlock"); |
| 492 | gpr_mu_trylock_import = (gpr_mu_trylock_type) GetProcAddress(library, "gpr_mu_trylock"); |
| 493 | gpr_cv_init_import = (gpr_cv_init_type) GetProcAddress(library, "gpr_cv_init"); |
| 494 | gpr_cv_destroy_import = (gpr_cv_destroy_type) GetProcAddress(library, "gpr_cv_destroy"); |
| 495 | gpr_cv_wait_import = (gpr_cv_wait_type) GetProcAddress(library, "gpr_cv_wait"); |
| 496 | gpr_cv_signal_import = (gpr_cv_signal_type) GetProcAddress(library, "gpr_cv_signal"); |
| 497 | gpr_cv_broadcast_import = (gpr_cv_broadcast_type) GetProcAddress(library, "gpr_cv_broadcast"); |
| 498 | gpr_once_init_import = (gpr_once_init_type) GetProcAddress(library, "gpr_once_init"); |
| 499 | gpr_event_init_import = (gpr_event_init_type) GetProcAddress(library, "gpr_event_init"); |
| 500 | gpr_event_set_import = (gpr_event_set_type) GetProcAddress(library, "gpr_event_set"); |
| 501 | gpr_event_get_import = (gpr_event_get_type) GetProcAddress(library, "gpr_event_get"); |
| 502 | gpr_event_wait_import = (gpr_event_wait_type) GetProcAddress(library, "gpr_event_wait"); |
| 503 | gpr_ref_init_import = (gpr_ref_init_type) GetProcAddress(library, "gpr_ref_init"); |
| 504 | gpr_ref_import = (gpr_ref_type) GetProcAddress(library, "gpr_ref"); |
Craig Tiller | 0cb803d | 2016-03-02 22:17:24 -0800 | [diff] [blame] | 505 | gpr_ref_non_zero_import = (gpr_ref_non_zero_type) GetProcAddress(library, "gpr_ref_non_zero"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 506 | gpr_refn_import = (gpr_refn_type) GetProcAddress(library, "gpr_refn"); |
| 507 | gpr_unref_import = (gpr_unref_type) GetProcAddress(library, "gpr_unref"); |
| 508 | gpr_stats_init_import = (gpr_stats_init_type) GetProcAddress(library, "gpr_stats_init"); |
| 509 | gpr_stats_inc_import = (gpr_stats_inc_type) GetProcAddress(library, "gpr_stats_inc"); |
| 510 | gpr_stats_read_import = (gpr_stats_read_type) GetProcAddress(library, "gpr_stats_read"); |
| 511 | gpr_time_0_import = (gpr_time_0_type) GetProcAddress(library, "gpr_time_0"); |
| 512 | gpr_inf_future_import = (gpr_inf_future_type) GetProcAddress(library, "gpr_inf_future"); |
| 513 | gpr_inf_past_import = (gpr_inf_past_type) GetProcAddress(library, "gpr_inf_past"); |
| 514 | gpr_time_init_import = (gpr_time_init_type) GetProcAddress(library, "gpr_time_init"); |
| 515 | gpr_now_import = (gpr_now_type) GetProcAddress(library, "gpr_now"); |
| 516 | gpr_convert_clock_type_import = (gpr_convert_clock_type_type) GetProcAddress(library, "gpr_convert_clock_type"); |
| 517 | gpr_time_cmp_import = (gpr_time_cmp_type) GetProcAddress(library, "gpr_time_cmp"); |
| 518 | gpr_time_max_import = (gpr_time_max_type) GetProcAddress(library, "gpr_time_max"); |
| 519 | gpr_time_min_import = (gpr_time_min_type) GetProcAddress(library, "gpr_time_min"); |
| 520 | gpr_time_add_import = (gpr_time_add_type) GetProcAddress(library, "gpr_time_add"); |
| 521 | gpr_time_sub_import = (gpr_time_sub_type) GetProcAddress(library, "gpr_time_sub"); |
| 522 | gpr_time_from_micros_import = (gpr_time_from_micros_type) GetProcAddress(library, "gpr_time_from_micros"); |
| 523 | gpr_time_from_nanos_import = (gpr_time_from_nanos_type) GetProcAddress(library, "gpr_time_from_nanos"); |
| 524 | gpr_time_from_millis_import = (gpr_time_from_millis_type) GetProcAddress(library, "gpr_time_from_millis"); |
| 525 | gpr_time_from_seconds_import = (gpr_time_from_seconds_type) GetProcAddress(library, "gpr_time_from_seconds"); |
| 526 | gpr_time_from_minutes_import = (gpr_time_from_minutes_type) GetProcAddress(library, "gpr_time_from_minutes"); |
| 527 | gpr_time_from_hours_import = (gpr_time_from_hours_type) GetProcAddress(library, "gpr_time_from_hours"); |
| 528 | gpr_time_to_millis_import = (gpr_time_to_millis_type) GetProcAddress(library, "gpr_time_to_millis"); |
| 529 | gpr_time_similar_import = (gpr_time_similar_type) GetProcAddress(library, "gpr_time_similar"); |
| 530 | gpr_sleep_until_import = (gpr_sleep_until_type) GetProcAddress(library, "gpr_sleep_until"); |
| 531 | gpr_timespec_to_micros_import = (gpr_timespec_to_micros_type) GetProcAddress(library, "gpr_timespec_to_micros"); |
| 532 | gpr_avl_create_import = (gpr_avl_create_type) GetProcAddress(library, "gpr_avl_create"); |
| 533 | gpr_avl_ref_import = (gpr_avl_ref_type) GetProcAddress(library, "gpr_avl_ref"); |
| 534 | gpr_avl_unref_import = (gpr_avl_unref_type) GetProcAddress(library, "gpr_avl_unref"); |
| 535 | gpr_avl_add_import = (gpr_avl_add_type) GetProcAddress(library, "gpr_avl_add"); |
| 536 | gpr_avl_remove_import = (gpr_avl_remove_type) GetProcAddress(library, "gpr_avl_remove"); |
| 537 | gpr_avl_get_import = (gpr_avl_get_type) GetProcAddress(library, "gpr_avl_get"); |
Craig Tiller | d6a5b80 | 2016-05-13 20:17:38 -0700 | [diff] [blame] | 538 | gpr_avl_maybe_get_import = (gpr_avl_maybe_get_type) GetProcAddress(library, "gpr_avl_maybe_get"); |
| 539 | gpr_avl_is_empty_import = (gpr_avl_is_empty_type) GetProcAddress(library, "gpr_avl_is_empty"); |
Nicolas "Pixel" Noble | d14b6ac | 2016-01-30 05:21:15 +0100 | [diff] [blame] | 540 | gpr_cmdline_create_import = (gpr_cmdline_create_type) GetProcAddress(library, "gpr_cmdline_create"); |
| 541 | gpr_cmdline_add_int_import = (gpr_cmdline_add_int_type) GetProcAddress(library, "gpr_cmdline_add_int"); |
| 542 | gpr_cmdline_add_flag_import = (gpr_cmdline_add_flag_type) GetProcAddress(library, "gpr_cmdline_add_flag"); |
| 543 | gpr_cmdline_add_string_import = (gpr_cmdline_add_string_type) GetProcAddress(library, "gpr_cmdline_add_string"); |
| 544 | gpr_cmdline_on_extra_arg_import = (gpr_cmdline_on_extra_arg_type) GetProcAddress(library, "gpr_cmdline_on_extra_arg"); |
| 545 | gpr_cmdline_set_survive_failure_import = (gpr_cmdline_set_survive_failure_type) GetProcAddress(library, "gpr_cmdline_set_survive_failure"); |
| 546 | gpr_cmdline_parse_import = (gpr_cmdline_parse_type) GetProcAddress(library, "gpr_cmdline_parse"); |
| 547 | gpr_cmdline_destroy_import = (gpr_cmdline_destroy_type) GetProcAddress(library, "gpr_cmdline_destroy"); |
| 548 | gpr_cmdline_usage_string_import = (gpr_cmdline_usage_string_type) GetProcAddress(library, "gpr_cmdline_usage_string"); |
| 549 | gpr_cpu_num_cores_import = (gpr_cpu_num_cores_type) GetProcAddress(library, "gpr_cpu_num_cores"); |
| 550 | gpr_cpu_current_cpu_import = (gpr_cpu_current_cpu_type) GetProcAddress(library, "gpr_cpu_current_cpu"); |
| 551 | gpr_histogram_create_import = (gpr_histogram_create_type) GetProcAddress(library, "gpr_histogram_create"); |
| 552 | gpr_histogram_destroy_import = (gpr_histogram_destroy_type) GetProcAddress(library, "gpr_histogram_destroy"); |
| 553 | gpr_histogram_add_import = (gpr_histogram_add_type) GetProcAddress(library, "gpr_histogram_add"); |
| 554 | gpr_histogram_merge_import = (gpr_histogram_merge_type) GetProcAddress(library, "gpr_histogram_merge"); |
| 555 | gpr_histogram_percentile_import = (gpr_histogram_percentile_type) GetProcAddress(library, "gpr_histogram_percentile"); |
| 556 | gpr_histogram_mean_import = (gpr_histogram_mean_type) GetProcAddress(library, "gpr_histogram_mean"); |
| 557 | gpr_histogram_stddev_import = (gpr_histogram_stddev_type) GetProcAddress(library, "gpr_histogram_stddev"); |
| 558 | gpr_histogram_variance_import = (gpr_histogram_variance_type) GetProcAddress(library, "gpr_histogram_variance"); |
| 559 | gpr_histogram_maximum_import = (gpr_histogram_maximum_type) GetProcAddress(library, "gpr_histogram_maximum"); |
| 560 | gpr_histogram_minimum_import = (gpr_histogram_minimum_type) GetProcAddress(library, "gpr_histogram_minimum"); |
| 561 | gpr_histogram_count_import = (gpr_histogram_count_type) GetProcAddress(library, "gpr_histogram_count"); |
| 562 | gpr_histogram_sum_import = (gpr_histogram_sum_type) GetProcAddress(library, "gpr_histogram_sum"); |
| 563 | gpr_histogram_sum_of_squares_import = (gpr_histogram_sum_of_squares_type) GetProcAddress(library, "gpr_histogram_sum_of_squares"); |
| 564 | gpr_histogram_get_contents_import = (gpr_histogram_get_contents_type) GetProcAddress(library, "gpr_histogram_get_contents"); |
| 565 | gpr_histogram_merge_contents_import = (gpr_histogram_merge_contents_type) GetProcAddress(library, "gpr_histogram_merge_contents"); |
| 566 | gpr_join_host_port_import = (gpr_join_host_port_type) GetProcAddress(library, "gpr_join_host_port"); |
| 567 | gpr_split_host_port_import = (gpr_split_host_port_type) GetProcAddress(library, "gpr_split_host_port"); |
| 568 | gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message"); |
| 569 | gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup"); |
| 570 | gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf"); |
| 571 | gpr_subprocess_binary_extension_import = (gpr_subprocess_binary_extension_type) GetProcAddress(library, "gpr_subprocess_binary_extension"); |
| 572 | gpr_subprocess_create_import = (gpr_subprocess_create_type) GetProcAddress(library, "gpr_subprocess_create"); |
| 573 | gpr_subprocess_destroy_import = (gpr_subprocess_destroy_type) GetProcAddress(library, "gpr_subprocess_destroy"); |
| 574 | gpr_subprocess_join_import = (gpr_subprocess_join_type) GetProcAddress(library, "gpr_subprocess_join"); |
| 575 | gpr_subprocess_interrupt_import = (gpr_subprocess_interrupt_type) GetProcAddress(library, "gpr_subprocess_interrupt"); |
| 576 | gpr_thd_new_import = (gpr_thd_new_type) GetProcAddress(library, "gpr_thd_new"); |
| 577 | gpr_thd_options_default_import = (gpr_thd_options_default_type) GetProcAddress(library, "gpr_thd_options_default"); |
| 578 | gpr_thd_options_set_detached_import = (gpr_thd_options_set_detached_type) GetProcAddress(library, "gpr_thd_options_set_detached"); |
| 579 | gpr_thd_options_set_joinable_import = (gpr_thd_options_set_joinable_type) GetProcAddress(library, "gpr_thd_options_set_joinable"); |
| 580 | gpr_thd_options_is_detached_import = (gpr_thd_options_is_detached_type) GetProcAddress(library, "gpr_thd_options_is_detached"); |
| 581 | gpr_thd_options_is_joinable_import = (gpr_thd_options_is_joinable_type) GetProcAddress(library, "gpr_thd_options_is_joinable"); |
| 582 | gpr_thd_currentid_import = (gpr_thd_currentid_type) GetProcAddress(library, "gpr_thd_currentid"); |
| 583 | gpr_thd_join_import = (gpr_thd_join_type) GetProcAddress(library, "gpr_thd_join"); |
| 584 | } |
| 585 | |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 586 | #endif /* GPR_WINDOWS */ |