grpc 1.7.3-x86-linux → 1.8.0-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/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 +5 -5
- data/src/ruby/ext/grpc/rb_byte_buffer.h +2 -2
- data/src/ruby/ext/grpc/rb_call.c +41 -42
- data/src/ruby/ext/grpc/rb_call.h +6 -6
- data/src/ruby/ext/grpc/rb_call_credentials.c +30 -30
- data/src/ruby/ext/grpc/rb_channel.c +87 -87
- data/src/ruby/ext/grpc/rb_channel_credentials.c +23 -23
- data/src/ruby/ext/grpc/rb_completion_queue.c +11 -11
- data/src/ruby/ext/grpc/rb_completion_queue.h +3 -3
- data/src/ruby/ext/grpc/rb_compression_options.c +20 -20
- data/src/ruby/ext/grpc/rb_event_thread.c +14 -14
- data/src/ruby/ext/grpc/rb_event_thread.h +1 -1
- data/src/ruby/ext/grpc/rb_grpc.c +8 -8
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +16 -58
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +242 -306
- data/src/ruby/ext/grpc/rb_server.c +23 -23
- data/src/ruby/ext/grpc/rb_server_credentials.c +13 -13
- 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/generic/rpc_server.rb +25 -12
- 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 +14 -0
- data/src/ruby/spec/pb/health/checker_spec.rb +29 -0
- metadata +2 -2
@@ -25,7 +25,6 @@
|
|
25
25
|
|
26
26
|
#include <windows.h>
|
27
27
|
|
28
|
-
#include <grpc/census.h>
|
29
28
|
#include <grpc/compression.h>
|
30
29
|
#include <grpc/grpc.h>
|
31
30
|
#include <grpc/grpc_posix.h>
|
@@ -47,97 +46,13 @@
|
|
47
46
|
#include <grpc/support/thd.h>
|
48
47
|
#include <grpc/support/time.h>
|
49
48
|
|
50
|
-
typedef int(*
|
51
|
-
extern census_initialize_type census_initialize_import;
|
52
|
-
#define census_initialize census_initialize_import
|
53
|
-
typedef void(*census_shutdown_type)(void);
|
54
|
-
extern census_shutdown_type census_shutdown_import;
|
55
|
-
#define census_shutdown census_shutdown_import
|
56
|
-
typedef int(*census_supported_type)(void);
|
57
|
-
extern census_supported_type census_supported_import;
|
58
|
-
#define census_supported census_supported_import
|
59
|
-
typedef int(*census_enabled_type)(void);
|
60
|
-
extern census_enabled_type census_enabled_import;
|
61
|
-
#define census_enabled census_enabled_import
|
62
|
-
typedef census_context *(*census_context_create_type)(const census_context *base, const census_tag *tags, int ntags, census_context_status const **status);
|
63
|
-
extern census_context_create_type census_context_create_import;
|
64
|
-
#define census_context_create census_context_create_import
|
65
|
-
typedef void(*census_context_destroy_type)(census_context *context);
|
66
|
-
extern census_context_destroy_type census_context_destroy_import;
|
67
|
-
#define census_context_destroy census_context_destroy_import
|
68
|
-
typedef const census_context_status *(*census_context_get_status_type)(const census_context *context);
|
69
|
-
extern census_context_get_status_type census_context_get_status_import;
|
70
|
-
#define census_context_get_status census_context_get_status_import
|
71
|
-
typedef void(*census_context_initialize_iterator_type)(const census_context *context, census_context_iterator *iterator);
|
72
|
-
extern census_context_initialize_iterator_type census_context_initialize_iterator_import;
|
73
|
-
#define census_context_initialize_iterator census_context_initialize_iterator_import
|
74
|
-
typedef int(*census_context_next_tag_type)(census_context_iterator *iterator, census_tag *tag);
|
75
|
-
extern census_context_next_tag_type census_context_next_tag_import;
|
76
|
-
#define census_context_next_tag census_context_next_tag_import
|
77
|
-
typedef int(*census_context_get_tag_type)(const census_context *context, const char *key, census_tag *tag);
|
78
|
-
extern census_context_get_tag_type census_context_get_tag_import;
|
79
|
-
#define census_context_get_tag census_context_get_tag_import
|
80
|
-
typedef size_t(*census_context_encode_type)(const census_context *context, char *buffer, size_t buf_size);
|
81
|
-
extern census_context_encode_type census_context_encode_import;
|
82
|
-
#define census_context_encode census_context_encode_import
|
83
|
-
typedef census_context *(*census_context_decode_type)(const char *buffer, size_t size);
|
84
|
-
extern census_context_decode_type census_context_decode_import;
|
85
|
-
#define census_context_decode census_context_decode_import
|
86
|
-
typedef int(*census_trace_mask_type)(const census_context *context);
|
87
|
-
extern census_trace_mask_type census_trace_mask_import;
|
88
|
-
#define census_trace_mask census_trace_mask_import
|
89
|
-
typedef void(*census_set_trace_mask_type)(int trace_mask);
|
90
|
-
extern census_set_trace_mask_type census_set_trace_mask_import;
|
91
|
-
#define census_set_trace_mask census_set_trace_mask_import
|
92
|
-
typedef census_timestamp(*census_start_rpc_op_timestamp_type)(void);
|
93
|
-
extern census_start_rpc_op_timestamp_type census_start_rpc_op_timestamp_import;
|
94
|
-
#define census_start_rpc_op_timestamp census_start_rpc_op_timestamp_import
|
95
|
-
typedef census_context *(*census_start_client_rpc_op_type)(const census_context *context, int64_t rpc_name_id, const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask, const census_timestamp *start_time);
|
96
|
-
extern census_start_client_rpc_op_type census_start_client_rpc_op_import;
|
97
|
-
#define census_start_client_rpc_op census_start_client_rpc_op_import
|
98
|
-
typedef void(*census_set_rpc_client_peer_type)(census_context *context, const char *peer);
|
99
|
-
extern census_set_rpc_client_peer_type census_set_rpc_client_peer_import;
|
100
|
-
#define census_set_rpc_client_peer census_set_rpc_client_peer_import
|
101
|
-
typedef census_context *(*census_start_server_rpc_op_type)(const char *buffer, int64_t rpc_name_id, const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask, census_timestamp *start_time);
|
102
|
-
extern census_start_server_rpc_op_type census_start_server_rpc_op_import;
|
103
|
-
#define census_start_server_rpc_op census_start_server_rpc_op_import
|
104
|
-
typedef census_context *(*census_start_op_type)(census_context *context, const char *family, const char *name, int trace_mask);
|
105
|
-
extern census_start_op_type census_start_op_import;
|
106
|
-
#define census_start_op census_start_op_import
|
107
|
-
typedef void(*census_end_op_type)(census_context *context, int status);
|
108
|
-
extern census_end_op_type census_end_op_import;
|
109
|
-
#define census_end_op census_end_op_import
|
110
|
-
typedef void(*census_trace_print_type)(census_context *context, uint32_t type, const char *buffer, size_t n);
|
111
|
-
extern census_trace_print_type census_trace_print_import;
|
112
|
-
#define census_trace_print census_trace_print_import
|
113
|
-
typedef int(*census_trace_scan_start_type)(int consume);
|
114
|
-
extern census_trace_scan_start_type census_trace_scan_start_import;
|
115
|
-
#define census_trace_scan_start census_trace_scan_start_import
|
116
|
-
typedef int(*census_get_trace_record_type)(census_trace_record *trace_record);
|
117
|
-
extern census_get_trace_record_type census_get_trace_record_import;
|
118
|
-
#define census_get_trace_record census_get_trace_record_import
|
119
|
-
typedef void(*census_trace_scan_end_type)();
|
120
|
-
extern census_trace_scan_end_type census_trace_scan_end_import;
|
121
|
-
#define census_trace_scan_end census_trace_scan_end_import
|
122
|
-
typedef int32_t(*census_define_resource_type)(const uint8_t *resource_pb, size_t resource_pb_size);
|
123
|
-
extern census_define_resource_type census_define_resource_import;
|
124
|
-
#define census_define_resource census_define_resource_import
|
125
|
-
typedef void(*census_delete_resource_type)(int32_t resource_id);
|
126
|
-
extern census_delete_resource_type census_delete_resource_import;
|
127
|
-
#define census_delete_resource census_delete_resource_import
|
128
|
-
typedef int32_t(*census_resource_id_type)(const char *name);
|
129
|
-
extern census_resource_id_type census_resource_id_import;
|
130
|
-
#define census_resource_id census_resource_id_import
|
131
|
-
typedef void(*census_record_values_type)(census_context *context, census_value *values, size_t nvalues);
|
132
|
-
extern census_record_values_type census_record_values_import;
|
133
|
-
#define census_record_values census_record_values_import
|
134
|
-
typedef int(*grpc_compression_algorithm_parse_type)(grpc_slice value, grpc_compression_algorithm *algorithm);
|
49
|
+
typedef int(*grpc_compression_algorithm_parse_type)(grpc_slice value, grpc_compression_algorithm* algorithm);
|
135
50
|
extern grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import;
|
136
51
|
#define grpc_compression_algorithm_parse grpc_compression_algorithm_parse_import
|
137
|
-
typedef int(*grpc_compression_algorithm_name_type)(grpc_compression_algorithm algorithm, const char
|
52
|
+
typedef int(*grpc_compression_algorithm_name_type)(grpc_compression_algorithm algorithm, const char** name);
|
138
53
|
extern grpc_compression_algorithm_name_type grpc_compression_algorithm_name_import;
|
139
54
|
#define grpc_compression_algorithm_name grpc_compression_algorithm_name_import
|
140
|
-
typedef int(*grpc_stream_compression_algorithm_name_type)(grpc_stream_compression_algorithm algorithm, const char
|
55
|
+
typedef int(*grpc_stream_compression_algorithm_name_type)(grpc_stream_compression_algorithm algorithm, const char** name);
|
141
56
|
extern grpc_stream_compression_algorithm_name_type grpc_stream_compression_algorithm_name_import;
|
142
57
|
#define grpc_stream_compression_algorithm_name grpc_stream_compression_algorithm_name_import
|
143
58
|
typedef grpc_compression_algorithm(*grpc_compression_algorithm_for_level_type)(grpc_compression_level level, uint32_t accepted_encodings);
|
@@ -146,31 +61,31 @@ extern grpc_compression_algorithm_for_level_type grpc_compression_algorithm_for_
|
|
146
61
|
typedef grpc_stream_compression_algorithm(*grpc_stream_compression_algorithm_for_level_type)(grpc_stream_compression_level level, uint32_t accepted_stream_encodings);
|
147
62
|
extern grpc_stream_compression_algorithm_for_level_type grpc_stream_compression_algorithm_for_level_import;
|
148
63
|
#define grpc_stream_compression_algorithm_for_level grpc_stream_compression_algorithm_for_level_import
|
149
|
-
typedef void(*grpc_compression_options_init_type)(grpc_compression_options
|
64
|
+
typedef void(*grpc_compression_options_init_type)(grpc_compression_options* opts);
|
150
65
|
extern grpc_compression_options_init_type grpc_compression_options_init_import;
|
151
66
|
#define grpc_compression_options_init grpc_compression_options_init_import
|
152
|
-
typedef void(*grpc_compression_options_enable_algorithm_type)(grpc_compression_options
|
67
|
+
typedef void(*grpc_compression_options_enable_algorithm_type)(grpc_compression_options* opts, grpc_compression_algorithm algorithm);
|
153
68
|
extern grpc_compression_options_enable_algorithm_type grpc_compression_options_enable_algorithm_import;
|
154
69
|
#define grpc_compression_options_enable_algorithm grpc_compression_options_enable_algorithm_import
|
155
|
-
typedef void(*grpc_compression_options_disable_algorithm_type)(grpc_compression_options
|
70
|
+
typedef void(*grpc_compression_options_disable_algorithm_type)(grpc_compression_options* opts, grpc_compression_algorithm algorithm);
|
156
71
|
extern grpc_compression_options_disable_algorithm_type grpc_compression_options_disable_algorithm_import;
|
157
72
|
#define grpc_compression_options_disable_algorithm grpc_compression_options_disable_algorithm_import
|
158
|
-
typedef int(*grpc_compression_options_is_algorithm_enabled_type)(const grpc_compression_options
|
73
|
+
typedef int(*grpc_compression_options_is_algorithm_enabled_type)(const grpc_compression_options* opts, grpc_compression_algorithm algorithm);
|
159
74
|
extern grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import;
|
160
75
|
#define grpc_compression_options_is_algorithm_enabled grpc_compression_options_is_algorithm_enabled_import
|
161
|
-
typedef int(*grpc_compression_options_is_stream_compression_algorithm_enabled_type)(const grpc_compression_options
|
76
|
+
typedef int(*grpc_compression_options_is_stream_compression_algorithm_enabled_type)(const grpc_compression_options* opts, grpc_stream_compression_algorithm algorithm);
|
162
77
|
extern grpc_compression_options_is_stream_compression_algorithm_enabled_type grpc_compression_options_is_stream_compression_algorithm_enabled_import;
|
163
78
|
#define grpc_compression_options_is_stream_compression_algorithm_enabled grpc_compression_options_is_stream_compression_algorithm_enabled_import
|
164
|
-
typedef void(*grpc_metadata_array_init_type)(grpc_metadata_array
|
79
|
+
typedef void(*grpc_metadata_array_init_type)(grpc_metadata_array* array);
|
165
80
|
extern grpc_metadata_array_init_type grpc_metadata_array_init_import;
|
166
81
|
#define grpc_metadata_array_init grpc_metadata_array_init_import
|
167
|
-
typedef void(*grpc_metadata_array_destroy_type)(grpc_metadata_array
|
82
|
+
typedef void(*grpc_metadata_array_destroy_type)(grpc_metadata_array* array);
|
168
83
|
extern grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import;
|
169
84
|
#define grpc_metadata_array_destroy grpc_metadata_array_destroy_import
|
170
|
-
typedef void(*grpc_call_details_init_type)(grpc_call_details
|
85
|
+
typedef void(*grpc_call_details_init_type)(grpc_call_details* details);
|
171
86
|
extern grpc_call_details_init_type grpc_call_details_init_import;
|
172
87
|
#define grpc_call_details_init grpc_call_details_init_import
|
173
|
-
typedef void(*grpc_call_details_destroy_type)(grpc_call_details
|
88
|
+
typedef void(*grpc_call_details_destroy_type)(grpc_call_details* details);
|
174
89
|
extern grpc_call_details_destroy_type grpc_call_details_destroy_import;
|
175
90
|
#define grpc_call_details_destroy grpc_call_details_destroy_import
|
176
91
|
typedef void(*grpc_register_plugin_type)(void (*init)(void), void (*destroy)(void));
|
@@ -182,145 +97,151 @@ extern grpc_init_type grpc_init_import;
|
|
182
97
|
typedef void(*grpc_shutdown_type)(void);
|
183
98
|
extern grpc_shutdown_type grpc_shutdown_import;
|
184
99
|
#define grpc_shutdown grpc_shutdown_import
|
185
|
-
typedef const char
|
100
|
+
typedef const char*(*grpc_version_string_type)(void);
|
186
101
|
extern grpc_version_string_type grpc_version_string_import;
|
187
102
|
#define grpc_version_string grpc_version_string_import
|
188
|
-
typedef const char
|
103
|
+
typedef const char*(*grpc_g_stands_for_type)(void);
|
189
104
|
extern grpc_g_stands_for_type grpc_g_stands_for_import;
|
190
105
|
#define grpc_g_stands_for grpc_g_stands_for_import
|
191
|
-
typedef const grpc_completion_queue_factory
|
106
|
+
typedef const grpc_completion_queue_factory*(*grpc_completion_queue_factory_lookup_type)(const grpc_completion_queue_attributes* attributes);
|
192
107
|
extern grpc_completion_queue_factory_lookup_type grpc_completion_queue_factory_lookup_import;
|
193
108
|
#define grpc_completion_queue_factory_lookup grpc_completion_queue_factory_lookup_import
|
194
|
-
typedef grpc_completion_queue
|
109
|
+
typedef grpc_completion_queue*(*grpc_completion_queue_create_for_next_type)(void* reserved);
|
195
110
|
extern grpc_completion_queue_create_for_next_type grpc_completion_queue_create_for_next_import;
|
196
111
|
#define grpc_completion_queue_create_for_next grpc_completion_queue_create_for_next_import
|
197
|
-
typedef grpc_completion_queue
|
112
|
+
typedef grpc_completion_queue*(*grpc_completion_queue_create_for_pluck_type)(void* reserved);
|
198
113
|
extern grpc_completion_queue_create_for_pluck_type grpc_completion_queue_create_for_pluck_import;
|
199
114
|
#define grpc_completion_queue_create_for_pluck grpc_completion_queue_create_for_pluck_import
|
200
|
-
typedef grpc_completion_queue
|
115
|
+
typedef grpc_completion_queue*(*grpc_completion_queue_create_type)(const grpc_completion_queue_factory* factory, const grpc_completion_queue_attributes* attributes, void* reserved);
|
201
116
|
extern grpc_completion_queue_create_type grpc_completion_queue_create_import;
|
202
117
|
#define grpc_completion_queue_create grpc_completion_queue_create_import
|
203
|
-
typedef grpc_event(*grpc_completion_queue_next_type)(grpc_completion_queue
|
118
|
+
typedef grpc_event(*grpc_completion_queue_next_type)(grpc_completion_queue* cq, gpr_timespec deadline, void* reserved);
|
204
119
|
extern grpc_completion_queue_next_type grpc_completion_queue_next_import;
|
205
120
|
#define grpc_completion_queue_next grpc_completion_queue_next_import
|
206
|
-
typedef grpc_event(*grpc_completion_queue_pluck_type)(grpc_completion_queue
|
121
|
+
typedef grpc_event(*grpc_completion_queue_pluck_type)(grpc_completion_queue* cq, void* tag, gpr_timespec deadline, void* reserved);
|
207
122
|
extern grpc_completion_queue_pluck_type grpc_completion_queue_pluck_import;
|
208
123
|
#define grpc_completion_queue_pluck grpc_completion_queue_pluck_import
|
209
|
-
typedef void(*grpc_completion_queue_shutdown_type)(grpc_completion_queue
|
124
|
+
typedef void(*grpc_completion_queue_shutdown_type)(grpc_completion_queue* cq);
|
210
125
|
extern grpc_completion_queue_shutdown_type grpc_completion_queue_shutdown_import;
|
211
126
|
#define grpc_completion_queue_shutdown grpc_completion_queue_shutdown_import
|
212
|
-
typedef void(*grpc_completion_queue_destroy_type)(grpc_completion_queue
|
127
|
+
typedef void(*grpc_completion_queue_destroy_type)(grpc_completion_queue* cq);
|
213
128
|
extern grpc_completion_queue_destroy_type grpc_completion_queue_destroy_import;
|
214
129
|
#define grpc_completion_queue_destroy grpc_completion_queue_destroy_import
|
215
|
-
typedef
|
130
|
+
typedef void(*grpc_completion_queue_thread_local_cache_init_type)(grpc_completion_queue* cq);
|
131
|
+
extern grpc_completion_queue_thread_local_cache_init_type grpc_completion_queue_thread_local_cache_init_import;
|
132
|
+
#define grpc_completion_queue_thread_local_cache_init grpc_completion_queue_thread_local_cache_init_import
|
133
|
+
typedef int(*grpc_completion_queue_thread_local_cache_flush_type)(grpc_completion_queue* cq, void** tag, int* ok);
|
134
|
+
extern grpc_completion_queue_thread_local_cache_flush_type grpc_completion_queue_thread_local_cache_flush_import;
|
135
|
+
#define grpc_completion_queue_thread_local_cache_flush grpc_completion_queue_thread_local_cache_flush_import
|
136
|
+
typedef grpc_alarm*(*grpc_alarm_create_type)(void* reserved);
|
216
137
|
extern grpc_alarm_create_type grpc_alarm_create_import;
|
217
138
|
#define grpc_alarm_create grpc_alarm_create_import
|
218
|
-
typedef void(*grpc_alarm_set_type)(grpc_alarm
|
139
|
+
typedef void(*grpc_alarm_set_type)(grpc_alarm* alarm, grpc_completion_queue* cq, gpr_timespec deadline, void* tag, void* reserved);
|
219
140
|
extern grpc_alarm_set_type grpc_alarm_set_import;
|
220
141
|
#define grpc_alarm_set grpc_alarm_set_import
|
221
|
-
typedef void(*grpc_alarm_cancel_type)(grpc_alarm
|
142
|
+
typedef void(*grpc_alarm_cancel_type)(grpc_alarm* alarm, void* reserved);
|
222
143
|
extern grpc_alarm_cancel_type grpc_alarm_cancel_import;
|
223
144
|
#define grpc_alarm_cancel grpc_alarm_cancel_import
|
224
|
-
typedef void(*grpc_alarm_destroy_type)(grpc_alarm
|
145
|
+
typedef void(*grpc_alarm_destroy_type)(grpc_alarm* alarm, void* reserved);
|
225
146
|
extern grpc_alarm_destroy_type grpc_alarm_destroy_import;
|
226
147
|
#define grpc_alarm_destroy grpc_alarm_destroy_import
|
227
|
-
typedef grpc_connectivity_state(*grpc_channel_check_connectivity_state_type)(grpc_channel
|
148
|
+
typedef grpc_connectivity_state(*grpc_channel_check_connectivity_state_type)(grpc_channel* channel, int try_to_connect);
|
228
149
|
extern grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import;
|
229
150
|
#define grpc_channel_check_connectivity_state grpc_channel_check_connectivity_state_import
|
230
|
-
typedef int(*grpc_channel_num_external_connectivity_watchers_type)(grpc_channel
|
151
|
+
typedef int(*grpc_channel_num_external_connectivity_watchers_type)(grpc_channel* channel);
|
231
152
|
extern grpc_channel_num_external_connectivity_watchers_type grpc_channel_num_external_connectivity_watchers_import;
|
232
153
|
#define grpc_channel_num_external_connectivity_watchers grpc_channel_num_external_connectivity_watchers_import
|
233
|
-
typedef void(*grpc_channel_watch_connectivity_state_type)(grpc_channel
|
154
|
+
typedef void(*grpc_channel_watch_connectivity_state_type)(grpc_channel* channel, grpc_connectivity_state last_observed_state, gpr_timespec deadline, grpc_completion_queue* cq, void* tag);
|
234
155
|
extern grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import;
|
235
156
|
#define grpc_channel_watch_connectivity_state grpc_channel_watch_connectivity_state_import
|
236
|
-
typedef int(*grpc_channel_support_connectivity_watcher_type)(grpc_channel
|
157
|
+
typedef int(*grpc_channel_support_connectivity_watcher_type)(grpc_channel* channel);
|
237
158
|
extern grpc_channel_support_connectivity_watcher_type grpc_channel_support_connectivity_watcher_import;
|
238
159
|
#define grpc_channel_support_connectivity_watcher grpc_channel_support_connectivity_watcher_import
|
239
|
-
typedef grpc_call
|
160
|
+
typedef grpc_call*(*grpc_channel_create_call_type)(grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask, grpc_completion_queue* completion_queue, grpc_slice method, const grpc_slice* host, gpr_timespec deadline, void* reserved);
|
240
161
|
extern grpc_channel_create_call_type grpc_channel_create_call_import;
|
241
162
|
#define grpc_channel_create_call grpc_channel_create_call_import
|
242
|
-
typedef void(*grpc_channel_ping_type)(grpc_channel
|
163
|
+
typedef void(*grpc_channel_ping_type)(grpc_channel* channel, grpc_completion_queue* cq, void* tag, void* reserved);
|
243
164
|
extern grpc_channel_ping_type grpc_channel_ping_import;
|
244
165
|
#define grpc_channel_ping grpc_channel_ping_import
|
245
|
-
typedef void
|
166
|
+
typedef void*(*grpc_channel_register_call_type)(grpc_channel* channel, const char* method, const char* host, void* reserved);
|
246
167
|
extern grpc_channel_register_call_type grpc_channel_register_call_import;
|
247
168
|
#define grpc_channel_register_call grpc_channel_register_call_import
|
248
|
-
typedef grpc_call
|
169
|
+
typedef grpc_call*(*grpc_channel_create_registered_call_type)(grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask, grpc_completion_queue* completion_queue, void* registered_call_handle, gpr_timespec deadline, void* reserved);
|
249
170
|
extern grpc_channel_create_registered_call_type grpc_channel_create_registered_call_import;
|
250
171
|
#define grpc_channel_create_registered_call grpc_channel_create_registered_call_import
|
251
|
-
typedef void
|
172
|
+
typedef void*(*grpc_call_arena_alloc_type)(grpc_call* call, size_t size);
|
252
173
|
extern grpc_call_arena_alloc_type grpc_call_arena_alloc_import;
|
253
174
|
#define grpc_call_arena_alloc grpc_call_arena_alloc_import
|
254
|
-
typedef grpc_call_error(*grpc_call_start_batch_type)(grpc_call
|
175
|
+
typedef grpc_call_error(*grpc_call_start_batch_type)(grpc_call* call, const grpc_op* ops, size_t nops, void* tag, void* reserved);
|
255
176
|
extern grpc_call_start_batch_type grpc_call_start_batch_import;
|
256
177
|
#define grpc_call_start_batch grpc_call_start_batch_import
|
257
|
-
typedef char
|
178
|
+
typedef char*(*grpc_call_get_peer_type)(grpc_call* call);
|
258
179
|
extern grpc_call_get_peer_type grpc_call_get_peer_import;
|
259
180
|
#define grpc_call_get_peer grpc_call_get_peer_import
|
260
|
-
typedef void(*grpc_census_call_set_context_type)(grpc_call
|
181
|
+
typedef void(*grpc_census_call_set_context_type)(grpc_call* call, struct census_context* context);
|
261
182
|
extern grpc_census_call_set_context_type grpc_census_call_set_context_import;
|
262
183
|
#define grpc_census_call_set_context grpc_census_call_set_context_import
|
263
|
-
typedef struct census_context
|
184
|
+
typedef struct census_context*(*grpc_census_call_get_context_type)(grpc_call* call);
|
264
185
|
extern grpc_census_call_get_context_type grpc_census_call_get_context_import;
|
265
186
|
#define grpc_census_call_get_context grpc_census_call_get_context_import
|
266
|
-
typedef char
|
187
|
+
typedef char*(*grpc_channel_get_target_type)(grpc_channel* channel);
|
267
188
|
extern grpc_channel_get_target_type grpc_channel_get_target_import;
|
268
189
|
#define grpc_channel_get_target grpc_channel_get_target_import
|
269
|
-
typedef void(*grpc_channel_get_info_type)(grpc_channel
|
190
|
+
typedef void(*grpc_channel_get_info_type)(grpc_channel* channel, const grpc_channel_info* channel_info);
|
270
191
|
extern grpc_channel_get_info_type grpc_channel_get_info_import;
|
271
192
|
#define grpc_channel_get_info grpc_channel_get_info_import
|
272
|
-
typedef grpc_channel
|
193
|
+
typedef grpc_channel*(*grpc_insecure_channel_create_type)(const char* target, const grpc_channel_args* args, void* reserved);
|
273
194
|
extern grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
|
274
195
|
#define grpc_insecure_channel_create grpc_insecure_channel_create_import
|
275
|
-
typedef grpc_channel
|
196
|
+
typedef grpc_channel*(*grpc_lame_client_channel_create_type)(const char* target, grpc_status_code error_code, const char* error_message);
|
276
197
|
extern grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
|
277
198
|
#define grpc_lame_client_channel_create grpc_lame_client_channel_create_import
|
278
|
-
typedef void(*grpc_channel_destroy_type)(grpc_channel
|
199
|
+
typedef void(*grpc_channel_destroy_type)(grpc_channel* channel);
|
279
200
|
extern grpc_channel_destroy_type grpc_channel_destroy_import;
|
280
201
|
#define grpc_channel_destroy grpc_channel_destroy_import
|
281
|
-
typedef grpc_call_error(*grpc_call_cancel_type)(grpc_call
|
202
|
+
typedef grpc_call_error(*grpc_call_cancel_type)(grpc_call* call, void* reserved);
|
282
203
|
extern grpc_call_cancel_type grpc_call_cancel_import;
|
283
204
|
#define grpc_call_cancel grpc_call_cancel_import
|
284
|
-
typedef grpc_call_error(*grpc_call_cancel_with_status_type)(grpc_call
|
205
|
+
typedef grpc_call_error(*grpc_call_cancel_with_status_type)(grpc_call* call, grpc_status_code status, const char* description, void* reserved);
|
285
206
|
extern grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import;
|
286
207
|
#define grpc_call_cancel_with_status grpc_call_cancel_with_status_import
|
287
|
-
typedef void(*grpc_call_ref_type)(grpc_call
|
208
|
+
typedef void(*grpc_call_ref_type)(grpc_call* call);
|
288
209
|
extern grpc_call_ref_type grpc_call_ref_import;
|
289
210
|
#define grpc_call_ref grpc_call_ref_import
|
290
|
-
typedef void(*grpc_call_unref_type)(grpc_call
|
211
|
+
typedef void(*grpc_call_unref_type)(grpc_call* call);
|
291
212
|
extern grpc_call_unref_type grpc_call_unref_import;
|
292
213
|
#define grpc_call_unref grpc_call_unref_import
|
293
|
-
typedef grpc_call_error(*grpc_server_request_call_type)(grpc_server
|
214
|
+
typedef grpc_call_error(*grpc_server_request_call_type)(grpc_server* server, grpc_call** call, grpc_call_details* details, grpc_metadata_array* request_metadata, grpc_completion_queue* cq_bound_to_call, grpc_completion_queue* cq_for_notification, void* tag_new);
|
294
215
|
extern grpc_server_request_call_type grpc_server_request_call_import;
|
295
216
|
#define grpc_server_request_call grpc_server_request_call_import
|
296
|
-
typedef void
|
217
|
+
typedef void*(*grpc_server_register_method_type)(grpc_server* server, const char* method, const char* host, grpc_server_register_method_payload_handling payload_handling, uint32_t flags);
|
297
218
|
extern grpc_server_register_method_type grpc_server_register_method_import;
|
298
219
|
#define grpc_server_register_method grpc_server_register_method_import
|
299
|
-
typedef grpc_call_error(*grpc_server_request_registered_call_type)(grpc_server
|
220
|
+
typedef grpc_call_error(*grpc_server_request_registered_call_type)(grpc_server* server, void* registered_method, grpc_call** call, gpr_timespec* deadline, grpc_metadata_array* request_metadata, grpc_byte_buffer** optional_payload, grpc_completion_queue* cq_bound_to_call, grpc_completion_queue* cq_for_notification, void* tag_new);
|
300
221
|
extern grpc_server_request_registered_call_type grpc_server_request_registered_call_import;
|
301
222
|
#define grpc_server_request_registered_call grpc_server_request_registered_call_import
|
302
|
-
typedef grpc_server
|
223
|
+
typedef grpc_server*(*grpc_server_create_type)(const grpc_channel_args* args, void* reserved);
|
303
224
|
extern grpc_server_create_type grpc_server_create_import;
|
304
225
|
#define grpc_server_create grpc_server_create_import
|
305
|
-
typedef void(*grpc_server_register_completion_queue_type)(grpc_server
|
226
|
+
typedef void(*grpc_server_register_completion_queue_type)(grpc_server* server, grpc_completion_queue* cq, void* reserved);
|
306
227
|
extern grpc_server_register_completion_queue_type grpc_server_register_completion_queue_import;
|
307
228
|
#define grpc_server_register_completion_queue grpc_server_register_completion_queue_import
|
308
|
-
typedef int(*grpc_server_add_insecure_http2_port_type)(grpc_server
|
229
|
+
typedef int(*grpc_server_add_insecure_http2_port_type)(grpc_server* server, const char* addr);
|
309
230
|
extern grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import;
|
310
231
|
#define grpc_server_add_insecure_http2_port grpc_server_add_insecure_http2_port_import
|
311
|
-
typedef void(*grpc_server_start_type)(grpc_server
|
232
|
+
typedef void(*grpc_server_start_type)(grpc_server* server);
|
312
233
|
extern grpc_server_start_type grpc_server_start_import;
|
313
234
|
#define grpc_server_start grpc_server_start_import
|
314
|
-
typedef void(*grpc_server_shutdown_and_notify_type)(grpc_server
|
235
|
+
typedef void(*grpc_server_shutdown_and_notify_type)(grpc_server* server, grpc_completion_queue* cq, void* tag);
|
315
236
|
extern grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import;
|
316
237
|
#define grpc_server_shutdown_and_notify grpc_server_shutdown_and_notify_import
|
317
|
-
typedef void(*grpc_server_cancel_all_calls_type)(grpc_server
|
238
|
+
typedef void(*grpc_server_cancel_all_calls_type)(grpc_server* server);
|
318
239
|
extern grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import;
|
319
240
|
#define grpc_server_cancel_all_calls grpc_server_cancel_all_calls_import
|
320
|
-
typedef void(*grpc_server_destroy_type)(grpc_server
|
241
|
+
typedef void(*grpc_server_destroy_type)(grpc_server* server);
|
321
242
|
extern grpc_server_destroy_type grpc_server_destroy_import;
|
322
243
|
#define grpc_server_destroy grpc_server_destroy_import
|
323
|
-
typedef int(*grpc_tracer_set_enabled_type)(const char
|
244
|
+
typedef int(*grpc_tracer_set_enabled_type)(const char* name, int enabled);
|
324
245
|
extern grpc_tracer_set_enabled_type grpc_tracer_set_enabled_import;
|
325
246
|
#define grpc_tracer_set_enabled grpc_tracer_set_enabled_import
|
326
247
|
typedef int(*grpc_header_key_is_legal_type)(grpc_slice slice);
|
@@ -332,157 +253,175 @@ extern grpc_header_nonbin_value_is_legal_type grpc_header_nonbin_value_is_legal_
|
|
332
253
|
typedef int(*grpc_is_binary_header_type)(grpc_slice slice);
|
333
254
|
extern grpc_is_binary_header_type grpc_is_binary_header_import;
|
334
255
|
#define grpc_is_binary_header grpc_is_binary_header_import
|
335
|
-
typedef const char
|
256
|
+
typedef const char*(*grpc_call_error_to_string_type)(grpc_call_error error);
|
336
257
|
extern grpc_call_error_to_string_type grpc_call_error_to_string_import;
|
337
258
|
#define grpc_call_error_to_string grpc_call_error_to_string_import
|
338
|
-
typedef grpc_resource_quota
|
259
|
+
typedef grpc_resource_quota*(*grpc_resource_quota_create_type)(const char* trace_name);
|
339
260
|
extern grpc_resource_quota_create_type grpc_resource_quota_create_import;
|
340
261
|
#define grpc_resource_quota_create grpc_resource_quota_create_import
|
341
|
-
typedef void(*grpc_resource_quota_ref_type)(grpc_resource_quota
|
262
|
+
typedef void(*grpc_resource_quota_ref_type)(grpc_resource_quota* resource_quota);
|
342
263
|
extern grpc_resource_quota_ref_type grpc_resource_quota_ref_import;
|
343
264
|
#define grpc_resource_quota_ref grpc_resource_quota_ref_import
|
344
|
-
typedef void(*grpc_resource_quota_unref_type)(grpc_resource_quota
|
265
|
+
typedef void(*grpc_resource_quota_unref_type)(grpc_resource_quota* resource_quota);
|
345
266
|
extern grpc_resource_quota_unref_type grpc_resource_quota_unref_import;
|
346
267
|
#define grpc_resource_quota_unref grpc_resource_quota_unref_import
|
347
|
-
typedef void(*grpc_resource_quota_resize_type)(grpc_resource_quota
|
268
|
+
typedef void(*grpc_resource_quota_resize_type)(grpc_resource_quota* resource_quota, size_t new_size);
|
348
269
|
extern grpc_resource_quota_resize_type grpc_resource_quota_resize_import;
|
349
270
|
#define grpc_resource_quota_resize grpc_resource_quota_resize_import
|
350
|
-
typedef const grpc_arg_pointer_vtable
|
271
|
+
typedef const grpc_arg_pointer_vtable*(*grpc_resource_quota_arg_vtable_type)(void);
|
351
272
|
extern grpc_resource_quota_arg_vtable_type grpc_resource_quota_arg_vtable_import;
|
352
273
|
#define grpc_resource_quota_arg_vtable grpc_resource_quota_arg_vtable_import
|
353
|
-
typedef grpc_channel
|
274
|
+
typedef grpc_channel*(*grpc_insecure_channel_create_from_fd_type)(const char* target, int fd, const grpc_channel_args* args);
|
354
275
|
extern grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
|
355
276
|
#define grpc_insecure_channel_create_from_fd grpc_insecure_channel_create_from_fd_import
|
356
|
-
typedef void(*grpc_server_add_insecure_channel_from_fd_type)(grpc_server
|
277
|
+
typedef void(*grpc_server_add_insecure_channel_from_fd_type)(grpc_server* server, void* reserved, int fd);
|
357
278
|
extern grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
|
358
279
|
#define grpc_server_add_insecure_channel_from_fd grpc_server_add_insecure_channel_from_fd_import
|
359
280
|
typedef void(*grpc_use_signal_type)(int signum);
|
360
281
|
extern grpc_use_signal_type grpc_use_signal_import;
|
361
282
|
#define grpc_use_signal grpc_use_signal_import
|
362
|
-
typedef const grpc_auth_property
|
283
|
+
typedef const grpc_auth_property*(*grpc_auth_property_iterator_next_type)(grpc_auth_property_iterator* it);
|
363
284
|
extern grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
|
364
285
|
#define grpc_auth_property_iterator_next grpc_auth_property_iterator_next_import
|
365
|
-
typedef grpc_auth_property_iterator(*grpc_auth_context_property_iterator_type)(const grpc_auth_context
|
286
|
+
typedef grpc_auth_property_iterator(*grpc_auth_context_property_iterator_type)(const grpc_auth_context* ctx);
|
366
287
|
extern grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import;
|
367
288
|
#define grpc_auth_context_property_iterator grpc_auth_context_property_iterator_import
|
368
|
-
typedef grpc_auth_property_iterator(*grpc_auth_context_peer_identity_type)(const grpc_auth_context
|
289
|
+
typedef grpc_auth_property_iterator(*grpc_auth_context_peer_identity_type)(const grpc_auth_context* ctx);
|
369
290
|
extern grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import;
|
370
291
|
#define grpc_auth_context_peer_identity grpc_auth_context_peer_identity_import
|
371
|
-
typedef grpc_auth_property_iterator(*grpc_auth_context_find_properties_by_name_type)(const grpc_auth_context
|
292
|
+
typedef grpc_auth_property_iterator(*grpc_auth_context_find_properties_by_name_type)(const grpc_auth_context* ctx, const char* name);
|
372
293
|
extern grpc_auth_context_find_properties_by_name_type grpc_auth_context_find_properties_by_name_import;
|
373
294
|
#define grpc_auth_context_find_properties_by_name grpc_auth_context_find_properties_by_name_import
|
374
|
-
typedef const char
|
295
|
+
typedef const char*(*grpc_auth_context_peer_identity_property_name_type)(const grpc_auth_context* ctx);
|
375
296
|
extern grpc_auth_context_peer_identity_property_name_type grpc_auth_context_peer_identity_property_name_import;
|
376
297
|
#define grpc_auth_context_peer_identity_property_name grpc_auth_context_peer_identity_property_name_import
|
377
|
-
typedef int(*grpc_auth_context_peer_is_authenticated_type)(const grpc_auth_context
|
298
|
+
typedef int(*grpc_auth_context_peer_is_authenticated_type)(const grpc_auth_context* ctx);
|
378
299
|
extern grpc_auth_context_peer_is_authenticated_type grpc_auth_context_peer_is_authenticated_import;
|
379
300
|
#define grpc_auth_context_peer_is_authenticated grpc_auth_context_peer_is_authenticated_import
|
380
|
-
typedef grpc_auth_context
|
301
|
+
typedef grpc_auth_context*(*grpc_call_auth_context_type)(grpc_call* call);
|
381
302
|
extern grpc_call_auth_context_type grpc_call_auth_context_import;
|
382
303
|
#define grpc_call_auth_context grpc_call_auth_context_import
|
383
|
-
typedef void(*grpc_auth_context_release_type)(grpc_auth_context
|
304
|
+
typedef void(*grpc_auth_context_release_type)(grpc_auth_context* context);
|
384
305
|
extern grpc_auth_context_release_type grpc_auth_context_release_import;
|
385
306
|
#define grpc_auth_context_release grpc_auth_context_release_import
|
386
|
-
typedef void(*grpc_auth_context_add_property_type)(grpc_auth_context
|
307
|
+
typedef void(*grpc_auth_context_add_property_type)(grpc_auth_context* ctx, const char* name, const char* value, size_t value_length);
|
387
308
|
extern grpc_auth_context_add_property_type grpc_auth_context_add_property_import;
|
388
309
|
#define grpc_auth_context_add_property grpc_auth_context_add_property_import
|
389
|
-
typedef void(*grpc_auth_context_add_cstring_property_type)(grpc_auth_context
|
310
|
+
typedef void(*grpc_auth_context_add_cstring_property_type)(grpc_auth_context* ctx, const char* name, const char* value);
|
390
311
|
extern grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring_property_import;
|
391
312
|
#define grpc_auth_context_add_cstring_property grpc_auth_context_add_cstring_property_import
|
392
|
-
typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context
|
313
|
+
typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context* ctx, const char* name);
|
393
314
|
extern grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import;
|
394
315
|
#define grpc_auth_context_set_peer_identity_property_name grpc_auth_context_set_peer_identity_property_name_import
|
395
|
-
typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials
|
316
|
+
typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials* creds);
|
396
317
|
extern grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
|
397
318
|
#define grpc_channel_credentials_release grpc_channel_credentials_release_import
|
398
|
-
typedef grpc_channel_credentials
|
319
|
+
typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(void);
|
399
320
|
extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
|
400
321
|
#define grpc_google_default_credentials_create grpc_google_default_credentials_create_import
|
401
322
|
typedef void(*grpc_set_ssl_roots_override_callback_type)(grpc_ssl_roots_override_callback cb);
|
402
323
|
extern grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
|
403
324
|
#define grpc_set_ssl_roots_override_callback grpc_set_ssl_roots_override_callback_import
|
404
|
-
typedef grpc_channel_credentials
|
325
|
+
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, void* reserved);
|
405
326
|
extern grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
|
406
327
|
#define grpc_ssl_credentials_create grpc_ssl_credentials_create_import
|
407
|
-
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials
|
328
|
+
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds);
|
408
329
|
extern grpc_call_credentials_release_type grpc_call_credentials_release_import;
|
409
330
|
#define grpc_call_credentials_release grpc_call_credentials_release_import
|
410
|
-
typedef grpc_channel_credentials
|
331
|
+
typedef grpc_channel_credentials*(*grpc_composite_channel_credentials_create_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved);
|
411
332
|
extern grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import;
|
412
333
|
#define grpc_composite_channel_credentials_create grpc_composite_channel_credentials_create_import
|
413
|
-
typedef grpc_call_credentials
|
334
|
+
typedef grpc_call_credentials*(*grpc_composite_call_credentials_create_type)(grpc_call_credentials* creds1, grpc_call_credentials* creds2, void* reserved);
|
414
335
|
extern grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import;
|
415
336
|
#define grpc_composite_call_credentials_create grpc_composite_call_credentials_create_import
|
416
|
-
typedef grpc_call_credentials
|
337
|
+
typedef grpc_call_credentials*(*grpc_google_compute_engine_credentials_create_type)(void* reserved);
|
417
338
|
extern grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import;
|
418
339
|
#define grpc_google_compute_engine_credentials_create grpc_google_compute_engine_credentials_create_import
|
419
|
-
typedef gpr_timespec(*grpc_max_auth_token_lifetime_type)();
|
340
|
+
typedef gpr_timespec(*grpc_max_auth_token_lifetime_type)(void);
|
420
341
|
extern grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import;
|
421
342
|
#define grpc_max_auth_token_lifetime grpc_max_auth_token_lifetime_import
|
422
|
-
typedef grpc_call_credentials
|
343
|
+
typedef grpc_call_credentials*(*grpc_service_account_jwt_access_credentials_create_type)(const char* json_key, gpr_timespec token_lifetime, void* reserved);
|
423
344
|
extern grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import;
|
424
345
|
#define grpc_service_account_jwt_access_credentials_create grpc_service_account_jwt_access_credentials_create_import
|
425
|
-
typedef grpc_call_credentials
|
346
|
+
typedef grpc_call_credentials*(*grpc_google_refresh_token_credentials_create_type)(const char* json_refresh_token, void* reserved);
|
426
347
|
extern grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import;
|
427
348
|
#define grpc_google_refresh_token_credentials_create grpc_google_refresh_token_credentials_create_import
|
428
|
-
typedef grpc_call_credentials
|
349
|
+
typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token, void* reserved);
|
429
350
|
extern grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import;
|
430
351
|
#define grpc_access_token_credentials_create grpc_access_token_credentials_create_import
|
431
|
-
typedef grpc_call_credentials
|
352
|
+
typedef grpc_call_credentials*(*grpc_google_iam_credentials_create_type)(const char* authorization_token, const char* authority_selector, void* reserved);
|
432
353
|
extern grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import;
|
433
354
|
#define grpc_google_iam_credentials_create grpc_google_iam_credentials_create_import
|
434
|
-
typedef grpc_call_credentials
|
355
|
+
typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, void* reserved);
|
435
356
|
extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
436
357
|
#define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import
|
437
|
-
typedef grpc_channel
|
358
|
+
typedef grpc_channel*(*grpc_secure_channel_create_type)(grpc_channel_credentials* creds, const char* target, const grpc_channel_args* args, void* reserved);
|
438
359
|
extern grpc_secure_channel_create_type grpc_secure_channel_create_import;
|
439
360
|
#define grpc_secure_channel_create grpc_secure_channel_create_import
|
440
|
-
typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials
|
361
|
+
typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials* creds);
|
441
362
|
extern grpc_server_credentials_release_type grpc_server_credentials_release_import;
|
442
363
|
#define grpc_server_credentials_release grpc_server_credentials_release_import
|
443
|
-
typedef
|
364
|
+
typedef grpc_ssl_server_certificate_config*(*grpc_ssl_server_certificate_config_create_type)(const char* pem_root_certs, const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs);
|
365
|
+
extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
|
366
|
+
#define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import
|
367
|
+
typedef void(*grpc_ssl_server_certificate_config_destroy_type)(grpc_ssl_server_certificate_config* config);
|
368
|
+
extern grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
|
369
|
+
#define grpc_ssl_server_certificate_config_destroy grpc_ssl_server_certificate_config_destroy_import
|
370
|
+
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, int force_client_auth, void* reserved);
|
444
371
|
extern grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
|
445
372
|
#define grpc_ssl_server_credentials_create grpc_ssl_server_credentials_create_import
|
446
|
-
typedef grpc_server_credentials
|
373
|
+
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, grpc_ssl_client_certificate_request_type client_certificate_request, void* reserved);
|
447
374
|
extern grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import;
|
448
375
|
#define grpc_ssl_server_credentials_create_ex grpc_ssl_server_credentials_create_ex_import
|
449
|
-
typedef
|
376
|
+
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config* certificate_config);
|
377
|
+
extern grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import;
|
378
|
+
#define grpc_ssl_server_credentials_create_options_using_config grpc_ssl_server_credentials_create_options_using_config_import
|
379
|
+
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_fetcher_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void* user_data);
|
380
|
+
extern grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
|
381
|
+
#define grpc_ssl_server_credentials_create_options_using_config_fetcher grpc_ssl_server_credentials_create_options_using_config_fetcher_import
|
382
|
+
typedef void(*grpc_ssl_server_credentials_options_destroy_type)(grpc_ssl_server_credentials_options* options);
|
383
|
+
extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
|
384
|
+
#define grpc_ssl_server_credentials_options_destroy grpc_ssl_server_credentials_options_destroy_import
|
385
|
+
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options);
|
386
|
+
extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
|
387
|
+
#define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import
|
388
|
+
typedef int(*grpc_server_add_secure_http2_port_type)(grpc_server* server, const char* addr, grpc_server_credentials* creds);
|
450
389
|
extern grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
|
451
390
|
#define grpc_server_add_secure_http2_port grpc_server_add_secure_http2_port_import
|
452
|
-
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call
|
391
|
+
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds);
|
453
392
|
extern grpc_call_set_credentials_type grpc_call_set_credentials_import;
|
454
393
|
#define grpc_call_set_credentials grpc_call_set_credentials_import
|
455
|
-
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials
|
394
|
+
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials* creds, grpc_auth_metadata_processor processor);
|
456
395
|
extern grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
|
457
396
|
#define grpc_server_credentials_set_auth_metadata_processor grpc_server_credentials_set_auth_metadata_processor_import
|
458
|
-
typedef grpc_byte_buffer
|
397
|
+
typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_create_type)(grpc_slice* slices, size_t nslices);
|
459
398
|
extern grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
|
460
399
|
#define grpc_raw_byte_buffer_create grpc_raw_byte_buffer_create_import
|
461
|
-
typedef grpc_byte_buffer
|
400
|
+
typedef grpc_byte_buffer*(*grpc_raw_compressed_byte_buffer_create_type)(grpc_slice* slices, size_t nslices, grpc_compression_algorithm compression);
|
462
401
|
extern grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
|
463
402
|
#define grpc_raw_compressed_byte_buffer_create grpc_raw_compressed_byte_buffer_create_import
|
464
|
-
typedef grpc_byte_buffer
|
403
|
+
typedef grpc_byte_buffer*(*grpc_byte_buffer_copy_type)(grpc_byte_buffer* bb);
|
465
404
|
extern grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
|
466
405
|
#define grpc_byte_buffer_copy grpc_byte_buffer_copy_import
|
467
|
-
typedef size_t(*grpc_byte_buffer_length_type)(grpc_byte_buffer
|
406
|
+
typedef size_t(*grpc_byte_buffer_length_type)(grpc_byte_buffer* bb);
|
468
407
|
extern grpc_byte_buffer_length_type grpc_byte_buffer_length_import;
|
469
408
|
#define grpc_byte_buffer_length grpc_byte_buffer_length_import
|
470
|
-
typedef void(*grpc_byte_buffer_destroy_type)(grpc_byte_buffer
|
409
|
+
typedef void(*grpc_byte_buffer_destroy_type)(grpc_byte_buffer* byte_buffer);
|
471
410
|
extern grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import;
|
472
411
|
#define grpc_byte_buffer_destroy grpc_byte_buffer_destroy_import
|
473
|
-
typedef int(*grpc_byte_buffer_reader_init_type)(grpc_byte_buffer_reader
|
412
|
+
typedef int(*grpc_byte_buffer_reader_init_type)(grpc_byte_buffer_reader* reader, grpc_byte_buffer* buffer);
|
474
413
|
extern grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import;
|
475
414
|
#define grpc_byte_buffer_reader_init grpc_byte_buffer_reader_init_import
|
476
|
-
typedef void(*grpc_byte_buffer_reader_destroy_type)(grpc_byte_buffer_reader
|
415
|
+
typedef void(*grpc_byte_buffer_reader_destroy_type)(grpc_byte_buffer_reader* reader);
|
477
416
|
extern grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import;
|
478
417
|
#define grpc_byte_buffer_reader_destroy grpc_byte_buffer_reader_destroy_import
|
479
|
-
typedef int(*grpc_byte_buffer_reader_next_type)(grpc_byte_buffer_reader
|
418
|
+
typedef int(*grpc_byte_buffer_reader_next_type)(grpc_byte_buffer_reader* reader, grpc_slice* slice);
|
480
419
|
extern grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
|
481
420
|
#define grpc_byte_buffer_reader_next grpc_byte_buffer_reader_next_import
|
482
|
-
typedef grpc_slice(*grpc_byte_buffer_reader_readall_type)(grpc_byte_buffer_reader
|
421
|
+
typedef grpc_slice(*grpc_byte_buffer_reader_readall_type)(grpc_byte_buffer_reader* reader);
|
483
422
|
extern grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
|
484
423
|
#define grpc_byte_buffer_reader_readall grpc_byte_buffer_reader_readall_import
|
485
|
-
typedef grpc_byte_buffer
|
424
|
+
typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_from_reader_type)(grpc_byte_buffer_reader* reader);
|
486
425
|
extern grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import;
|
487
426
|
#define grpc_raw_byte_buffer_from_reader grpc_raw_byte_buffer_from_reader_import
|
488
427
|
typedef grpc_slice(*grpc_slice_ref_type)(grpc_slice s);
|
@@ -494,13 +433,13 @@ extern grpc_slice_unref_type grpc_slice_unref_import;
|
|
494
433
|
typedef grpc_slice(*grpc_slice_copy_type)(grpc_slice s);
|
495
434
|
extern grpc_slice_copy_type grpc_slice_copy_import;
|
496
435
|
#define grpc_slice_copy grpc_slice_copy_import
|
497
|
-
typedef grpc_slice(*grpc_slice_new_type)(void
|
436
|
+
typedef grpc_slice(*grpc_slice_new_type)(void* p, size_t len, void (*destroy)(void*));
|
498
437
|
extern grpc_slice_new_type grpc_slice_new_import;
|
499
438
|
#define grpc_slice_new grpc_slice_new_import
|
500
|
-
typedef grpc_slice(*grpc_slice_new_with_user_data_type)(void
|
439
|
+
typedef grpc_slice(*grpc_slice_new_with_user_data_type)(void* p, size_t len, void (*destroy)(void*), void* user_data);
|
501
440
|
extern grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
|
502
441
|
#define grpc_slice_new_with_user_data grpc_slice_new_with_user_data_import
|
503
|
-
typedef grpc_slice(*grpc_slice_new_with_len_type)(void
|
442
|
+
typedef grpc_slice(*grpc_slice_new_with_len_type)(void* p, size_t len, void (*destroy)(void*, size_t));
|
504
443
|
extern grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
|
505
444
|
#define grpc_slice_new_with_len grpc_slice_new_with_len_import
|
506
445
|
typedef grpc_slice(*grpc_slice_malloc_type)(size_t length);
|
@@ -512,16 +451,16 @@ extern grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
|
|
512
451
|
typedef grpc_slice(*grpc_slice_intern_type)(grpc_slice slice);
|
513
452
|
extern grpc_slice_intern_type grpc_slice_intern_import;
|
514
453
|
#define grpc_slice_intern grpc_slice_intern_import
|
515
|
-
typedef grpc_slice(*grpc_slice_from_copied_string_type)(const char
|
454
|
+
typedef grpc_slice(*grpc_slice_from_copied_string_type)(const char* source);
|
516
455
|
extern grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
|
517
456
|
#define grpc_slice_from_copied_string grpc_slice_from_copied_string_import
|
518
|
-
typedef grpc_slice(*grpc_slice_from_copied_buffer_type)(const char
|
457
|
+
typedef grpc_slice(*grpc_slice_from_copied_buffer_type)(const char* source, size_t len);
|
519
458
|
extern grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
|
520
459
|
#define grpc_slice_from_copied_buffer grpc_slice_from_copied_buffer_import
|
521
|
-
typedef grpc_slice(*grpc_slice_from_static_string_type)(const char
|
460
|
+
typedef grpc_slice(*grpc_slice_from_static_string_type)(const char* source);
|
522
461
|
extern grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
|
523
462
|
#define grpc_slice_from_static_string grpc_slice_from_static_string_import
|
524
|
-
typedef grpc_slice(*grpc_slice_from_static_buffer_type)(const void
|
463
|
+
typedef grpc_slice(*grpc_slice_from_static_buffer_type)(const void* source, size_t len);
|
525
464
|
extern grpc_slice_from_static_buffer_type grpc_slice_from_static_buffer_import;
|
526
465
|
#define grpc_slice_from_static_buffer grpc_slice_from_static_buffer_import
|
527
466
|
typedef grpc_slice(*grpc_slice_sub_type)(grpc_slice s, size_t begin, size_t end);
|
@@ -530,13 +469,13 @@ extern grpc_slice_sub_type grpc_slice_sub_import;
|
|
530
469
|
typedef grpc_slice(*grpc_slice_sub_no_ref_type)(grpc_slice s, size_t begin, size_t end);
|
531
470
|
extern grpc_slice_sub_no_ref_type grpc_slice_sub_no_ref_import;
|
532
471
|
#define grpc_slice_sub_no_ref grpc_slice_sub_no_ref_import
|
533
|
-
typedef grpc_slice(*grpc_slice_split_tail_type)(grpc_slice
|
472
|
+
typedef grpc_slice(*grpc_slice_split_tail_type)(grpc_slice* s, size_t split);
|
534
473
|
extern grpc_slice_split_tail_type grpc_slice_split_tail_import;
|
535
474
|
#define grpc_slice_split_tail grpc_slice_split_tail_import
|
536
|
-
typedef grpc_slice(*grpc_slice_split_tail_maybe_ref_type)(grpc_slice
|
475
|
+
typedef grpc_slice(*grpc_slice_split_tail_maybe_ref_type)(grpc_slice* s, size_t split, grpc_slice_ref_whom ref_whom);
|
537
476
|
extern grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import;
|
538
477
|
#define grpc_slice_split_tail_maybe_ref grpc_slice_split_tail_maybe_ref_import
|
539
|
-
typedef grpc_slice(*grpc_slice_split_head_type)(grpc_slice
|
478
|
+
typedef grpc_slice(*grpc_slice_split_head_type)(grpc_slice* s, size_t split);
|
540
479
|
extern grpc_slice_split_head_type grpc_slice_split_head_import;
|
541
480
|
#define grpc_slice_split_head grpc_slice_split_head_import
|
542
481
|
typedef grpc_slice(*grpc_empty_slice_type)(void);
|
@@ -554,13 +493,10 @@ extern grpc_slice_eq_type grpc_slice_eq_import;
|
|
554
493
|
typedef int(*grpc_slice_cmp_type)(grpc_slice a, grpc_slice b);
|
555
494
|
extern grpc_slice_cmp_type grpc_slice_cmp_import;
|
556
495
|
#define grpc_slice_cmp grpc_slice_cmp_import
|
557
|
-
typedef int(*grpc_slice_str_cmp_type)(grpc_slice a, const char
|
496
|
+
typedef int(*grpc_slice_str_cmp_type)(grpc_slice a, const char* b);
|
558
497
|
extern grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
|
559
498
|
#define grpc_slice_str_cmp grpc_slice_str_cmp_import
|
560
|
-
typedef int(*
|
561
|
-
extern grpc_slice_buf_cmp_type grpc_slice_buf_cmp_import;
|
562
|
-
#define grpc_slice_buf_cmp grpc_slice_buf_cmp_import
|
563
|
-
typedef int(*grpc_slice_buf_start_eq_type)(grpc_slice a, const void *b, size_t blen);
|
499
|
+
typedef int(*grpc_slice_buf_start_eq_type)(grpc_slice a, const void* b, size_t blen);
|
564
500
|
extern grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
|
565
501
|
#define grpc_slice_buf_start_eq grpc_slice_buf_start_eq_import
|
566
502
|
typedef int(*grpc_slice_rchr_type)(grpc_slice s, char c);
|
@@ -581,130 +517,130 @@ extern grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
|
|
581
517
|
typedef grpc_slice(*grpc_slice_dup_type)(grpc_slice a);
|
582
518
|
extern grpc_slice_dup_type grpc_slice_dup_import;
|
583
519
|
#define grpc_slice_dup grpc_slice_dup_import
|
584
|
-
typedef char
|
520
|
+
typedef char*(*grpc_slice_to_c_string_type)(grpc_slice s);
|
585
521
|
extern grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
|
586
522
|
#define grpc_slice_to_c_string grpc_slice_to_c_string_import
|
587
|
-
typedef void(*grpc_slice_buffer_init_type)(grpc_slice_buffer
|
523
|
+
typedef void(*grpc_slice_buffer_init_type)(grpc_slice_buffer* sb);
|
588
524
|
extern grpc_slice_buffer_init_type grpc_slice_buffer_init_import;
|
589
525
|
#define grpc_slice_buffer_init grpc_slice_buffer_init_import
|
590
|
-
typedef void(*grpc_slice_buffer_destroy_type)(grpc_slice_buffer
|
526
|
+
typedef void(*grpc_slice_buffer_destroy_type)(grpc_slice_buffer* sb);
|
591
527
|
extern grpc_slice_buffer_destroy_type grpc_slice_buffer_destroy_import;
|
592
528
|
#define grpc_slice_buffer_destroy grpc_slice_buffer_destroy_import
|
593
|
-
typedef void(*grpc_slice_buffer_add_type)(grpc_slice_buffer
|
529
|
+
typedef void(*grpc_slice_buffer_add_type)(grpc_slice_buffer* sb, grpc_slice slice);
|
594
530
|
extern grpc_slice_buffer_add_type grpc_slice_buffer_add_import;
|
595
531
|
#define grpc_slice_buffer_add grpc_slice_buffer_add_import
|
596
|
-
typedef size_t(*grpc_slice_buffer_add_indexed_type)(grpc_slice_buffer
|
532
|
+
typedef size_t(*grpc_slice_buffer_add_indexed_type)(grpc_slice_buffer* sb, grpc_slice slice);
|
597
533
|
extern grpc_slice_buffer_add_indexed_type grpc_slice_buffer_add_indexed_import;
|
598
534
|
#define grpc_slice_buffer_add_indexed grpc_slice_buffer_add_indexed_import
|
599
|
-
typedef void(*grpc_slice_buffer_addn_type)(grpc_slice_buffer
|
535
|
+
typedef void(*grpc_slice_buffer_addn_type)(grpc_slice_buffer* sb, grpc_slice* slices, size_t n);
|
600
536
|
extern grpc_slice_buffer_addn_type grpc_slice_buffer_addn_import;
|
601
537
|
#define grpc_slice_buffer_addn grpc_slice_buffer_addn_import
|
602
|
-
typedef uint8_t
|
538
|
+
typedef uint8_t*(*grpc_slice_buffer_tiny_add_type)(grpc_slice_buffer* sb, size_t len);
|
603
539
|
extern grpc_slice_buffer_tiny_add_type grpc_slice_buffer_tiny_add_import;
|
604
540
|
#define grpc_slice_buffer_tiny_add grpc_slice_buffer_tiny_add_import
|
605
|
-
typedef void(*grpc_slice_buffer_pop_type)(grpc_slice_buffer
|
541
|
+
typedef void(*grpc_slice_buffer_pop_type)(grpc_slice_buffer* sb);
|
606
542
|
extern grpc_slice_buffer_pop_type grpc_slice_buffer_pop_import;
|
607
543
|
#define grpc_slice_buffer_pop grpc_slice_buffer_pop_import
|
608
|
-
typedef void(*grpc_slice_buffer_reset_and_unref_type)(grpc_slice_buffer
|
544
|
+
typedef void(*grpc_slice_buffer_reset_and_unref_type)(grpc_slice_buffer* sb);
|
609
545
|
extern grpc_slice_buffer_reset_and_unref_type grpc_slice_buffer_reset_and_unref_import;
|
610
546
|
#define grpc_slice_buffer_reset_and_unref grpc_slice_buffer_reset_and_unref_import
|
611
|
-
typedef void(*grpc_slice_buffer_swap_type)(grpc_slice_buffer
|
547
|
+
typedef void(*grpc_slice_buffer_swap_type)(grpc_slice_buffer* a, grpc_slice_buffer* b);
|
612
548
|
extern grpc_slice_buffer_swap_type grpc_slice_buffer_swap_import;
|
613
549
|
#define grpc_slice_buffer_swap grpc_slice_buffer_swap_import
|
614
|
-
typedef void(*grpc_slice_buffer_move_into_type)(grpc_slice_buffer
|
550
|
+
typedef void(*grpc_slice_buffer_move_into_type)(grpc_slice_buffer* src, grpc_slice_buffer* dst);
|
615
551
|
extern grpc_slice_buffer_move_into_type grpc_slice_buffer_move_into_import;
|
616
552
|
#define grpc_slice_buffer_move_into grpc_slice_buffer_move_into_import
|
617
|
-
typedef void(*grpc_slice_buffer_trim_end_type)(grpc_slice_buffer
|
553
|
+
typedef void(*grpc_slice_buffer_trim_end_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* garbage);
|
618
554
|
extern grpc_slice_buffer_trim_end_type grpc_slice_buffer_trim_end_import;
|
619
555
|
#define grpc_slice_buffer_trim_end grpc_slice_buffer_trim_end_import
|
620
|
-
typedef void(*grpc_slice_buffer_move_first_type)(grpc_slice_buffer
|
556
|
+
typedef void(*grpc_slice_buffer_move_first_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* dst);
|
621
557
|
extern grpc_slice_buffer_move_first_type grpc_slice_buffer_move_first_import;
|
622
558
|
#define grpc_slice_buffer_move_first grpc_slice_buffer_move_first_import
|
623
|
-
typedef void(*grpc_slice_buffer_move_first_no_ref_type)(grpc_slice_buffer
|
559
|
+
typedef void(*grpc_slice_buffer_move_first_no_ref_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* dst);
|
624
560
|
extern grpc_slice_buffer_move_first_no_ref_type grpc_slice_buffer_move_first_no_ref_import;
|
625
561
|
#define grpc_slice_buffer_move_first_no_ref grpc_slice_buffer_move_first_no_ref_import
|
626
|
-
typedef void(*grpc_slice_buffer_move_first_into_buffer_type)(grpc_exec_ctx
|
562
|
+
typedef void(*grpc_slice_buffer_move_first_into_buffer_type)(grpc_exec_ctx* exec_ctx, grpc_slice_buffer* src, size_t n, void* dst);
|
627
563
|
extern grpc_slice_buffer_move_first_into_buffer_type grpc_slice_buffer_move_first_into_buffer_import;
|
628
564
|
#define grpc_slice_buffer_move_first_into_buffer grpc_slice_buffer_move_first_into_buffer_import
|
629
|
-
typedef grpc_slice(*grpc_slice_buffer_take_first_type)(grpc_slice_buffer
|
565
|
+
typedef grpc_slice(*grpc_slice_buffer_take_first_type)(grpc_slice_buffer* src);
|
630
566
|
extern grpc_slice_buffer_take_first_type grpc_slice_buffer_take_first_import;
|
631
567
|
#define grpc_slice_buffer_take_first grpc_slice_buffer_take_first_import
|
632
|
-
typedef void(*grpc_slice_buffer_undo_take_first_type)(grpc_slice_buffer
|
568
|
+
typedef void(*grpc_slice_buffer_undo_take_first_type)(grpc_slice_buffer* src, grpc_slice slice);
|
633
569
|
extern grpc_slice_buffer_undo_take_first_type grpc_slice_buffer_undo_take_first_import;
|
634
570
|
#define grpc_slice_buffer_undo_take_first grpc_slice_buffer_undo_take_first_import
|
635
|
-
typedef void
|
571
|
+
typedef void*(*gpr_malloc_type)(size_t size);
|
636
572
|
extern gpr_malloc_type gpr_malloc_import;
|
637
573
|
#define gpr_malloc gpr_malloc_import
|
638
|
-
typedef void
|
574
|
+
typedef void*(*gpr_zalloc_type)(size_t size);
|
639
575
|
extern gpr_zalloc_type gpr_zalloc_import;
|
640
576
|
#define gpr_zalloc gpr_zalloc_import
|
641
|
-
typedef void(*gpr_free_type)(void
|
577
|
+
typedef void(*gpr_free_type)(void* ptr);
|
642
578
|
extern gpr_free_type gpr_free_import;
|
643
579
|
#define gpr_free gpr_free_import
|
644
|
-
typedef void
|
580
|
+
typedef void*(*gpr_realloc_type)(void* p, size_t size);
|
645
581
|
extern gpr_realloc_type gpr_realloc_import;
|
646
582
|
#define gpr_realloc gpr_realloc_import
|
647
|
-
typedef void
|
583
|
+
typedef void*(*gpr_malloc_aligned_type)(size_t size, size_t alignment_log);
|
648
584
|
extern gpr_malloc_aligned_type gpr_malloc_aligned_import;
|
649
585
|
#define gpr_malloc_aligned gpr_malloc_aligned_import
|
650
|
-
typedef void(*gpr_free_aligned_type)(void
|
586
|
+
typedef void(*gpr_free_aligned_type)(void* ptr);
|
651
587
|
extern gpr_free_aligned_type gpr_free_aligned_import;
|
652
588
|
#define gpr_free_aligned gpr_free_aligned_import
|
653
589
|
typedef void(*gpr_set_allocation_functions_type)(gpr_allocation_functions functions);
|
654
590
|
extern gpr_set_allocation_functions_type gpr_set_allocation_functions_import;
|
655
591
|
#define gpr_set_allocation_functions gpr_set_allocation_functions_import
|
656
|
-
typedef gpr_allocation_functions(*gpr_get_allocation_functions_type)();
|
592
|
+
typedef gpr_allocation_functions(*gpr_get_allocation_functions_type)(void);
|
657
593
|
extern gpr_get_allocation_functions_type gpr_get_allocation_functions_import;
|
658
594
|
#define gpr_get_allocation_functions gpr_get_allocation_functions_import
|
659
|
-
typedef gpr_avl(*gpr_avl_create_type)(const gpr_avl_vtable
|
595
|
+
typedef gpr_avl(*gpr_avl_create_type)(const gpr_avl_vtable* vtable);
|
660
596
|
extern gpr_avl_create_type gpr_avl_create_import;
|
661
597
|
#define gpr_avl_create gpr_avl_create_import
|
662
|
-
typedef gpr_avl(*gpr_avl_ref_type)(gpr_avl avl, void
|
598
|
+
typedef gpr_avl(*gpr_avl_ref_type)(gpr_avl avl, void* user_data);
|
663
599
|
extern gpr_avl_ref_type gpr_avl_ref_import;
|
664
600
|
#define gpr_avl_ref gpr_avl_ref_import
|
665
|
-
typedef void(*gpr_avl_unref_type)(gpr_avl avl, void
|
601
|
+
typedef void(*gpr_avl_unref_type)(gpr_avl avl, void* user_data);
|
666
602
|
extern gpr_avl_unref_type gpr_avl_unref_import;
|
667
603
|
#define gpr_avl_unref gpr_avl_unref_import
|
668
|
-
typedef gpr_avl(*gpr_avl_add_type)(gpr_avl avl, void
|
604
|
+
typedef gpr_avl(*gpr_avl_add_type)(gpr_avl avl, void* key, void* value, void* user_data);
|
669
605
|
extern gpr_avl_add_type gpr_avl_add_import;
|
670
606
|
#define gpr_avl_add gpr_avl_add_import
|
671
|
-
typedef gpr_avl(*gpr_avl_remove_type)(gpr_avl avl, void
|
607
|
+
typedef gpr_avl(*gpr_avl_remove_type)(gpr_avl avl, void* key, void* user_data);
|
672
608
|
extern gpr_avl_remove_type gpr_avl_remove_import;
|
673
609
|
#define gpr_avl_remove gpr_avl_remove_import
|
674
|
-
typedef void
|
610
|
+
typedef void*(*gpr_avl_get_type)(gpr_avl avl, void* key, void* user_data);
|
675
611
|
extern gpr_avl_get_type gpr_avl_get_import;
|
676
612
|
#define gpr_avl_get gpr_avl_get_import
|
677
|
-
typedef int(*gpr_avl_maybe_get_type)(gpr_avl avl, void
|
613
|
+
typedef int(*gpr_avl_maybe_get_type)(gpr_avl avl, void* key, void** value, void* user_data);
|
678
614
|
extern gpr_avl_maybe_get_type gpr_avl_maybe_get_import;
|
679
615
|
#define gpr_avl_maybe_get gpr_avl_maybe_get_import
|
680
616
|
typedef int(*gpr_avl_is_empty_type)(gpr_avl avl);
|
681
617
|
extern gpr_avl_is_empty_type gpr_avl_is_empty_import;
|
682
618
|
#define gpr_avl_is_empty gpr_avl_is_empty_import
|
683
|
-
typedef gpr_cmdline
|
619
|
+
typedef gpr_cmdline*(*gpr_cmdline_create_type)(const char* description);
|
684
620
|
extern gpr_cmdline_create_type gpr_cmdline_create_import;
|
685
621
|
#define gpr_cmdline_create gpr_cmdline_create_import
|
686
|
-
typedef void(*gpr_cmdline_add_int_type)(gpr_cmdline
|
622
|
+
typedef void(*gpr_cmdline_add_int_type)(gpr_cmdline* cl, const char* name, const char* help, int* value);
|
687
623
|
extern gpr_cmdline_add_int_type gpr_cmdline_add_int_import;
|
688
624
|
#define gpr_cmdline_add_int gpr_cmdline_add_int_import
|
689
|
-
typedef void(*gpr_cmdline_add_flag_type)(gpr_cmdline
|
625
|
+
typedef void(*gpr_cmdline_add_flag_type)(gpr_cmdline* cl, const char* name, const char* help, int* value);
|
690
626
|
extern gpr_cmdline_add_flag_type gpr_cmdline_add_flag_import;
|
691
627
|
#define gpr_cmdline_add_flag gpr_cmdline_add_flag_import
|
692
|
-
typedef void(*gpr_cmdline_add_string_type)(gpr_cmdline
|
628
|
+
typedef void(*gpr_cmdline_add_string_type)(gpr_cmdline* cl, const char* name, const char* help, const char** value);
|
693
629
|
extern gpr_cmdline_add_string_type gpr_cmdline_add_string_import;
|
694
630
|
#define gpr_cmdline_add_string gpr_cmdline_add_string_import
|
695
|
-
typedef void(*gpr_cmdline_on_extra_arg_type)(gpr_cmdline
|
631
|
+
typedef void(*gpr_cmdline_on_extra_arg_type)(gpr_cmdline* cl, const char* name, const char* help, void (*on_extra_arg)(void* user_data, const char* arg), void* user_data);
|
696
632
|
extern gpr_cmdline_on_extra_arg_type gpr_cmdline_on_extra_arg_import;
|
697
633
|
#define gpr_cmdline_on_extra_arg gpr_cmdline_on_extra_arg_import
|
698
|
-
typedef void(*gpr_cmdline_set_survive_failure_type)(gpr_cmdline
|
634
|
+
typedef void(*gpr_cmdline_set_survive_failure_type)(gpr_cmdline* cl);
|
699
635
|
extern gpr_cmdline_set_survive_failure_type gpr_cmdline_set_survive_failure_import;
|
700
636
|
#define gpr_cmdline_set_survive_failure gpr_cmdline_set_survive_failure_import
|
701
|
-
typedef int(*gpr_cmdline_parse_type)(gpr_cmdline
|
637
|
+
typedef int(*gpr_cmdline_parse_type)(gpr_cmdline* cl, int argc, char** argv);
|
702
638
|
extern gpr_cmdline_parse_type gpr_cmdline_parse_import;
|
703
639
|
#define gpr_cmdline_parse gpr_cmdline_parse_import
|
704
|
-
typedef void(*gpr_cmdline_destroy_type)(gpr_cmdline
|
640
|
+
typedef void(*gpr_cmdline_destroy_type)(gpr_cmdline* cl);
|
705
641
|
extern gpr_cmdline_destroy_type gpr_cmdline_destroy_import;
|
706
642
|
#define gpr_cmdline_destroy gpr_cmdline_destroy_import
|
707
|
-
typedef char
|
643
|
+
typedef char*(*gpr_cmdline_usage_string_type)(gpr_cmdline* cl, const char* argv0);
|
708
644
|
extern gpr_cmdline_usage_string_type gpr_cmdline_usage_string_import;
|
709
645
|
#define gpr_cmdline_usage_string gpr_cmdline_usage_string_import
|
710
646
|
typedef unsigned(*gpr_cpu_num_cores_type)(void);
|
@@ -713,187 +649,187 @@ extern gpr_cpu_num_cores_type gpr_cpu_num_cores_import;
|
|
713
649
|
typedef unsigned(*gpr_cpu_current_cpu_type)(void);
|
714
650
|
extern gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import;
|
715
651
|
#define gpr_cpu_current_cpu gpr_cpu_current_cpu_import
|
716
|
-
typedef gpr_histogram
|
652
|
+
typedef gpr_histogram*(*gpr_histogram_create_type)(double resolution, double max_bucket_start);
|
717
653
|
extern gpr_histogram_create_type gpr_histogram_create_import;
|
718
654
|
#define gpr_histogram_create gpr_histogram_create_import
|
719
|
-
typedef void(*gpr_histogram_destroy_type)(gpr_histogram
|
655
|
+
typedef void(*gpr_histogram_destroy_type)(gpr_histogram* h);
|
720
656
|
extern gpr_histogram_destroy_type gpr_histogram_destroy_import;
|
721
657
|
#define gpr_histogram_destroy gpr_histogram_destroy_import
|
722
|
-
typedef void(*gpr_histogram_add_type)(gpr_histogram
|
658
|
+
typedef void(*gpr_histogram_add_type)(gpr_histogram* h, double x);
|
723
659
|
extern gpr_histogram_add_type gpr_histogram_add_import;
|
724
660
|
#define gpr_histogram_add gpr_histogram_add_import
|
725
|
-
typedef int(*gpr_histogram_merge_type)(gpr_histogram
|
661
|
+
typedef int(*gpr_histogram_merge_type)(gpr_histogram* dst, const gpr_histogram* src);
|
726
662
|
extern gpr_histogram_merge_type gpr_histogram_merge_import;
|
727
663
|
#define gpr_histogram_merge gpr_histogram_merge_import
|
728
|
-
typedef double(*gpr_histogram_percentile_type)(gpr_histogram
|
664
|
+
typedef double(*gpr_histogram_percentile_type)(gpr_histogram* histogram, double percentile);
|
729
665
|
extern gpr_histogram_percentile_type gpr_histogram_percentile_import;
|
730
666
|
#define gpr_histogram_percentile gpr_histogram_percentile_import
|
731
|
-
typedef double(*gpr_histogram_mean_type)(gpr_histogram
|
667
|
+
typedef double(*gpr_histogram_mean_type)(gpr_histogram* histogram);
|
732
668
|
extern gpr_histogram_mean_type gpr_histogram_mean_import;
|
733
669
|
#define gpr_histogram_mean gpr_histogram_mean_import
|
734
|
-
typedef double(*gpr_histogram_stddev_type)(gpr_histogram
|
670
|
+
typedef double(*gpr_histogram_stddev_type)(gpr_histogram* histogram);
|
735
671
|
extern gpr_histogram_stddev_type gpr_histogram_stddev_import;
|
736
672
|
#define gpr_histogram_stddev gpr_histogram_stddev_import
|
737
|
-
typedef double(*gpr_histogram_variance_type)(gpr_histogram
|
673
|
+
typedef double(*gpr_histogram_variance_type)(gpr_histogram* histogram);
|
738
674
|
extern gpr_histogram_variance_type gpr_histogram_variance_import;
|
739
675
|
#define gpr_histogram_variance gpr_histogram_variance_import
|
740
|
-
typedef double(*gpr_histogram_maximum_type)(gpr_histogram
|
676
|
+
typedef double(*gpr_histogram_maximum_type)(gpr_histogram* histogram);
|
741
677
|
extern gpr_histogram_maximum_type gpr_histogram_maximum_import;
|
742
678
|
#define gpr_histogram_maximum gpr_histogram_maximum_import
|
743
|
-
typedef double(*gpr_histogram_minimum_type)(gpr_histogram
|
679
|
+
typedef double(*gpr_histogram_minimum_type)(gpr_histogram* histogram);
|
744
680
|
extern gpr_histogram_minimum_type gpr_histogram_minimum_import;
|
745
681
|
#define gpr_histogram_minimum gpr_histogram_minimum_import
|
746
|
-
typedef double(*gpr_histogram_count_type)(gpr_histogram
|
682
|
+
typedef double(*gpr_histogram_count_type)(gpr_histogram* histogram);
|
747
683
|
extern gpr_histogram_count_type gpr_histogram_count_import;
|
748
684
|
#define gpr_histogram_count gpr_histogram_count_import
|
749
|
-
typedef double(*gpr_histogram_sum_type)(gpr_histogram
|
685
|
+
typedef double(*gpr_histogram_sum_type)(gpr_histogram* histogram);
|
750
686
|
extern gpr_histogram_sum_type gpr_histogram_sum_import;
|
751
687
|
#define gpr_histogram_sum gpr_histogram_sum_import
|
752
|
-
typedef double(*gpr_histogram_sum_of_squares_type)(gpr_histogram
|
688
|
+
typedef double(*gpr_histogram_sum_of_squares_type)(gpr_histogram* histogram);
|
753
689
|
extern gpr_histogram_sum_of_squares_type gpr_histogram_sum_of_squares_import;
|
754
690
|
#define gpr_histogram_sum_of_squares gpr_histogram_sum_of_squares_import
|
755
|
-
typedef const uint32_t
|
691
|
+
typedef const uint32_t*(*gpr_histogram_get_contents_type)(gpr_histogram* histogram, size_t* count);
|
756
692
|
extern gpr_histogram_get_contents_type gpr_histogram_get_contents_import;
|
757
693
|
#define gpr_histogram_get_contents gpr_histogram_get_contents_import
|
758
|
-
typedef void(*gpr_histogram_merge_contents_type)(gpr_histogram
|
694
|
+
typedef void(*gpr_histogram_merge_contents_type)(gpr_histogram* histogram, const uint32_t* data, size_t data_count, double min_seen, double max_seen, double sum, double sum_of_squares, double count);
|
759
695
|
extern gpr_histogram_merge_contents_type gpr_histogram_merge_contents_import;
|
760
696
|
#define gpr_histogram_merge_contents gpr_histogram_merge_contents_import
|
761
|
-
typedef int(*gpr_join_host_port_type)(char
|
697
|
+
typedef int(*gpr_join_host_port_type)(char** out, const char* host, int port);
|
762
698
|
extern gpr_join_host_port_type gpr_join_host_port_import;
|
763
699
|
#define gpr_join_host_port gpr_join_host_port_import
|
764
|
-
typedef int(*gpr_split_host_port_type)(const char
|
700
|
+
typedef int(*gpr_split_host_port_type)(const char* name, char** host, char** port);
|
765
701
|
extern gpr_split_host_port_type gpr_split_host_port_import;
|
766
702
|
#define gpr_split_host_port gpr_split_host_port_import
|
767
|
-
typedef const char
|
703
|
+
typedef const char*(*gpr_log_severity_string_type)(gpr_log_severity severity);
|
768
704
|
extern gpr_log_severity_string_type gpr_log_severity_string_import;
|
769
705
|
#define gpr_log_severity_string gpr_log_severity_string_import
|
770
|
-
typedef void(*gpr_log_type)(const char
|
706
|
+
typedef void(*gpr_log_type)(const char* file, int line, gpr_log_severity severity, const char* format, ...) GPR_PRINT_FORMAT_CHECK(4, 5);
|
771
707
|
extern gpr_log_type gpr_log_import;
|
772
708
|
#define gpr_log gpr_log_import
|
773
|
-
typedef void(*gpr_log_message_type)(const char
|
709
|
+
typedef void(*gpr_log_message_type)(const char* file, int line, gpr_log_severity severity, const char* message);
|
774
710
|
extern gpr_log_message_type gpr_log_message_import;
|
775
711
|
#define gpr_log_message gpr_log_message_import
|
776
712
|
typedef void(*gpr_set_log_verbosity_type)(gpr_log_severity min_severity_to_print);
|
777
713
|
extern gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
|
778
714
|
#define gpr_set_log_verbosity gpr_set_log_verbosity_import
|
779
|
-
typedef void(*gpr_log_verbosity_init_type)();
|
715
|
+
typedef void(*gpr_log_verbosity_init_type)(void);
|
780
716
|
extern gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
|
781
717
|
#define gpr_log_verbosity_init gpr_log_verbosity_init_import
|
782
718
|
typedef void(*gpr_set_log_function_type)(gpr_log_func func);
|
783
719
|
extern gpr_set_log_function_type gpr_set_log_function_import;
|
784
720
|
#define gpr_set_log_function gpr_set_log_function_import
|
785
|
-
typedef char
|
721
|
+
typedef char*(*gpr_format_message_type)(int messageid);
|
786
722
|
extern gpr_format_message_type gpr_format_message_import;
|
787
723
|
#define gpr_format_message gpr_format_message_import
|
788
|
-
typedef char
|
724
|
+
typedef char*(*gpr_strdup_type)(const char* src);
|
789
725
|
extern gpr_strdup_type gpr_strdup_import;
|
790
726
|
#define gpr_strdup gpr_strdup_import
|
791
|
-
typedef int(*gpr_asprintf_type)(char
|
727
|
+
typedef int(*gpr_asprintf_type)(char** strp, const char* format, ...) GPR_PRINT_FORMAT_CHECK(2, 3);
|
792
728
|
extern gpr_asprintf_type gpr_asprintf_import;
|
793
729
|
#define gpr_asprintf gpr_asprintf_import
|
794
|
-
typedef const char
|
730
|
+
typedef const char*(*gpr_subprocess_binary_extension_type)();
|
795
731
|
extern gpr_subprocess_binary_extension_type gpr_subprocess_binary_extension_import;
|
796
732
|
#define gpr_subprocess_binary_extension gpr_subprocess_binary_extension_import
|
797
|
-
typedef gpr_subprocess
|
733
|
+
typedef gpr_subprocess*(*gpr_subprocess_create_type)(int argc, const char** argv);
|
798
734
|
extern gpr_subprocess_create_type gpr_subprocess_create_import;
|
799
735
|
#define gpr_subprocess_create gpr_subprocess_create_import
|
800
|
-
typedef void(*gpr_subprocess_destroy_type)(gpr_subprocess
|
736
|
+
typedef void(*gpr_subprocess_destroy_type)(gpr_subprocess* p);
|
801
737
|
extern gpr_subprocess_destroy_type gpr_subprocess_destroy_import;
|
802
738
|
#define gpr_subprocess_destroy gpr_subprocess_destroy_import
|
803
|
-
typedef int(*gpr_subprocess_join_type)(gpr_subprocess
|
739
|
+
typedef int(*gpr_subprocess_join_type)(gpr_subprocess* p);
|
804
740
|
extern gpr_subprocess_join_type gpr_subprocess_join_import;
|
805
741
|
#define gpr_subprocess_join gpr_subprocess_join_import
|
806
|
-
typedef void(*gpr_subprocess_interrupt_type)(gpr_subprocess
|
742
|
+
typedef void(*gpr_subprocess_interrupt_type)(gpr_subprocess* p);
|
807
743
|
extern gpr_subprocess_interrupt_type gpr_subprocess_interrupt_import;
|
808
744
|
#define gpr_subprocess_interrupt gpr_subprocess_interrupt_import
|
809
|
-
typedef void(*gpr_mu_init_type)(gpr_mu
|
745
|
+
typedef void(*gpr_mu_init_type)(gpr_mu* mu);
|
810
746
|
extern gpr_mu_init_type gpr_mu_init_import;
|
811
747
|
#define gpr_mu_init gpr_mu_init_import
|
812
|
-
typedef void(*gpr_mu_destroy_type)(gpr_mu
|
748
|
+
typedef void(*gpr_mu_destroy_type)(gpr_mu* mu);
|
813
749
|
extern gpr_mu_destroy_type gpr_mu_destroy_import;
|
814
750
|
#define gpr_mu_destroy gpr_mu_destroy_import
|
815
|
-
typedef void(*gpr_mu_lock_type)(gpr_mu
|
751
|
+
typedef void(*gpr_mu_lock_type)(gpr_mu* mu);
|
816
752
|
extern gpr_mu_lock_type gpr_mu_lock_import;
|
817
753
|
#define gpr_mu_lock gpr_mu_lock_import
|
818
|
-
typedef void(*gpr_mu_unlock_type)(gpr_mu
|
754
|
+
typedef void(*gpr_mu_unlock_type)(gpr_mu* mu);
|
819
755
|
extern gpr_mu_unlock_type gpr_mu_unlock_import;
|
820
756
|
#define gpr_mu_unlock gpr_mu_unlock_import
|
821
|
-
typedef int(*gpr_mu_trylock_type)(gpr_mu
|
757
|
+
typedef int(*gpr_mu_trylock_type)(gpr_mu* mu);
|
822
758
|
extern gpr_mu_trylock_type gpr_mu_trylock_import;
|
823
759
|
#define gpr_mu_trylock gpr_mu_trylock_import
|
824
|
-
typedef void(*gpr_cv_init_type)(gpr_cv
|
760
|
+
typedef void(*gpr_cv_init_type)(gpr_cv* cv);
|
825
761
|
extern gpr_cv_init_type gpr_cv_init_import;
|
826
762
|
#define gpr_cv_init gpr_cv_init_import
|
827
|
-
typedef void(*gpr_cv_destroy_type)(gpr_cv
|
763
|
+
typedef void(*gpr_cv_destroy_type)(gpr_cv* cv);
|
828
764
|
extern gpr_cv_destroy_type gpr_cv_destroy_import;
|
829
765
|
#define gpr_cv_destroy gpr_cv_destroy_import
|
830
|
-
typedef int(*gpr_cv_wait_type)(gpr_cv
|
766
|
+
typedef int(*gpr_cv_wait_type)(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
|
831
767
|
extern gpr_cv_wait_type gpr_cv_wait_import;
|
832
768
|
#define gpr_cv_wait gpr_cv_wait_import
|
833
|
-
typedef void(*gpr_cv_signal_type)(gpr_cv
|
769
|
+
typedef void(*gpr_cv_signal_type)(gpr_cv* cv);
|
834
770
|
extern gpr_cv_signal_type gpr_cv_signal_import;
|
835
771
|
#define gpr_cv_signal gpr_cv_signal_import
|
836
|
-
typedef void(*gpr_cv_broadcast_type)(gpr_cv
|
772
|
+
typedef void(*gpr_cv_broadcast_type)(gpr_cv* cv);
|
837
773
|
extern gpr_cv_broadcast_type gpr_cv_broadcast_import;
|
838
774
|
#define gpr_cv_broadcast gpr_cv_broadcast_import
|
839
|
-
typedef void(*gpr_once_init_type)(gpr_once
|
775
|
+
typedef void(*gpr_once_init_type)(gpr_once* once, void (*init_routine)(void));
|
840
776
|
extern gpr_once_init_type gpr_once_init_import;
|
841
777
|
#define gpr_once_init gpr_once_init_import
|
842
|
-
typedef void(*gpr_event_init_type)(gpr_event
|
778
|
+
typedef void(*gpr_event_init_type)(gpr_event* ev);
|
843
779
|
extern gpr_event_init_type gpr_event_init_import;
|
844
780
|
#define gpr_event_init gpr_event_init_import
|
845
|
-
typedef void(*gpr_event_set_type)(gpr_event
|
781
|
+
typedef void(*gpr_event_set_type)(gpr_event* ev, void* value);
|
846
782
|
extern gpr_event_set_type gpr_event_set_import;
|
847
783
|
#define gpr_event_set gpr_event_set_import
|
848
|
-
typedef void
|
784
|
+
typedef void*(*gpr_event_get_type)(gpr_event* ev);
|
849
785
|
extern gpr_event_get_type gpr_event_get_import;
|
850
786
|
#define gpr_event_get gpr_event_get_import
|
851
|
-
typedef void
|
787
|
+
typedef void*(*gpr_event_wait_type)(gpr_event* ev, gpr_timespec abs_deadline);
|
852
788
|
extern gpr_event_wait_type gpr_event_wait_import;
|
853
789
|
#define gpr_event_wait gpr_event_wait_import
|
854
|
-
typedef void(*gpr_ref_init_type)(gpr_refcount
|
790
|
+
typedef void(*gpr_ref_init_type)(gpr_refcount* r, int n);
|
855
791
|
extern gpr_ref_init_type gpr_ref_init_import;
|
856
792
|
#define gpr_ref_init gpr_ref_init_import
|
857
|
-
typedef void(*gpr_ref_type)(gpr_refcount
|
793
|
+
typedef void(*gpr_ref_type)(gpr_refcount* r);
|
858
794
|
extern gpr_ref_type gpr_ref_import;
|
859
795
|
#define gpr_ref gpr_ref_import
|
860
|
-
typedef void(*gpr_ref_non_zero_type)(gpr_refcount
|
796
|
+
typedef void(*gpr_ref_non_zero_type)(gpr_refcount* r);
|
861
797
|
extern gpr_ref_non_zero_type gpr_ref_non_zero_import;
|
862
798
|
#define gpr_ref_non_zero gpr_ref_non_zero_import
|
863
|
-
typedef void(*gpr_refn_type)(gpr_refcount
|
799
|
+
typedef void(*gpr_refn_type)(gpr_refcount* r, int n);
|
864
800
|
extern gpr_refn_type gpr_refn_import;
|
865
801
|
#define gpr_refn gpr_refn_import
|
866
|
-
typedef int(*gpr_unref_type)(gpr_refcount
|
802
|
+
typedef int(*gpr_unref_type)(gpr_refcount* r);
|
867
803
|
extern gpr_unref_type gpr_unref_import;
|
868
804
|
#define gpr_unref gpr_unref_import
|
869
|
-
typedef int(*gpr_ref_is_unique_type)(gpr_refcount
|
805
|
+
typedef int(*gpr_ref_is_unique_type)(gpr_refcount* r);
|
870
806
|
extern gpr_ref_is_unique_type gpr_ref_is_unique_import;
|
871
807
|
#define gpr_ref_is_unique gpr_ref_is_unique_import
|
872
|
-
typedef void(*gpr_stats_init_type)(gpr_stats_counter
|
808
|
+
typedef void(*gpr_stats_init_type)(gpr_stats_counter* c, intptr_t n);
|
873
809
|
extern gpr_stats_init_type gpr_stats_init_import;
|
874
810
|
#define gpr_stats_init gpr_stats_init_import
|
875
|
-
typedef void(*gpr_stats_inc_type)(gpr_stats_counter
|
811
|
+
typedef void(*gpr_stats_inc_type)(gpr_stats_counter* c, intptr_t inc);
|
876
812
|
extern gpr_stats_inc_type gpr_stats_inc_import;
|
877
813
|
#define gpr_stats_inc gpr_stats_inc_import
|
878
|
-
typedef intptr_t(*gpr_stats_read_type)(const gpr_stats_counter
|
814
|
+
typedef intptr_t(*gpr_stats_read_type)(const gpr_stats_counter* c);
|
879
815
|
extern gpr_stats_read_type gpr_stats_read_import;
|
880
816
|
#define gpr_stats_read gpr_stats_read_import
|
881
|
-
typedef int(*gpr_thd_new_type)(gpr_thd_id
|
817
|
+
typedef int(*gpr_thd_new_type)(gpr_thd_id* t, void (*thd_body)(void* arg), void* arg, const gpr_thd_options* options);
|
882
818
|
extern gpr_thd_new_type gpr_thd_new_import;
|
883
819
|
#define gpr_thd_new gpr_thd_new_import
|
884
820
|
typedef gpr_thd_options(*gpr_thd_options_default_type)(void);
|
885
821
|
extern gpr_thd_options_default_type gpr_thd_options_default_import;
|
886
822
|
#define gpr_thd_options_default gpr_thd_options_default_import
|
887
|
-
typedef void(*gpr_thd_options_set_detached_type)(gpr_thd_options
|
823
|
+
typedef void(*gpr_thd_options_set_detached_type)(gpr_thd_options* options);
|
888
824
|
extern gpr_thd_options_set_detached_type gpr_thd_options_set_detached_import;
|
889
825
|
#define gpr_thd_options_set_detached gpr_thd_options_set_detached_import
|
890
|
-
typedef void(*gpr_thd_options_set_joinable_type)(gpr_thd_options
|
826
|
+
typedef void(*gpr_thd_options_set_joinable_type)(gpr_thd_options* options);
|
891
827
|
extern gpr_thd_options_set_joinable_type gpr_thd_options_set_joinable_import;
|
892
828
|
#define gpr_thd_options_set_joinable gpr_thd_options_set_joinable_import
|
893
|
-
typedef int(*gpr_thd_options_is_detached_type)(const gpr_thd_options
|
829
|
+
typedef int(*gpr_thd_options_is_detached_type)(const gpr_thd_options* options);
|
894
830
|
extern gpr_thd_options_is_detached_type gpr_thd_options_is_detached_import;
|
895
831
|
#define gpr_thd_options_is_detached gpr_thd_options_is_detached_import
|
896
|
-
typedef int(*gpr_thd_options_is_joinable_type)(const gpr_thd_options
|
832
|
+
typedef int(*gpr_thd_options_is_joinable_type)(const gpr_thd_options* options);
|
897
833
|
extern gpr_thd_options_is_joinable_type gpr_thd_options_is_joinable_import;
|
898
834
|
#define gpr_thd_options_is_joinable gpr_thd_options_is_joinable_import
|
899
835
|
typedef gpr_thd_id(*gpr_thd_currentid_type)(void);
|