grpc 1.0.1-x86-linux → 1.2.0.pre1-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/etc/roots.pem +228 -213
- data/grpc_c.32.ruby +0 -0
- data/grpc_c.64.ruby +0 -0
- data/src/ruby/ext/grpc/extconf.rb +4 -2
- data/src/ruby/ext/grpc/rb_byte_buffer.c +15 -7
- data/src/ruby/ext/grpc/rb_byte_buffer.h +3 -0
- data/src/ruby/ext/grpc/rb_call.c +62 -51
- data/src/ruby/ext/grpc/rb_channel.c +22 -7
- data/src/ruby/ext/grpc/rb_compression_options.c +469 -0
- data/src/ruby/ext/grpc/rb_compression_options.h +44 -0
- data/src/ruby/ext/grpc/rb_grpc.c +3 -1
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +232 -190
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +362 -299
- data/src/ruby/ext/grpc/rb_server.c +24 -16
- data/src/ruby/lib/grpc/2.0/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.1/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.2/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.3/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.4/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/errors.rb +154 -2
- data/src/ruby/lib/grpc/generic/active_call.rb +144 -63
- data/src/ruby/lib/grpc/generic/bidi_call.rb +18 -2
- data/src/ruby/lib/grpc/generic/client_stub.rb +8 -6
- data/src/ruby/lib/grpc/generic/rpc_desc.rb +39 -13
- data/src/ruby/lib/grpc/generic/rpc_server.rb +51 -24
- data/src/ruby/lib/grpc/generic/service.rb +3 -2
- data/src/ruby/lib/grpc/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/checker.rb +3 -1
- data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +7 -0
- data/src/ruby/pb/test/client.rb +307 -7
- data/src/ruby/pb/test/server.rb +26 -1
- data/src/ruby/spec/compression_options_spec.rb +164 -0
- data/src/ruby/spec/error_sanity_spec.rb +64 -0
- data/src/ruby/spec/generic/active_call_spec.rb +290 -12
- data/src/ruby/spec/generic/client_stub_spec.rb +91 -41
- data/src/ruby/spec/generic/rpc_desc_spec.rb +36 -16
- data/src/ruby/spec/generic/rpc_server_pool_spec.rb +22 -28
- data/src/ruby/spec/generic/rpc_server_spec.rb +6 -6
- data/src/ruby/spec/pb/health/checker_spec.rb +27 -19
- data/src/ruby/spec/spec_helper.rb +2 -0
- metadata +20 -10
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
*
|
3
|
+
* Copyright 2015, 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
|
+
#ifndef GRPC_RB_COMPRESSION_OPTIONS_H_
|
35
|
+
#define GRPC_RB_COMPRESSION_OPTIONS_H_
|
36
|
+
|
37
|
+
#include <ruby/ruby.h>
|
38
|
+
|
39
|
+
#include <grpc/grpc.h>
|
40
|
+
|
41
|
+
/* Initializes the compression options ruby wrapper. */
|
42
|
+
void Init_grpc_compression_options();
|
43
|
+
|
44
|
+
#endif /* GRPC_RB_COMPRESSION_OPTIONS_H_ */
|
data/src/ruby/ext/grpc/rb_grpc.c
CHANGED
@@ -49,6 +49,7 @@
|
|
49
49
|
#include "rb_loader.h"
|
50
50
|
#include "rb_server.h"
|
51
51
|
#include "rb_server_credentials.h"
|
52
|
+
#include "rb_compression_options.h"
|
52
53
|
|
53
54
|
static VALUE grpc_rb_cTimeVal = Qnil;
|
54
55
|
|
@@ -220,7 +221,7 @@ static VALUE grpc_rb_time_val_to_time(VALUE self) {
|
|
220
221
|
time_const);
|
221
222
|
real_time = gpr_convert_clock_type(*time_const, GPR_CLOCK_REALTIME);
|
222
223
|
return rb_funcall(rb_cTime, id_at, 2, INT2NUM(real_time.tv_sec),
|
223
|
-
INT2NUM(real_time.tv_nsec));
|
224
|
+
INT2NUM(real_time.tv_nsec / 1000));
|
224
225
|
}
|
225
226
|
|
226
227
|
/* Invokes inspect on the ctime version of the time val. */
|
@@ -332,4 +333,5 @@ void Init_grpc_c() {
|
|
332
333
|
Init_grpc_server_credentials();
|
333
334
|
Init_grpc_status_codes();
|
334
335
|
Init_grpc_time_consts();
|
336
|
+
Init_grpc_compression_options();
|
335
337
|
}
|
@@ -37,6 +37,16 @@
|
|
37
37
|
|
38
38
|
#include "rb_grpc_imports.generated.h"
|
39
39
|
|
40
|
+
grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
|
41
|
+
grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
|
42
|
+
grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
|
43
|
+
grpc_byte_buffer_length_type grpc_byte_buffer_length_import;
|
44
|
+
grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import;
|
45
|
+
grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import;
|
46
|
+
grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import;
|
47
|
+
grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
|
48
|
+
grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
|
49
|
+
grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import;
|
40
50
|
census_initialize_type census_initialize_import;
|
41
51
|
census_shutdown_type census_shutdown_import;
|
42
52
|
census_supported_type census_supported_import;
|
@@ -61,15 +71,10 @@ census_trace_print_type census_trace_print_import;
|
|
61
71
|
census_trace_scan_start_type census_trace_scan_start_import;
|
62
72
|
census_get_trace_record_type census_get_trace_record_import;
|
63
73
|
census_trace_scan_end_type census_trace_scan_end_import;
|
74
|
+
census_define_resource_type census_define_resource_import;
|
75
|
+
census_delete_resource_type census_delete_resource_import;
|
76
|
+
census_resource_id_type census_resource_id_import;
|
64
77
|
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
78
|
grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import;
|
74
79
|
grpc_compression_algorithm_name_type grpc_compression_algorithm_name_import;
|
75
80
|
grpc_compression_algorithm_for_level_type grpc_compression_algorithm_for_level_import;
|
@@ -85,6 +90,7 @@ grpc_register_plugin_type grpc_register_plugin_import;
|
|
85
90
|
grpc_init_type grpc_init_import;
|
86
91
|
grpc_shutdown_type grpc_shutdown_import;
|
87
92
|
grpc_version_string_type grpc_version_string_import;
|
93
|
+
grpc_g_stands_for_type grpc_g_stands_for_import;
|
88
94
|
grpc_completion_queue_create_type grpc_completion_queue_create_import;
|
89
95
|
grpc_completion_queue_next_type grpc_completion_queue_next_import;
|
90
96
|
grpc_completion_queue_pluck_type grpc_completion_queue_pluck_import;
|
@@ -101,9 +107,11 @@ grpc_channel_register_call_type grpc_channel_register_call_import;
|
|
101
107
|
grpc_channel_create_registered_call_type grpc_channel_create_registered_call_import;
|
102
108
|
grpc_call_start_batch_type grpc_call_start_batch_import;
|
103
109
|
grpc_call_get_peer_type grpc_call_get_peer_import;
|
110
|
+
grpc_call_set_load_reporting_cost_context_type grpc_call_set_load_reporting_cost_context_import;
|
104
111
|
grpc_census_call_set_context_type grpc_census_call_set_context_import;
|
105
112
|
grpc_census_call_get_context_type grpc_census_call_get_context_import;
|
106
113
|
grpc_channel_get_target_type grpc_channel_get_target_import;
|
114
|
+
grpc_channel_get_info_type grpc_channel_get_info_import;
|
107
115
|
grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
|
108
116
|
grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
|
109
117
|
grpc_channel_destroy_type grpc_channel_destroy_import;
|
@@ -126,6 +134,11 @@ grpc_header_key_is_legal_type grpc_header_key_is_legal_import;
|
|
126
134
|
grpc_header_nonbin_value_is_legal_type grpc_header_nonbin_value_is_legal_import;
|
127
135
|
grpc_is_binary_header_type grpc_is_binary_header_import;
|
128
136
|
grpc_call_error_to_string_type grpc_call_error_to_string_import;
|
137
|
+
grpc_resource_quota_create_type grpc_resource_quota_create_import;
|
138
|
+
grpc_resource_quota_ref_type grpc_resource_quota_ref_import;
|
139
|
+
grpc_resource_quota_unref_type grpc_resource_quota_unref_import;
|
140
|
+
grpc_resource_quota_resize_type grpc_resource_quota_resize_import;
|
141
|
+
grpc_resource_quota_arg_vtable_type grpc_resource_quota_arg_vtable_import;
|
129
142
|
grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
|
130
143
|
grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
|
131
144
|
grpc_use_signal_type grpc_use_signal_import;
|
@@ -161,100 +174,59 @@ grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex
|
|
161
174
|
grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
|
162
175
|
grpc_call_set_credentials_type grpc_call_set_credentials_import;
|
163
176
|
grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
|
177
|
+
grpc_slice_ref_type grpc_slice_ref_import;
|
178
|
+
grpc_slice_unref_type grpc_slice_unref_import;
|
179
|
+
grpc_slice_new_type grpc_slice_new_import;
|
180
|
+
grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
|
181
|
+
grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
|
182
|
+
grpc_slice_malloc_type grpc_slice_malloc_import;
|
183
|
+
grpc_slice_intern_type grpc_slice_intern_import;
|
184
|
+
grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
|
185
|
+
grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
|
186
|
+
grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
|
187
|
+
grpc_slice_from_static_buffer_type grpc_slice_from_static_buffer_import;
|
188
|
+
grpc_slice_sub_type grpc_slice_sub_import;
|
189
|
+
grpc_slice_sub_no_ref_type grpc_slice_sub_no_ref_import;
|
190
|
+
grpc_slice_split_tail_type grpc_slice_split_tail_import;
|
191
|
+
grpc_slice_split_head_type grpc_slice_split_head_import;
|
192
|
+
grpc_empty_slice_type grpc_empty_slice_import;
|
193
|
+
grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import;
|
194
|
+
grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
|
195
|
+
grpc_slice_eq_type grpc_slice_eq_import;
|
196
|
+
grpc_slice_cmp_type grpc_slice_cmp_import;
|
197
|
+
grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
|
198
|
+
grpc_slice_buf_cmp_type grpc_slice_buf_cmp_import;
|
199
|
+
grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
|
200
|
+
grpc_slice_rchr_type grpc_slice_rchr_import;
|
201
|
+
grpc_slice_chr_type grpc_slice_chr_import;
|
202
|
+
grpc_slice_slice_type grpc_slice_slice_import;
|
203
|
+
grpc_slice_hash_type grpc_slice_hash_import;
|
204
|
+
grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
|
205
|
+
grpc_slice_dup_type grpc_slice_dup_import;
|
206
|
+
grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
|
207
|
+
grpc_slice_buffer_init_type grpc_slice_buffer_init_import;
|
208
|
+
grpc_slice_buffer_destroy_type grpc_slice_buffer_destroy_import;
|
209
|
+
grpc_slice_buffer_add_type grpc_slice_buffer_add_import;
|
210
|
+
grpc_slice_buffer_add_indexed_type grpc_slice_buffer_add_indexed_import;
|
211
|
+
grpc_slice_buffer_addn_type grpc_slice_buffer_addn_import;
|
212
|
+
grpc_slice_buffer_tiny_add_type grpc_slice_buffer_tiny_add_import;
|
213
|
+
grpc_slice_buffer_pop_type grpc_slice_buffer_pop_import;
|
214
|
+
grpc_slice_buffer_reset_and_unref_type grpc_slice_buffer_reset_and_unref_import;
|
215
|
+
grpc_slice_buffer_swap_type grpc_slice_buffer_swap_import;
|
216
|
+
grpc_slice_buffer_move_into_type grpc_slice_buffer_move_into_import;
|
217
|
+
grpc_slice_buffer_trim_end_type grpc_slice_buffer_trim_end_import;
|
218
|
+
grpc_slice_buffer_move_first_type grpc_slice_buffer_move_first_import;
|
219
|
+
grpc_slice_buffer_move_first_into_buffer_type grpc_slice_buffer_move_first_into_buffer_import;
|
220
|
+
grpc_slice_buffer_take_first_type grpc_slice_buffer_take_first_import;
|
221
|
+
grpc_slice_buffer_undo_take_first_type grpc_slice_buffer_undo_take_first_import;
|
164
222
|
gpr_malloc_type gpr_malloc_import;
|
223
|
+
gpr_zalloc_type gpr_zalloc_import;
|
165
224
|
gpr_free_type gpr_free_import;
|
166
225
|
gpr_realloc_type gpr_realloc_import;
|
167
226
|
gpr_malloc_aligned_type gpr_malloc_aligned_import;
|
168
227
|
gpr_free_aligned_type gpr_free_aligned_import;
|
169
228
|
gpr_set_allocation_functions_type gpr_set_allocation_functions_import;
|
170
229
|
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;
|
183
|
-
gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
|
184
|
-
gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
|
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;
|
189
|
-
gpr_slice_new_with_len_type gpr_slice_new_with_len_import;
|
190
|
-
gpr_slice_malloc_type gpr_slice_malloc_import;
|
191
|
-
gpr_slice_from_copied_string_type gpr_slice_from_copied_string_import;
|
192
|
-
gpr_slice_from_copied_buffer_type gpr_slice_from_copied_buffer_import;
|
193
|
-
gpr_slice_from_static_string_type gpr_slice_from_static_string_import;
|
194
|
-
gpr_slice_sub_type gpr_slice_sub_import;
|
195
|
-
gpr_slice_sub_no_ref_type gpr_slice_sub_no_ref_import;
|
196
|
-
gpr_slice_split_tail_type gpr_slice_split_tail_import;
|
197
|
-
gpr_slice_split_head_type gpr_slice_split_head_import;
|
198
|
-
gpr_empty_slice_type gpr_empty_slice_import;
|
199
|
-
gpr_slice_cmp_type gpr_slice_cmp_import;
|
200
|
-
gpr_slice_str_cmp_type gpr_slice_str_cmp_import;
|
201
|
-
gpr_slice_buffer_init_type gpr_slice_buffer_init_import;
|
202
|
-
gpr_slice_buffer_destroy_type gpr_slice_buffer_destroy_import;
|
203
|
-
gpr_slice_buffer_add_type gpr_slice_buffer_add_import;
|
204
|
-
gpr_slice_buffer_add_indexed_type gpr_slice_buffer_add_indexed_import;
|
205
|
-
gpr_slice_buffer_addn_type gpr_slice_buffer_addn_import;
|
206
|
-
gpr_slice_buffer_tiny_add_type gpr_slice_buffer_tiny_add_import;
|
207
|
-
gpr_slice_buffer_pop_type gpr_slice_buffer_pop_import;
|
208
|
-
gpr_slice_buffer_reset_and_unref_type gpr_slice_buffer_reset_and_unref_import;
|
209
|
-
gpr_slice_buffer_swap_type gpr_slice_buffer_swap_import;
|
210
|
-
gpr_slice_buffer_move_into_type gpr_slice_buffer_move_into_import;
|
211
|
-
gpr_slice_buffer_trim_end_type gpr_slice_buffer_trim_end_import;
|
212
|
-
gpr_slice_buffer_move_first_type gpr_slice_buffer_move_first_import;
|
213
|
-
gpr_slice_buffer_take_first_type gpr_slice_buffer_take_first_import;
|
214
|
-
gpr_mu_init_type gpr_mu_init_import;
|
215
|
-
gpr_mu_destroy_type gpr_mu_destroy_import;
|
216
|
-
gpr_mu_lock_type gpr_mu_lock_import;
|
217
|
-
gpr_mu_unlock_type gpr_mu_unlock_import;
|
218
|
-
gpr_mu_trylock_type gpr_mu_trylock_import;
|
219
|
-
gpr_cv_init_type gpr_cv_init_import;
|
220
|
-
gpr_cv_destroy_type gpr_cv_destroy_import;
|
221
|
-
gpr_cv_wait_type gpr_cv_wait_import;
|
222
|
-
gpr_cv_signal_type gpr_cv_signal_import;
|
223
|
-
gpr_cv_broadcast_type gpr_cv_broadcast_import;
|
224
|
-
gpr_once_init_type gpr_once_init_import;
|
225
|
-
gpr_event_init_type gpr_event_init_import;
|
226
|
-
gpr_event_set_type gpr_event_set_import;
|
227
|
-
gpr_event_get_type gpr_event_get_import;
|
228
|
-
gpr_event_wait_type gpr_event_wait_import;
|
229
|
-
gpr_ref_init_type gpr_ref_init_import;
|
230
|
-
gpr_ref_type gpr_ref_import;
|
231
|
-
gpr_ref_non_zero_type gpr_ref_non_zero_import;
|
232
|
-
gpr_refn_type gpr_refn_import;
|
233
|
-
gpr_unref_type gpr_unref_import;
|
234
|
-
gpr_stats_init_type gpr_stats_init_import;
|
235
|
-
gpr_stats_inc_type gpr_stats_inc_import;
|
236
|
-
gpr_stats_read_type gpr_stats_read_import;
|
237
|
-
gpr_time_0_type gpr_time_0_import;
|
238
|
-
gpr_inf_future_type gpr_inf_future_import;
|
239
|
-
gpr_inf_past_type gpr_inf_past_import;
|
240
|
-
gpr_time_init_type gpr_time_init_import;
|
241
|
-
gpr_now_type gpr_now_import;
|
242
|
-
gpr_convert_clock_type_type gpr_convert_clock_type_import;
|
243
|
-
gpr_time_cmp_type gpr_time_cmp_import;
|
244
|
-
gpr_time_max_type gpr_time_max_import;
|
245
|
-
gpr_time_min_type gpr_time_min_import;
|
246
|
-
gpr_time_add_type gpr_time_add_import;
|
247
|
-
gpr_time_sub_type gpr_time_sub_import;
|
248
|
-
gpr_time_from_micros_type gpr_time_from_micros_import;
|
249
|
-
gpr_time_from_nanos_type gpr_time_from_nanos_import;
|
250
|
-
gpr_time_from_millis_type gpr_time_from_millis_import;
|
251
|
-
gpr_time_from_seconds_type gpr_time_from_seconds_import;
|
252
|
-
gpr_time_from_minutes_type gpr_time_from_minutes_import;
|
253
|
-
gpr_time_from_hours_type gpr_time_from_hours_import;
|
254
|
-
gpr_time_to_millis_type gpr_time_to_millis_import;
|
255
|
-
gpr_time_similar_type gpr_time_similar_import;
|
256
|
-
gpr_sleep_until_type gpr_sleep_until_import;
|
257
|
-
gpr_timespec_to_micros_type gpr_timespec_to_micros_import;
|
258
230
|
gpr_avl_create_type gpr_avl_create_import;
|
259
231
|
gpr_avl_ref_type gpr_avl_ref_import;
|
260
232
|
gpr_avl_unref_type gpr_avl_unref_import;
|
@@ -291,6 +263,11 @@ gpr_histogram_get_contents_type gpr_histogram_get_contents_import;
|
|
291
263
|
gpr_histogram_merge_contents_type gpr_histogram_merge_contents_import;
|
292
264
|
gpr_join_host_port_type gpr_join_host_port_import;
|
293
265
|
gpr_split_host_port_type gpr_split_host_port_import;
|
266
|
+
gpr_log_type gpr_log_import;
|
267
|
+
gpr_log_message_type gpr_log_message_import;
|
268
|
+
gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
|
269
|
+
gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
|
270
|
+
gpr_set_log_function_type gpr_set_log_function_import;
|
294
271
|
gpr_format_message_type gpr_format_message_import;
|
295
272
|
gpr_strdup_type gpr_strdup_import;
|
296
273
|
gpr_asprintf_type gpr_asprintf_import;
|
@@ -299,6 +276,29 @@ gpr_subprocess_create_type gpr_subprocess_create_import;
|
|
299
276
|
gpr_subprocess_destroy_type gpr_subprocess_destroy_import;
|
300
277
|
gpr_subprocess_join_type gpr_subprocess_join_import;
|
301
278
|
gpr_subprocess_interrupt_type gpr_subprocess_interrupt_import;
|
279
|
+
gpr_mu_init_type gpr_mu_init_import;
|
280
|
+
gpr_mu_destroy_type gpr_mu_destroy_import;
|
281
|
+
gpr_mu_lock_type gpr_mu_lock_import;
|
282
|
+
gpr_mu_unlock_type gpr_mu_unlock_import;
|
283
|
+
gpr_mu_trylock_type gpr_mu_trylock_import;
|
284
|
+
gpr_cv_init_type gpr_cv_init_import;
|
285
|
+
gpr_cv_destroy_type gpr_cv_destroy_import;
|
286
|
+
gpr_cv_wait_type gpr_cv_wait_import;
|
287
|
+
gpr_cv_signal_type gpr_cv_signal_import;
|
288
|
+
gpr_cv_broadcast_type gpr_cv_broadcast_import;
|
289
|
+
gpr_once_init_type gpr_once_init_import;
|
290
|
+
gpr_event_init_type gpr_event_init_import;
|
291
|
+
gpr_event_set_type gpr_event_set_import;
|
292
|
+
gpr_event_get_type gpr_event_get_import;
|
293
|
+
gpr_event_wait_type gpr_event_wait_import;
|
294
|
+
gpr_ref_init_type gpr_ref_init_import;
|
295
|
+
gpr_ref_type gpr_ref_import;
|
296
|
+
gpr_ref_non_zero_type gpr_ref_non_zero_import;
|
297
|
+
gpr_refn_type gpr_refn_import;
|
298
|
+
gpr_unref_type gpr_unref_import;
|
299
|
+
gpr_stats_init_type gpr_stats_init_import;
|
300
|
+
gpr_stats_inc_type gpr_stats_inc_import;
|
301
|
+
gpr_stats_read_type gpr_stats_read_import;
|
302
302
|
gpr_thd_new_type gpr_thd_new_import;
|
303
303
|
gpr_thd_options_default_type gpr_thd_options_default_import;
|
304
304
|
gpr_thd_options_set_detached_type gpr_thd_options_set_detached_import;
|
@@ -307,8 +307,39 @@ gpr_thd_options_is_detached_type gpr_thd_options_is_detached_import;
|
|
307
307
|
gpr_thd_options_is_joinable_type gpr_thd_options_is_joinable_import;
|
308
308
|
gpr_thd_currentid_type gpr_thd_currentid_import;
|
309
309
|
gpr_thd_join_type gpr_thd_join_import;
|
310
|
+
gpr_time_0_type gpr_time_0_import;
|
311
|
+
gpr_inf_future_type gpr_inf_future_import;
|
312
|
+
gpr_inf_past_type gpr_inf_past_import;
|
313
|
+
gpr_time_init_type gpr_time_init_import;
|
314
|
+
gpr_now_type gpr_now_import;
|
315
|
+
gpr_convert_clock_type_type gpr_convert_clock_type_import;
|
316
|
+
gpr_time_cmp_type gpr_time_cmp_import;
|
317
|
+
gpr_time_max_type gpr_time_max_import;
|
318
|
+
gpr_time_min_type gpr_time_min_import;
|
319
|
+
gpr_time_add_type gpr_time_add_import;
|
320
|
+
gpr_time_sub_type gpr_time_sub_import;
|
321
|
+
gpr_time_from_micros_type gpr_time_from_micros_import;
|
322
|
+
gpr_time_from_nanos_type gpr_time_from_nanos_import;
|
323
|
+
gpr_time_from_millis_type gpr_time_from_millis_import;
|
324
|
+
gpr_time_from_seconds_type gpr_time_from_seconds_import;
|
325
|
+
gpr_time_from_minutes_type gpr_time_from_minutes_import;
|
326
|
+
gpr_time_from_hours_type gpr_time_from_hours_import;
|
327
|
+
gpr_time_to_millis_type gpr_time_to_millis_import;
|
328
|
+
gpr_time_similar_type gpr_time_similar_import;
|
329
|
+
gpr_sleep_until_type gpr_sleep_until_import;
|
330
|
+
gpr_timespec_to_micros_type gpr_timespec_to_micros_import;
|
310
331
|
|
311
332
|
void grpc_rb_load_imports(HMODULE library) {
|
333
|
+
grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
|
334
|
+
grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
|
335
|
+
grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
|
336
|
+
grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length");
|
337
|
+
grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy");
|
338
|
+
grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init");
|
339
|
+
grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy");
|
340
|
+
grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next");
|
341
|
+
grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall");
|
342
|
+
grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader");
|
312
343
|
census_initialize_import = (census_initialize_type) GetProcAddress(library, "census_initialize");
|
313
344
|
census_shutdown_import = (census_shutdown_type) GetProcAddress(library, "census_shutdown");
|
314
345
|
census_supported_import = (census_supported_type) GetProcAddress(library, "census_supported");
|
@@ -333,15 +364,10 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
333
364
|
census_trace_scan_start_import = (census_trace_scan_start_type) GetProcAddress(library, "census_trace_scan_start");
|
334
365
|
census_get_trace_record_import = (census_get_trace_record_type) GetProcAddress(library, "census_get_trace_record");
|
335
366
|
census_trace_scan_end_import = (census_trace_scan_end_type) GetProcAddress(library, "census_trace_scan_end");
|
367
|
+
census_define_resource_import = (census_define_resource_type) GetProcAddress(library, "census_define_resource");
|
368
|
+
census_delete_resource_import = (census_delete_resource_type) GetProcAddress(library, "census_delete_resource");
|
369
|
+
census_resource_id_import = (census_resource_id_type) GetProcAddress(library, "census_resource_id");
|
336
370
|
census_record_values_import = (census_record_values_type) GetProcAddress(library, "census_record_values");
|
337
|
-
census_view_create_import = (census_view_create_type) GetProcAddress(library, "census_view_create");
|
338
|
-
census_view_delete_import = (census_view_delete_type) GetProcAddress(library, "census_view_delete");
|
339
|
-
census_view_metric_import = (census_view_metric_type) GetProcAddress(library, "census_view_metric");
|
340
|
-
census_view_naggregations_import = (census_view_naggregations_type) GetProcAddress(library, "census_view_naggregations");
|
341
|
-
census_view_tags_import = (census_view_tags_type) GetProcAddress(library, "census_view_tags");
|
342
|
-
census_view_aggregrations_import = (census_view_aggregrations_type) GetProcAddress(library, "census_view_aggregrations");
|
343
|
-
census_view_get_data_import = (census_view_get_data_type) GetProcAddress(library, "census_view_get_data");
|
344
|
-
census_view_reset_import = (census_view_reset_type) GetProcAddress(library, "census_view_reset");
|
345
371
|
grpc_compression_algorithm_parse_import = (grpc_compression_algorithm_parse_type) GetProcAddress(library, "grpc_compression_algorithm_parse");
|
346
372
|
grpc_compression_algorithm_name_import = (grpc_compression_algorithm_name_type) GetProcAddress(library, "grpc_compression_algorithm_name");
|
347
373
|
grpc_compression_algorithm_for_level_import = (grpc_compression_algorithm_for_level_type) GetProcAddress(library, "grpc_compression_algorithm_for_level");
|
@@ -357,6 +383,7 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
357
383
|
grpc_init_import = (grpc_init_type) GetProcAddress(library, "grpc_init");
|
358
384
|
grpc_shutdown_import = (grpc_shutdown_type) GetProcAddress(library, "grpc_shutdown");
|
359
385
|
grpc_version_string_import = (grpc_version_string_type) GetProcAddress(library, "grpc_version_string");
|
386
|
+
grpc_g_stands_for_import = (grpc_g_stands_for_type) GetProcAddress(library, "grpc_g_stands_for");
|
360
387
|
grpc_completion_queue_create_import = (grpc_completion_queue_create_type) GetProcAddress(library, "grpc_completion_queue_create");
|
361
388
|
grpc_completion_queue_next_import = (grpc_completion_queue_next_type) GetProcAddress(library, "grpc_completion_queue_next");
|
362
389
|
grpc_completion_queue_pluck_import = (grpc_completion_queue_pluck_type) GetProcAddress(library, "grpc_completion_queue_pluck");
|
@@ -373,9 +400,11 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
373
400
|
grpc_channel_create_registered_call_import = (grpc_channel_create_registered_call_type) GetProcAddress(library, "grpc_channel_create_registered_call");
|
374
401
|
grpc_call_start_batch_import = (grpc_call_start_batch_type) GetProcAddress(library, "grpc_call_start_batch");
|
375
402
|
grpc_call_get_peer_import = (grpc_call_get_peer_type) GetProcAddress(library, "grpc_call_get_peer");
|
403
|
+
grpc_call_set_load_reporting_cost_context_import = (grpc_call_set_load_reporting_cost_context_type) GetProcAddress(library, "grpc_call_set_load_reporting_cost_context");
|
376
404
|
grpc_census_call_set_context_import = (grpc_census_call_set_context_type) GetProcAddress(library, "grpc_census_call_set_context");
|
377
405
|
grpc_census_call_get_context_import = (grpc_census_call_get_context_type) GetProcAddress(library, "grpc_census_call_get_context");
|
378
406
|
grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target");
|
407
|
+
grpc_channel_get_info_import = (grpc_channel_get_info_type) GetProcAddress(library, "grpc_channel_get_info");
|
379
408
|
grpc_insecure_channel_create_import = (grpc_insecure_channel_create_type) GetProcAddress(library, "grpc_insecure_channel_create");
|
380
409
|
grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create");
|
381
410
|
grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
|
@@ -398,6 +427,11 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
398
427
|
grpc_header_nonbin_value_is_legal_import = (grpc_header_nonbin_value_is_legal_type) GetProcAddress(library, "grpc_header_nonbin_value_is_legal");
|
399
428
|
grpc_is_binary_header_import = (grpc_is_binary_header_type) GetProcAddress(library, "grpc_is_binary_header");
|
400
429
|
grpc_call_error_to_string_import = (grpc_call_error_to_string_type) GetProcAddress(library, "grpc_call_error_to_string");
|
430
|
+
grpc_resource_quota_create_import = (grpc_resource_quota_create_type) GetProcAddress(library, "grpc_resource_quota_create");
|
431
|
+
grpc_resource_quota_ref_import = (grpc_resource_quota_ref_type) GetProcAddress(library, "grpc_resource_quota_ref");
|
432
|
+
grpc_resource_quota_unref_import = (grpc_resource_quota_unref_type) GetProcAddress(library, "grpc_resource_quota_unref");
|
433
|
+
grpc_resource_quota_resize_import = (grpc_resource_quota_resize_type) GetProcAddress(library, "grpc_resource_quota_resize");
|
434
|
+
grpc_resource_quota_arg_vtable_import = (grpc_resource_quota_arg_vtable_type) GetProcAddress(library, "grpc_resource_quota_arg_vtable");
|
401
435
|
grpc_insecure_channel_create_from_fd_import = (grpc_insecure_channel_create_from_fd_type) GetProcAddress(library, "grpc_insecure_channel_create_from_fd");
|
402
436
|
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");
|
403
437
|
grpc_use_signal_import = (grpc_use_signal_type) GetProcAddress(library, "grpc_use_signal");
|
@@ -433,100 +467,59 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
433
467
|
grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port");
|
434
468
|
grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
|
435
469
|
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");
|
470
|
+
grpc_slice_ref_import = (grpc_slice_ref_type) GetProcAddress(library, "grpc_slice_ref");
|
471
|
+
grpc_slice_unref_import = (grpc_slice_unref_type) GetProcAddress(library, "grpc_slice_unref");
|
472
|
+
grpc_slice_new_import = (grpc_slice_new_type) GetProcAddress(library, "grpc_slice_new");
|
473
|
+
grpc_slice_new_with_user_data_import = (grpc_slice_new_with_user_data_type) GetProcAddress(library, "grpc_slice_new_with_user_data");
|
474
|
+
grpc_slice_new_with_len_import = (grpc_slice_new_with_len_type) GetProcAddress(library, "grpc_slice_new_with_len");
|
475
|
+
grpc_slice_malloc_import = (grpc_slice_malloc_type) GetProcAddress(library, "grpc_slice_malloc");
|
476
|
+
grpc_slice_intern_import = (grpc_slice_intern_type) GetProcAddress(library, "grpc_slice_intern");
|
477
|
+
grpc_slice_from_copied_string_import = (grpc_slice_from_copied_string_type) GetProcAddress(library, "grpc_slice_from_copied_string");
|
478
|
+
grpc_slice_from_copied_buffer_import = (grpc_slice_from_copied_buffer_type) GetProcAddress(library, "grpc_slice_from_copied_buffer");
|
479
|
+
grpc_slice_from_static_string_import = (grpc_slice_from_static_string_type) GetProcAddress(library, "grpc_slice_from_static_string");
|
480
|
+
grpc_slice_from_static_buffer_import = (grpc_slice_from_static_buffer_type) GetProcAddress(library, "grpc_slice_from_static_buffer");
|
481
|
+
grpc_slice_sub_import = (grpc_slice_sub_type) GetProcAddress(library, "grpc_slice_sub");
|
482
|
+
grpc_slice_sub_no_ref_import = (grpc_slice_sub_no_ref_type) GetProcAddress(library, "grpc_slice_sub_no_ref");
|
483
|
+
grpc_slice_split_tail_import = (grpc_slice_split_tail_type) GetProcAddress(library, "grpc_slice_split_tail");
|
484
|
+
grpc_slice_split_head_import = (grpc_slice_split_head_type) GetProcAddress(library, "grpc_slice_split_head");
|
485
|
+
grpc_empty_slice_import = (grpc_empty_slice_type) GetProcAddress(library, "grpc_empty_slice");
|
486
|
+
grpc_slice_default_hash_impl_import = (grpc_slice_default_hash_impl_type) GetProcAddress(library, "grpc_slice_default_hash_impl");
|
487
|
+
grpc_slice_default_eq_impl_import = (grpc_slice_default_eq_impl_type) GetProcAddress(library, "grpc_slice_default_eq_impl");
|
488
|
+
grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq");
|
489
|
+
grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp");
|
490
|
+
grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp");
|
491
|
+
grpc_slice_buf_cmp_import = (grpc_slice_buf_cmp_type) GetProcAddress(library, "grpc_slice_buf_cmp");
|
492
|
+
grpc_slice_buf_start_eq_import = (grpc_slice_buf_start_eq_type) GetProcAddress(library, "grpc_slice_buf_start_eq");
|
493
|
+
grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr");
|
494
|
+
grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr");
|
495
|
+
grpc_slice_slice_import = (grpc_slice_slice_type) GetProcAddress(library, "grpc_slice_slice");
|
496
|
+
grpc_slice_hash_import = (grpc_slice_hash_type) GetProcAddress(library, "grpc_slice_hash");
|
497
|
+
grpc_slice_is_equivalent_import = (grpc_slice_is_equivalent_type) GetProcAddress(library, "grpc_slice_is_equivalent");
|
498
|
+
grpc_slice_dup_import = (grpc_slice_dup_type) GetProcAddress(library, "grpc_slice_dup");
|
499
|
+
grpc_slice_to_c_string_import = (grpc_slice_to_c_string_type) GetProcAddress(library, "grpc_slice_to_c_string");
|
500
|
+
grpc_slice_buffer_init_import = (grpc_slice_buffer_init_type) GetProcAddress(library, "grpc_slice_buffer_init");
|
501
|
+
grpc_slice_buffer_destroy_import = (grpc_slice_buffer_destroy_type) GetProcAddress(library, "grpc_slice_buffer_destroy");
|
502
|
+
grpc_slice_buffer_add_import = (grpc_slice_buffer_add_type) GetProcAddress(library, "grpc_slice_buffer_add");
|
503
|
+
grpc_slice_buffer_add_indexed_import = (grpc_slice_buffer_add_indexed_type) GetProcAddress(library, "grpc_slice_buffer_add_indexed");
|
504
|
+
grpc_slice_buffer_addn_import = (grpc_slice_buffer_addn_type) GetProcAddress(library, "grpc_slice_buffer_addn");
|
505
|
+
grpc_slice_buffer_tiny_add_import = (grpc_slice_buffer_tiny_add_type) GetProcAddress(library, "grpc_slice_buffer_tiny_add");
|
506
|
+
grpc_slice_buffer_pop_import = (grpc_slice_buffer_pop_type) GetProcAddress(library, "grpc_slice_buffer_pop");
|
507
|
+
grpc_slice_buffer_reset_and_unref_import = (grpc_slice_buffer_reset_and_unref_type) GetProcAddress(library, "grpc_slice_buffer_reset_and_unref");
|
508
|
+
grpc_slice_buffer_swap_import = (grpc_slice_buffer_swap_type) GetProcAddress(library, "grpc_slice_buffer_swap");
|
509
|
+
grpc_slice_buffer_move_into_import = (grpc_slice_buffer_move_into_type) GetProcAddress(library, "grpc_slice_buffer_move_into");
|
510
|
+
grpc_slice_buffer_trim_end_import = (grpc_slice_buffer_trim_end_type) GetProcAddress(library, "grpc_slice_buffer_trim_end");
|
511
|
+
grpc_slice_buffer_move_first_import = (grpc_slice_buffer_move_first_type) GetProcAddress(library, "grpc_slice_buffer_move_first");
|
512
|
+
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");
|
513
|
+
grpc_slice_buffer_take_first_import = (grpc_slice_buffer_take_first_type) GetProcAddress(library, "grpc_slice_buffer_take_first");
|
514
|
+
grpc_slice_buffer_undo_take_first_import = (grpc_slice_buffer_undo_take_first_type) GetProcAddress(library, "grpc_slice_buffer_undo_take_first");
|
436
515
|
gpr_malloc_import = (gpr_malloc_type) GetProcAddress(library, "gpr_malloc");
|
516
|
+
gpr_zalloc_import = (gpr_zalloc_type) GetProcAddress(library, "gpr_zalloc");
|
437
517
|
gpr_free_import = (gpr_free_type) GetProcAddress(library, "gpr_free");
|
438
518
|
gpr_realloc_import = (gpr_realloc_type) GetProcAddress(library, "gpr_realloc");
|
439
519
|
gpr_malloc_aligned_import = (gpr_malloc_aligned_type) GetProcAddress(library, "gpr_malloc_aligned");
|
440
520
|
gpr_free_aligned_import = (gpr_free_aligned_type) GetProcAddress(library, "gpr_free_aligned");
|
441
521
|
gpr_set_allocation_functions_import = (gpr_set_allocation_functions_type) GetProcAddress(library, "gpr_set_allocation_functions");
|
442
522
|
gpr_get_allocation_functions_import = (gpr_get_allocation_functions_type) GetProcAddress(library, "gpr_get_allocation_functions");
|
443
|
-
grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
|
444
|
-
grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
|
445
|
-
grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
|
446
|
-
grpc_byte_buffer_length_import = (grpc_byte_buffer_length_type) GetProcAddress(library, "grpc_byte_buffer_length");
|
447
|
-
grpc_byte_buffer_destroy_import = (grpc_byte_buffer_destroy_type) GetProcAddress(library, "grpc_byte_buffer_destroy");
|
448
|
-
grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init");
|
449
|
-
grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy");
|
450
|
-
grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next");
|
451
|
-
grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall");
|
452
|
-
grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader");
|
453
|
-
gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log");
|
454
|
-
gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message");
|
455
|
-
gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity");
|
456
|
-
gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init");
|
457
|
-
gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function");
|
458
|
-
gpr_slice_ref_import = (gpr_slice_ref_type) GetProcAddress(library, "gpr_slice_ref");
|
459
|
-
gpr_slice_unref_import = (gpr_slice_unref_type) GetProcAddress(library, "gpr_slice_unref");
|
460
|
-
gpr_slice_new_import = (gpr_slice_new_type) GetProcAddress(library, "gpr_slice_new");
|
461
|
-
gpr_slice_new_with_len_import = (gpr_slice_new_with_len_type) GetProcAddress(library, "gpr_slice_new_with_len");
|
462
|
-
gpr_slice_malloc_import = (gpr_slice_malloc_type) GetProcAddress(library, "gpr_slice_malloc");
|
463
|
-
gpr_slice_from_copied_string_import = (gpr_slice_from_copied_string_type) GetProcAddress(library, "gpr_slice_from_copied_string");
|
464
|
-
gpr_slice_from_copied_buffer_import = (gpr_slice_from_copied_buffer_type) GetProcAddress(library, "gpr_slice_from_copied_buffer");
|
465
|
-
gpr_slice_from_static_string_import = (gpr_slice_from_static_string_type) GetProcAddress(library, "gpr_slice_from_static_string");
|
466
|
-
gpr_slice_sub_import = (gpr_slice_sub_type) GetProcAddress(library, "gpr_slice_sub");
|
467
|
-
gpr_slice_sub_no_ref_import = (gpr_slice_sub_no_ref_type) GetProcAddress(library, "gpr_slice_sub_no_ref");
|
468
|
-
gpr_slice_split_tail_import = (gpr_slice_split_tail_type) GetProcAddress(library, "gpr_slice_split_tail");
|
469
|
-
gpr_slice_split_head_import = (gpr_slice_split_head_type) GetProcAddress(library, "gpr_slice_split_head");
|
470
|
-
gpr_empty_slice_import = (gpr_empty_slice_type) GetProcAddress(library, "gpr_empty_slice");
|
471
|
-
gpr_slice_cmp_import = (gpr_slice_cmp_type) GetProcAddress(library, "gpr_slice_cmp");
|
472
|
-
gpr_slice_str_cmp_import = (gpr_slice_str_cmp_type) GetProcAddress(library, "gpr_slice_str_cmp");
|
473
|
-
gpr_slice_buffer_init_import = (gpr_slice_buffer_init_type) GetProcAddress(library, "gpr_slice_buffer_init");
|
474
|
-
gpr_slice_buffer_destroy_import = (gpr_slice_buffer_destroy_type) GetProcAddress(library, "gpr_slice_buffer_destroy");
|
475
|
-
gpr_slice_buffer_add_import = (gpr_slice_buffer_add_type) GetProcAddress(library, "gpr_slice_buffer_add");
|
476
|
-
gpr_slice_buffer_add_indexed_import = (gpr_slice_buffer_add_indexed_type) GetProcAddress(library, "gpr_slice_buffer_add_indexed");
|
477
|
-
gpr_slice_buffer_addn_import = (gpr_slice_buffer_addn_type) GetProcAddress(library, "gpr_slice_buffer_addn");
|
478
|
-
gpr_slice_buffer_tiny_add_import = (gpr_slice_buffer_tiny_add_type) GetProcAddress(library, "gpr_slice_buffer_tiny_add");
|
479
|
-
gpr_slice_buffer_pop_import = (gpr_slice_buffer_pop_type) GetProcAddress(library, "gpr_slice_buffer_pop");
|
480
|
-
gpr_slice_buffer_reset_and_unref_import = (gpr_slice_buffer_reset_and_unref_type) GetProcAddress(library, "gpr_slice_buffer_reset_and_unref");
|
481
|
-
gpr_slice_buffer_swap_import = (gpr_slice_buffer_swap_type) GetProcAddress(library, "gpr_slice_buffer_swap");
|
482
|
-
gpr_slice_buffer_move_into_import = (gpr_slice_buffer_move_into_type) GetProcAddress(library, "gpr_slice_buffer_move_into");
|
483
|
-
gpr_slice_buffer_trim_end_import = (gpr_slice_buffer_trim_end_type) GetProcAddress(library, "gpr_slice_buffer_trim_end");
|
484
|
-
gpr_slice_buffer_move_first_import = (gpr_slice_buffer_move_first_type) GetProcAddress(library, "gpr_slice_buffer_move_first");
|
485
|
-
gpr_slice_buffer_take_first_import = (gpr_slice_buffer_take_first_type) GetProcAddress(library, "gpr_slice_buffer_take_first");
|
486
|
-
gpr_mu_init_import = (gpr_mu_init_type) GetProcAddress(library, "gpr_mu_init");
|
487
|
-
gpr_mu_destroy_import = (gpr_mu_destroy_type) GetProcAddress(library, "gpr_mu_destroy");
|
488
|
-
gpr_mu_lock_import = (gpr_mu_lock_type) GetProcAddress(library, "gpr_mu_lock");
|
489
|
-
gpr_mu_unlock_import = (gpr_mu_unlock_type) GetProcAddress(library, "gpr_mu_unlock");
|
490
|
-
gpr_mu_trylock_import = (gpr_mu_trylock_type) GetProcAddress(library, "gpr_mu_trylock");
|
491
|
-
gpr_cv_init_import = (gpr_cv_init_type) GetProcAddress(library, "gpr_cv_init");
|
492
|
-
gpr_cv_destroy_import = (gpr_cv_destroy_type) GetProcAddress(library, "gpr_cv_destroy");
|
493
|
-
gpr_cv_wait_import = (gpr_cv_wait_type) GetProcAddress(library, "gpr_cv_wait");
|
494
|
-
gpr_cv_signal_import = (gpr_cv_signal_type) GetProcAddress(library, "gpr_cv_signal");
|
495
|
-
gpr_cv_broadcast_import = (gpr_cv_broadcast_type) GetProcAddress(library, "gpr_cv_broadcast");
|
496
|
-
gpr_once_init_import = (gpr_once_init_type) GetProcAddress(library, "gpr_once_init");
|
497
|
-
gpr_event_init_import = (gpr_event_init_type) GetProcAddress(library, "gpr_event_init");
|
498
|
-
gpr_event_set_import = (gpr_event_set_type) GetProcAddress(library, "gpr_event_set");
|
499
|
-
gpr_event_get_import = (gpr_event_get_type) GetProcAddress(library, "gpr_event_get");
|
500
|
-
gpr_event_wait_import = (gpr_event_wait_type) GetProcAddress(library, "gpr_event_wait");
|
501
|
-
gpr_ref_init_import = (gpr_ref_init_type) GetProcAddress(library, "gpr_ref_init");
|
502
|
-
gpr_ref_import = (gpr_ref_type) GetProcAddress(library, "gpr_ref");
|
503
|
-
gpr_ref_non_zero_import = (gpr_ref_non_zero_type) GetProcAddress(library, "gpr_ref_non_zero");
|
504
|
-
gpr_refn_import = (gpr_refn_type) GetProcAddress(library, "gpr_refn");
|
505
|
-
gpr_unref_import = (gpr_unref_type) GetProcAddress(library, "gpr_unref");
|
506
|
-
gpr_stats_init_import = (gpr_stats_init_type) GetProcAddress(library, "gpr_stats_init");
|
507
|
-
gpr_stats_inc_import = (gpr_stats_inc_type) GetProcAddress(library, "gpr_stats_inc");
|
508
|
-
gpr_stats_read_import = (gpr_stats_read_type) GetProcAddress(library, "gpr_stats_read");
|
509
|
-
gpr_time_0_import = (gpr_time_0_type) GetProcAddress(library, "gpr_time_0");
|
510
|
-
gpr_inf_future_import = (gpr_inf_future_type) GetProcAddress(library, "gpr_inf_future");
|
511
|
-
gpr_inf_past_import = (gpr_inf_past_type) GetProcAddress(library, "gpr_inf_past");
|
512
|
-
gpr_time_init_import = (gpr_time_init_type) GetProcAddress(library, "gpr_time_init");
|
513
|
-
gpr_now_import = (gpr_now_type) GetProcAddress(library, "gpr_now");
|
514
|
-
gpr_convert_clock_type_import = (gpr_convert_clock_type_type) GetProcAddress(library, "gpr_convert_clock_type");
|
515
|
-
gpr_time_cmp_import = (gpr_time_cmp_type) GetProcAddress(library, "gpr_time_cmp");
|
516
|
-
gpr_time_max_import = (gpr_time_max_type) GetProcAddress(library, "gpr_time_max");
|
517
|
-
gpr_time_min_import = (gpr_time_min_type) GetProcAddress(library, "gpr_time_min");
|
518
|
-
gpr_time_add_import = (gpr_time_add_type) GetProcAddress(library, "gpr_time_add");
|
519
|
-
gpr_time_sub_import = (gpr_time_sub_type) GetProcAddress(library, "gpr_time_sub");
|
520
|
-
gpr_time_from_micros_import = (gpr_time_from_micros_type) GetProcAddress(library, "gpr_time_from_micros");
|
521
|
-
gpr_time_from_nanos_import = (gpr_time_from_nanos_type) GetProcAddress(library, "gpr_time_from_nanos");
|
522
|
-
gpr_time_from_millis_import = (gpr_time_from_millis_type) GetProcAddress(library, "gpr_time_from_millis");
|
523
|
-
gpr_time_from_seconds_import = (gpr_time_from_seconds_type) GetProcAddress(library, "gpr_time_from_seconds");
|
524
|
-
gpr_time_from_minutes_import = (gpr_time_from_minutes_type) GetProcAddress(library, "gpr_time_from_minutes");
|
525
|
-
gpr_time_from_hours_import = (gpr_time_from_hours_type) GetProcAddress(library, "gpr_time_from_hours");
|
526
|
-
gpr_time_to_millis_import = (gpr_time_to_millis_type) GetProcAddress(library, "gpr_time_to_millis");
|
527
|
-
gpr_time_similar_import = (gpr_time_similar_type) GetProcAddress(library, "gpr_time_similar");
|
528
|
-
gpr_sleep_until_import = (gpr_sleep_until_type) GetProcAddress(library, "gpr_sleep_until");
|
529
|
-
gpr_timespec_to_micros_import = (gpr_timespec_to_micros_type) GetProcAddress(library, "gpr_timespec_to_micros");
|
530
523
|
gpr_avl_create_import = (gpr_avl_create_type) GetProcAddress(library, "gpr_avl_create");
|
531
524
|
gpr_avl_ref_import = (gpr_avl_ref_type) GetProcAddress(library, "gpr_avl_ref");
|
532
525
|
gpr_avl_unref_import = (gpr_avl_unref_type) GetProcAddress(library, "gpr_avl_unref");
|
@@ -563,6 +556,11 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
563
556
|
gpr_histogram_merge_contents_import = (gpr_histogram_merge_contents_type) GetProcAddress(library, "gpr_histogram_merge_contents");
|
564
557
|
gpr_join_host_port_import = (gpr_join_host_port_type) GetProcAddress(library, "gpr_join_host_port");
|
565
558
|
gpr_split_host_port_import = (gpr_split_host_port_type) GetProcAddress(library, "gpr_split_host_port");
|
559
|
+
gpr_log_import = (gpr_log_type) GetProcAddress(library, "gpr_log");
|
560
|
+
gpr_log_message_import = (gpr_log_message_type) GetProcAddress(library, "gpr_log_message");
|
561
|
+
gpr_set_log_verbosity_import = (gpr_set_log_verbosity_type) GetProcAddress(library, "gpr_set_log_verbosity");
|
562
|
+
gpr_log_verbosity_init_import = (gpr_log_verbosity_init_type) GetProcAddress(library, "gpr_log_verbosity_init");
|
563
|
+
gpr_set_log_function_import = (gpr_set_log_function_type) GetProcAddress(library, "gpr_set_log_function");
|
566
564
|
gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message");
|
567
565
|
gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup");
|
568
566
|
gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf");
|
@@ -571,6 +569,29 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
571
569
|
gpr_subprocess_destroy_import = (gpr_subprocess_destroy_type) GetProcAddress(library, "gpr_subprocess_destroy");
|
572
570
|
gpr_subprocess_join_import = (gpr_subprocess_join_type) GetProcAddress(library, "gpr_subprocess_join");
|
573
571
|
gpr_subprocess_interrupt_import = (gpr_subprocess_interrupt_type) GetProcAddress(library, "gpr_subprocess_interrupt");
|
572
|
+
gpr_mu_init_import = (gpr_mu_init_type) GetProcAddress(library, "gpr_mu_init");
|
573
|
+
gpr_mu_destroy_import = (gpr_mu_destroy_type) GetProcAddress(library, "gpr_mu_destroy");
|
574
|
+
gpr_mu_lock_import = (gpr_mu_lock_type) GetProcAddress(library, "gpr_mu_lock");
|
575
|
+
gpr_mu_unlock_import = (gpr_mu_unlock_type) GetProcAddress(library, "gpr_mu_unlock");
|
576
|
+
gpr_mu_trylock_import = (gpr_mu_trylock_type) GetProcAddress(library, "gpr_mu_trylock");
|
577
|
+
gpr_cv_init_import = (gpr_cv_init_type) GetProcAddress(library, "gpr_cv_init");
|
578
|
+
gpr_cv_destroy_import = (gpr_cv_destroy_type) GetProcAddress(library, "gpr_cv_destroy");
|
579
|
+
gpr_cv_wait_import = (gpr_cv_wait_type) GetProcAddress(library, "gpr_cv_wait");
|
580
|
+
gpr_cv_signal_import = (gpr_cv_signal_type) GetProcAddress(library, "gpr_cv_signal");
|
581
|
+
gpr_cv_broadcast_import = (gpr_cv_broadcast_type) GetProcAddress(library, "gpr_cv_broadcast");
|
582
|
+
gpr_once_init_import = (gpr_once_init_type) GetProcAddress(library, "gpr_once_init");
|
583
|
+
gpr_event_init_import = (gpr_event_init_type) GetProcAddress(library, "gpr_event_init");
|
584
|
+
gpr_event_set_import = (gpr_event_set_type) GetProcAddress(library, "gpr_event_set");
|
585
|
+
gpr_event_get_import = (gpr_event_get_type) GetProcAddress(library, "gpr_event_get");
|
586
|
+
gpr_event_wait_import = (gpr_event_wait_type) GetProcAddress(library, "gpr_event_wait");
|
587
|
+
gpr_ref_init_import = (gpr_ref_init_type) GetProcAddress(library, "gpr_ref_init");
|
588
|
+
gpr_ref_import = (gpr_ref_type) GetProcAddress(library, "gpr_ref");
|
589
|
+
gpr_ref_non_zero_import = (gpr_ref_non_zero_type) GetProcAddress(library, "gpr_ref_non_zero");
|
590
|
+
gpr_refn_import = (gpr_refn_type) GetProcAddress(library, "gpr_refn");
|
591
|
+
gpr_unref_import = (gpr_unref_type) GetProcAddress(library, "gpr_unref");
|
592
|
+
gpr_stats_init_import = (gpr_stats_init_type) GetProcAddress(library, "gpr_stats_init");
|
593
|
+
gpr_stats_inc_import = (gpr_stats_inc_type) GetProcAddress(library, "gpr_stats_inc");
|
594
|
+
gpr_stats_read_import = (gpr_stats_read_type) GetProcAddress(library, "gpr_stats_read");
|
574
595
|
gpr_thd_new_import = (gpr_thd_new_type) GetProcAddress(library, "gpr_thd_new");
|
575
596
|
gpr_thd_options_default_import = (gpr_thd_options_default_type) GetProcAddress(library, "gpr_thd_options_default");
|
576
597
|
gpr_thd_options_set_detached_import = (gpr_thd_options_set_detached_type) GetProcAddress(library, "gpr_thd_options_set_detached");
|
@@ -579,6 +600,27 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
579
600
|
gpr_thd_options_is_joinable_import = (gpr_thd_options_is_joinable_type) GetProcAddress(library, "gpr_thd_options_is_joinable");
|
580
601
|
gpr_thd_currentid_import = (gpr_thd_currentid_type) GetProcAddress(library, "gpr_thd_currentid");
|
581
602
|
gpr_thd_join_import = (gpr_thd_join_type) GetProcAddress(library, "gpr_thd_join");
|
603
|
+
gpr_time_0_import = (gpr_time_0_type) GetProcAddress(library, "gpr_time_0");
|
604
|
+
gpr_inf_future_import = (gpr_inf_future_type) GetProcAddress(library, "gpr_inf_future");
|
605
|
+
gpr_inf_past_import = (gpr_inf_past_type) GetProcAddress(library, "gpr_inf_past");
|
606
|
+
gpr_time_init_import = (gpr_time_init_type) GetProcAddress(library, "gpr_time_init");
|
607
|
+
gpr_now_import = (gpr_now_type) GetProcAddress(library, "gpr_now");
|
608
|
+
gpr_convert_clock_type_import = (gpr_convert_clock_type_type) GetProcAddress(library, "gpr_convert_clock_type");
|
609
|
+
gpr_time_cmp_import = (gpr_time_cmp_type) GetProcAddress(library, "gpr_time_cmp");
|
610
|
+
gpr_time_max_import = (gpr_time_max_type) GetProcAddress(library, "gpr_time_max");
|
611
|
+
gpr_time_min_import = (gpr_time_min_type) GetProcAddress(library, "gpr_time_min");
|
612
|
+
gpr_time_add_import = (gpr_time_add_type) GetProcAddress(library, "gpr_time_add");
|
613
|
+
gpr_time_sub_import = (gpr_time_sub_type) GetProcAddress(library, "gpr_time_sub");
|
614
|
+
gpr_time_from_micros_import = (gpr_time_from_micros_type) GetProcAddress(library, "gpr_time_from_micros");
|
615
|
+
gpr_time_from_nanos_import = (gpr_time_from_nanos_type) GetProcAddress(library, "gpr_time_from_nanos");
|
616
|
+
gpr_time_from_millis_import = (gpr_time_from_millis_type) GetProcAddress(library, "gpr_time_from_millis");
|
617
|
+
gpr_time_from_seconds_import = (gpr_time_from_seconds_type) GetProcAddress(library, "gpr_time_from_seconds");
|
618
|
+
gpr_time_from_minutes_import = (gpr_time_from_minutes_type) GetProcAddress(library, "gpr_time_from_minutes");
|
619
|
+
gpr_time_from_hours_import = (gpr_time_from_hours_type) GetProcAddress(library, "gpr_time_from_hours");
|
620
|
+
gpr_time_to_millis_import = (gpr_time_to_millis_type) GetProcAddress(library, "gpr_time_to_millis");
|
621
|
+
gpr_time_similar_import = (gpr_time_similar_type) GetProcAddress(library, "gpr_time_similar");
|
622
|
+
gpr_sleep_until_import = (gpr_sleep_until_type) GetProcAddress(library, "gpr_sleep_until");
|
623
|
+
gpr_timespec_to_micros_import = (gpr_timespec_to_micros_type) GetProcAddress(library, "gpr_timespec_to_micros");
|
582
624
|
}
|
583
625
|
|
584
626
|
#endif /* GPR_WINDOWS */
|