grpc 1.62.0-x86_64-darwin → 1.64.0.pre1-x86_64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/src/ruby/ext/grpc/extconf.rb +0 -3
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_call_credentials.h +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +130 -132
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +196 -198
- data/src/ruby/ext/grpc/rb_server.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.h +1 -0
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.h +1 -0
- data/src/ruby/lib/grpc/2.7/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/3.0/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/3.1/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/3.2/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/3.3/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/generic/active_call.rb +8 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_spec.rb +25 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e044c6eca67a948a414a196d987e7ffe4687bb6e6be484fc788cac41a1a6218
|
4
|
+
data.tar.gz: 64d5fadd7659f04fba3821b294d2b6323d661d39ea90a7cf22e0eaa9152dd88b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0331b9dbf939619ad7a47f249d0db723c25593f8a3cea0acff24fd24e2e2ff074f1aa823fb7b7b56c327decfd5965ae6347b504c61bb51d874cc4f8910d483e6
|
7
|
+
data.tar.gz: 497ba07d4fd96ca7100965d33428906d14517e7152ff1141b1bff7640359701a930ea8be4d0468fa33b4dd0508cb18d72db0a615025e3fc38dedfe076803bf55
|
@@ -100,8 +100,6 @@ ENV['EMBED_OPENSSL'] = (RUBY_ENGINE != 'truffleruby').to_s
|
|
100
100
|
# Don't embed on TruffleRuby (the system zlib is already linked for the zlib C extension, slow build times)
|
101
101
|
ENV['EMBED_ZLIB'] = (RUBY_ENGINE != 'truffleruby').to_s
|
102
102
|
|
103
|
-
ENV['EMBED_CARES'] = 'true'
|
104
|
-
|
105
103
|
ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG']
|
106
104
|
if apple_toolchain && !cross_compiling
|
107
105
|
if RUBY_PLATFORM =~ /arm64/
|
@@ -192,7 +190,6 @@ if grpc_config == 'dbg'
|
|
192
190
|
$CFLAGS << ' -O0'
|
193
191
|
end
|
194
192
|
|
195
|
-
$LDFLAGS << ' -Wl,-wrap,memcpy' if linux
|
196
193
|
# Do not statically link standard libraries on TruffleRuby as this does not work when compiling to bitcode
|
197
194
|
if linux && RUBY_ENGINE != 'truffleruby'
|
198
195
|
$LDFLAGS << ' -static-libgcc -static-libstdc++'
|
data/src/ruby/ext/grpc/rb_grpc.c
CHANGED
@@ -467,6 +467,7 @@ void Init_grpc_c() {
|
|
467
467
|
grpc_rb_mGrpcCore = rb_define_module_under(grpc_rb_mGRPC, "Core");
|
468
468
|
grpc_rb_sNewServerRpc = rb_struct_define(
|
469
469
|
"NewServerRpc", "method", "host", "deadline", "metadata", "call", NULL);
|
470
|
+
rb_global_variable(&grpc_rb_sStatus);
|
470
471
|
grpc_rb_sStatus = rb_const_get(rb_cStruct, rb_intern("Status"));
|
471
472
|
sym_code = ID2SYM(rb_intern("code"));
|
472
473
|
sym_details = ID2SYM(rb_intern("details"));
|
@@ -42,6 +42,70 @@ grpc_compression_options_init_type grpc_compression_options_init_import;
|
|
42
42
|
grpc_compression_options_enable_algorithm_type grpc_compression_options_enable_algorithm_import;
|
43
43
|
grpc_compression_options_disable_algorithm_type grpc_compression_options_disable_algorithm_import;
|
44
44
|
grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import;
|
45
|
+
grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import;
|
46
|
+
grpc_external_account_credentials_create_type grpc_external_account_credentials_create_import;
|
47
|
+
grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import;
|
48
|
+
grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import;
|
49
|
+
grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import;
|
50
|
+
grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
|
51
|
+
grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
|
52
|
+
grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
|
53
|
+
grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
54
|
+
grpc_call_credentials_release_type grpc_call_credentials_release_import;
|
55
|
+
grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
|
56
|
+
grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
|
57
|
+
grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
|
58
|
+
grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
|
59
|
+
grpc_ssl_credentials_create_ex_type grpc_ssl_credentials_create_ex_import;
|
60
|
+
grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
|
61
|
+
grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import;
|
62
|
+
grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import;
|
63
|
+
grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
|
64
|
+
grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
|
65
|
+
grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
|
66
|
+
grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
|
67
|
+
grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import;
|
68
|
+
grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import;
|
69
|
+
grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import;
|
70
|
+
grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import;
|
71
|
+
grpc_alts_credentials_server_options_create_type grpc_alts_credentials_server_options_create_import;
|
72
|
+
grpc_alts_credentials_client_options_add_target_service_account_type grpc_alts_credentials_client_options_add_target_service_account_import;
|
73
|
+
grpc_alts_credentials_options_destroy_type grpc_alts_credentials_options_destroy_import;
|
74
|
+
grpc_alts_credentials_create_type grpc_alts_credentials_create_import;
|
75
|
+
grpc_alts_server_credentials_create_type grpc_alts_server_credentials_create_import;
|
76
|
+
grpc_tls_identity_pairs_create_type grpc_tls_identity_pairs_create_import;
|
77
|
+
grpc_tls_identity_pairs_add_pair_type grpc_tls_identity_pairs_add_pair_import;
|
78
|
+
grpc_tls_identity_pairs_destroy_type grpc_tls_identity_pairs_destroy_import;
|
79
|
+
grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provider_static_data_create_import;
|
80
|
+
grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
|
81
|
+
grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
|
82
|
+
grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
|
83
|
+
grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import;
|
84
|
+
grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import;
|
85
|
+
grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import;
|
86
|
+
grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import;
|
87
|
+
grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
|
88
|
+
grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
|
89
|
+
grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
|
90
|
+
grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
|
91
|
+
grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
|
92
|
+
grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
|
93
|
+
grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
|
94
|
+
grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
|
95
|
+
grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import;
|
96
|
+
grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import;
|
97
|
+
grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import;
|
98
|
+
grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import;
|
99
|
+
grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
|
100
|
+
grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import;
|
101
|
+
grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
|
102
|
+
grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
|
103
|
+
grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
|
104
|
+
grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
|
105
|
+
grpc_local_credentials_create_type grpc_local_credentials_create_import;
|
106
|
+
grpc_local_server_credentials_create_type grpc_local_server_credentials_create_import;
|
107
|
+
grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
|
108
|
+
grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
|
45
109
|
grpc_metadata_array_init_type grpc_metadata_array_init_import;
|
46
110
|
grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import;
|
47
111
|
grpc_call_details_init_type grpc_call_details_init_import;
|
@@ -64,7 +128,6 @@ grpc_completion_queue_destroy_type grpc_completion_queue_destroy_import;
|
|
64
128
|
grpc_completion_queue_thread_local_cache_init_type grpc_completion_queue_thread_local_cache_init_import;
|
65
129
|
grpc_completion_queue_thread_local_cache_flush_type grpc_completion_queue_thread_local_cache_flush_import;
|
66
130
|
grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import;
|
67
|
-
grpc_channel_num_external_connectivity_watchers_type grpc_channel_num_external_connectivity_watchers_import;
|
68
131
|
grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import;
|
69
132
|
grpc_channel_support_connectivity_watcher_type grpc_channel_support_connectivity_watcher_import;
|
70
133
|
grpc_channel_create_call_type grpc_channel_create_call_import;
|
@@ -88,6 +151,7 @@ grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import;
|
|
88
151
|
grpc_call_failed_before_recv_message_type grpc_call_failed_before_recv_message_import;
|
89
152
|
grpc_call_ref_type grpc_call_ref_import;
|
90
153
|
grpc_call_unref_type grpc_call_unref_import;
|
154
|
+
grpc_call_set_credentials_type grpc_call_set_credentials_import;
|
91
155
|
grpc_server_request_call_type grpc_server_request_call_import;
|
92
156
|
grpc_server_register_method_type grpc_server_register_method_import;
|
93
157
|
grpc_server_request_registered_call_type grpc_server_request_registered_call_import;
|
@@ -134,74 +198,9 @@ grpc_auth_context_release_type grpc_auth_context_release_import;
|
|
134
198
|
grpc_auth_context_add_property_type grpc_auth_context_add_property_import;
|
135
199
|
grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring_property_import;
|
136
200
|
grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import;
|
137
|
-
grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import;
|
138
|
-
grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import;
|
139
|
-
grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import;
|
140
|
-
grpc_call_credentials_release_type grpc_call_credentials_release_import;
|
141
|
-
grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
|
142
|
-
grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
|
143
|
-
grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
|
144
|
-
grpc_ssl_credentials_create_ex_type grpc_ssl_credentials_create_ex_import;
|
145
|
-
grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import;
|
146
|
-
grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import;
|
147
|
-
grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import;
|
148
|
-
grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import;
|
149
|
-
grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import;
|
150
|
-
grpc_external_account_credentials_create_type grpc_external_account_credentials_create_import;
|
151
|
-
grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import;
|
152
|
-
grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import;
|
153
|
-
grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import;
|
154
|
-
grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
|
155
|
-
grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
|
156
|
-
grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
|
157
|
-
grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
158
|
-
grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
|
159
|
-
grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
|
160
|
-
grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
|
161
|
-
grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import;
|
162
|
-
grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import;
|
163
|
-
grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
|
164
|
-
grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
|
165
|
-
grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
|
166
|
-
grpc_call_set_credentials_type grpc_call_set_credentials_import;
|
167
|
-
grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
|
168
|
-
grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import;
|
169
|
-
grpc_alts_credentials_server_options_create_type grpc_alts_credentials_server_options_create_import;
|
170
|
-
grpc_alts_credentials_client_options_add_target_service_account_type grpc_alts_credentials_client_options_add_target_service_account_import;
|
171
|
-
grpc_alts_credentials_options_destroy_type grpc_alts_credentials_options_destroy_import;
|
172
|
-
grpc_alts_credentials_create_type grpc_alts_credentials_create_import;
|
173
|
-
grpc_alts_server_credentials_create_type grpc_alts_server_credentials_create_import;
|
174
|
-
grpc_local_credentials_create_type grpc_local_credentials_create_import;
|
175
|
-
grpc_local_server_credentials_create_type grpc_local_server_credentials_create_import;
|
176
|
-
grpc_tls_identity_pairs_create_type grpc_tls_identity_pairs_create_import;
|
177
|
-
grpc_tls_identity_pairs_add_pair_type grpc_tls_identity_pairs_add_pair_import;
|
178
|
-
grpc_tls_identity_pairs_destroy_type grpc_tls_identity_pairs_destroy_import;
|
179
|
-
grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provider_static_data_create_import;
|
180
|
-
grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
|
181
|
-
grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
|
182
|
-
grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
|
183
|
-
grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import;
|
184
|
-
grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import;
|
185
|
-
grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import;
|
186
|
-
grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import;
|
187
|
-
grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
|
188
|
-
grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
|
189
|
-
grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
|
190
|
-
grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
|
191
|
-
grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
|
192
|
-
grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
|
193
|
-
grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
|
194
|
-
grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
|
195
|
-
grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import;
|
196
|
-
grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
|
197
|
-
grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
|
198
|
-
grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
|
199
|
-
grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
|
200
|
-
grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
|
201
201
|
grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
|
202
202
|
grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
|
203
203
|
grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
|
204
|
-
grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
|
205
204
|
grpc_slice_ref_type grpc_slice_ref_import;
|
206
205
|
grpc_slice_unref_type grpc_slice_unref_import;
|
207
206
|
grpc_slice_copy_type grpc_slice_copy_import;
|
@@ -333,6 +332,70 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
333
332
|
grpc_compression_options_enable_algorithm_import = (grpc_compression_options_enable_algorithm_type) GetProcAddress(library, "grpc_compression_options_enable_algorithm");
|
334
333
|
grpc_compression_options_disable_algorithm_import = (grpc_compression_options_disable_algorithm_type) GetProcAddress(library, "grpc_compression_options_disable_algorithm");
|
335
334
|
grpc_compression_options_is_algorithm_enabled_import = (grpc_compression_options_is_algorithm_enabled_type) GetProcAddress(library, "grpc_compression_options_is_algorithm_enabled");
|
335
|
+
grpc_service_account_jwt_access_credentials_create_import = (grpc_service_account_jwt_access_credentials_create_type) GetProcAddress(library, "grpc_service_account_jwt_access_credentials_create");
|
336
|
+
grpc_external_account_credentials_create_import = (grpc_external_account_credentials_create_type) GetProcAddress(library, "grpc_external_account_credentials_create");
|
337
|
+
grpc_google_refresh_token_credentials_create_import = (grpc_google_refresh_token_credentials_create_type) GetProcAddress(library, "grpc_google_refresh_token_credentials_create");
|
338
|
+
grpc_access_token_credentials_create_import = (grpc_access_token_credentials_create_type) GetProcAddress(library, "grpc_access_token_credentials_create");
|
339
|
+
grpc_google_iam_credentials_create_import = (grpc_google_iam_credentials_create_type) GetProcAddress(library, "grpc_google_iam_credentials_create");
|
340
|
+
grpc_sts_credentials_create_import = (grpc_sts_credentials_create_type) GetProcAddress(library, "grpc_sts_credentials_create");
|
341
|
+
grpc_auth_metadata_context_copy_import = (grpc_auth_metadata_context_copy_type) GetProcAddress(library, "grpc_auth_metadata_context_copy");
|
342
|
+
grpc_auth_metadata_context_reset_import = (grpc_auth_metadata_context_reset_type) GetProcAddress(library, "grpc_auth_metadata_context_reset");
|
343
|
+
grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin");
|
344
|
+
grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release");
|
345
|
+
grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create");
|
346
|
+
grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create");
|
347
|
+
grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy");
|
348
|
+
grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create");
|
349
|
+
grpc_ssl_credentials_create_ex_import = (grpc_ssl_credentials_create_ex_type) GetProcAddress(library, "grpc_ssl_credentials_create_ex");
|
350
|
+
grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create");
|
351
|
+
grpc_ssl_server_credentials_create_ex_import = (grpc_ssl_server_credentials_create_ex_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_ex");
|
352
|
+
grpc_ssl_server_credentials_create_options_using_config_import = (grpc_ssl_server_credentials_create_options_using_config_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config");
|
353
|
+
grpc_ssl_server_credentials_create_options_using_config_fetcher_import = (grpc_ssl_server_credentials_create_options_using_config_fetcher_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config_fetcher");
|
354
|
+
grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy");
|
355
|
+
grpc_ssl_server_credentials_create_with_options_import = (grpc_ssl_server_credentials_create_with_options_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_with_options");
|
356
|
+
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");
|
357
|
+
grpc_composite_call_credentials_create_import = (grpc_composite_call_credentials_create_type) GetProcAddress(library, "grpc_composite_call_credentials_create");
|
358
|
+
grpc_google_compute_engine_credentials_create_import = (grpc_google_compute_engine_credentials_create_type) GetProcAddress(library, "grpc_google_compute_engine_credentials_create");
|
359
|
+
grpc_composite_channel_credentials_create_import = (grpc_composite_channel_credentials_create_type) GetProcAddress(library, "grpc_composite_channel_credentials_create");
|
360
|
+
grpc_alts_credentials_client_options_create_import = (grpc_alts_credentials_client_options_create_type) GetProcAddress(library, "grpc_alts_credentials_client_options_create");
|
361
|
+
grpc_alts_credentials_server_options_create_import = (grpc_alts_credentials_server_options_create_type) GetProcAddress(library, "grpc_alts_credentials_server_options_create");
|
362
|
+
grpc_alts_credentials_client_options_add_target_service_account_import = (grpc_alts_credentials_client_options_add_target_service_account_type) GetProcAddress(library, "grpc_alts_credentials_client_options_add_target_service_account");
|
363
|
+
grpc_alts_credentials_options_destroy_import = (grpc_alts_credentials_options_destroy_type) GetProcAddress(library, "grpc_alts_credentials_options_destroy");
|
364
|
+
grpc_alts_credentials_create_import = (grpc_alts_credentials_create_type) GetProcAddress(library, "grpc_alts_credentials_create");
|
365
|
+
grpc_alts_server_credentials_create_import = (grpc_alts_server_credentials_create_type) GetProcAddress(library, "grpc_alts_server_credentials_create");
|
366
|
+
grpc_tls_identity_pairs_create_import = (grpc_tls_identity_pairs_create_type) GetProcAddress(library, "grpc_tls_identity_pairs_create");
|
367
|
+
grpc_tls_identity_pairs_add_pair_import = (grpc_tls_identity_pairs_add_pair_type) GetProcAddress(library, "grpc_tls_identity_pairs_add_pair");
|
368
|
+
grpc_tls_identity_pairs_destroy_import = (grpc_tls_identity_pairs_destroy_type) GetProcAddress(library, "grpc_tls_identity_pairs_destroy");
|
369
|
+
grpc_tls_certificate_provider_static_data_create_import = (grpc_tls_certificate_provider_static_data_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_static_data_create");
|
370
|
+
grpc_tls_certificate_provider_file_watcher_create_import = (grpc_tls_certificate_provider_file_watcher_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_file_watcher_create");
|
371
|
+
grpc_tls_certificate_provider_release_import = (grpc_tls_certificate_provider_release_type) GetProcAddress(library, "grpc_tls_certificate_provider_release");
|
372
|
+
grpc_tls_credentials_options_create_import = (grpc_tls_credentials_options_create_type) GetProcAddress(library, "grpc_tls_credentials_options_create");
|
373
|
+
grpc_tls_credentials_options_set_min_tls_version_import = (grpc_tls_credentials_options_set_min_tls_version_type) GetProcAddress(library, "grpc_tls_credentials_options_set_min_tls_version");
|
374
|
+
grpc_tls_credentials_options_set_max_tls_version_import = (grpc_tls_credentials_options_set_max_tls_version_type) GetProcAddress(library, "grpc_tls_credentials_options_set_max_tls_version");
|
375
|
+
grpc_tls_credentials_options_copy_import = (grpc_tls_credentials_options_copy_type) GetProcAddress(library, "grpc_tls_credentials_options_copy");
|
376
|
+
grpc_tls_credentials_options_destroy_import = (grpc_tls_credentials_options_destroy_type) GetProcAddress(library, "grpc_tls_credentials_options_destroy");
|
377
|
+
grpc_tls_credentials_options_set_certificate_provider_import = (grpc_tls_credentials_options_set_certificate_provider_type) GetProcAddress(library, "grpc_tls_credentials_options_set_certificate_provider");
|
378
|
+
grpc_tls_credentials_options_watch_root_certs_import = (grpc_tls_credentials_options_watch_root_certs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_root_certs");
|
379
|
+
grpc_tls_credentials_options_set_root_cert_name_import = (grpc_tls_credentials_options_set_root_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_root_cert_name");
|
380
|
+
grpc_tls_credentials_options_watch_identity_key_cert_pairs_import = (grpc_tls_credentials_options_watch_identity_key_cert_pairs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_identity_key_cert_pairs");
|
381
|
+
grpc_tls_credentials_options_set_identity_cert_name_import = (grpc_tls_credentials_options_set_identity_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_identity_cert_name");
|
382
|
+
grpc_tls_credentials_options_set_cert_request_type_import = (grpc_tls_credentials_options_set_cert_request_type_type) GetProcAddress(library, "grpc_tls_credentials_options_set_cert_request_type");
|
383
|
+
grpc_tls_credentials_options_set_crl_directory_import = (grpc_tls_credentials_options_set_crl_directory_type) GetProcAddress(library, "grpc_tls_credentials_options_set_crl_directory");
|
384
|
+
grpc_tls_credentials_options_set_verify_server_cert_import = (grpc_tls_credentials_options_set_verify_server_cert_type) GetProcAddress(library, "grpc_tls_credentials_options_set_verify_server_cert");
|
385
|
+
grpc_tls_credentials_options_set_send_client_ca_list_import = (grpc_tls_credentials_options_set_send_client_ca_list_type) GetProcAddress(library, "grpc_tls_credentials_options_set_send_client_ca_list");
|
386
|
+
grpc_ssl_session_cache_create_lru_import = (grpc_ssl_session_cache_create_lru_type) GetProcAddress(library, "grpc_ssl_session_cache_create_lru");
|
387
|
+
grpc_ssl_session_cache_destroy_import = (grpc_ssl_session_cache_destroy_type) GetProcAddress(library, "grpc_ssl_session_cache_destroy");
|
388
|
+
grpc_ssl_session_cache_create_channel_arg_import = (grpc_ssl_session_cache_create_channel_arg_type) GetProcAddress(library, "grpc_ssl_session_cache_create_channel_arg");
|
389
|
+
grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback");
|
390
|
+
grpc_max_auth_token_lifetime_import = (grpc_max_auth_token_lifetime_type) GetProcAddress(library, "grpc_max_auth_token_lifetime");
|
391
|
+
grpc_insecure_credentials_create_import = (grpc_insecure_credentials_create_type) GetProcAddress(library, "grpc_insecure_credentials_create");
|
392
|
+
grpc_insecure_server_credentials_create_import = (grpc_insecure_server_credentials_create_type) GetProcAddress(library, "grpc_insecure_server_credentials_create");
|
393
|
+
grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
|
394
|
+
grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
|
395
|
+
grpc_local_credentials_create_import = (grpc_local_credentials_create_type) GetProcAddress(library, "grpc_local_credentials_create");
|
396
|
+
grpc_local_server_credentials_create_import = (grpc_local_server_credentials_create_type) GetProcAddress(library, "grpc_local_server_credentials_create");
|
397
|
+
grpc_tls_credentials_options_set_check_call_host_import = (grpc_tls_credentials_options_set_check_call_host_type) GetProcAddress(library, "grpc_tls_credentials_options_set_check_call_host");
|
398
|
+
grpc_tls_credentials_options_set_tls_session_key_log_file_path_import = (grpc_tls_credentials_options_set_tls_session_key_log_file_path_type) GetProcAddress(library, "grpc_tls_credentials_options_set_tls_session_key_log_file_path");
|
336
399
|
grpc_metadata_array_init_import = (grpc_metadata_array_init_type) GetProcAddress(library, "grpc_metadata_array_init");
|
337
400
|
grpc_metadata_array_destroy_import = (grpc_metadata_array_destroy_type) GetProcAddress(library, "grpc_metadata_array_destroy");
|
338
401
|
grpc_call_details_init_import = (grpc_call_details_init_type) GetProcAddress(library, "grpc_call_details_init");
|
@@ -355,7 +418,6 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
355
418
|
grpc_completion_queue_thread_local_cache_init_import = (grpc_completion_queue_thread_local_cache_init_type) GetProcAddress(library, "grpc_completion_queue_thread_local_cache_init");
|
356
419
|
grpc_completion_queue_thread_local_cache_flush_import = (grpc_completion_queue_thread_local_cache_flush_type) GetProcAddress(library, "grpc_completion_queue_thread_local_cache_flush");
|
357
420
|
grpc_channel_check_connectivity_state_import = (grpc_channel_check_connectivity_state_type) GetProcAddress(library, "grpc_channel_check_connectivity_state");
|
358
|
-
grpc_channel_num_external_connectivity_watchers_import = (grpc_channel_num_external_connectivity_watchers_type) GetProcAddress(library, "grpc_channel_num_external_connectivity_watchers");
|
359
421
|
grpc_channel_watch_connectivity_state_import = (grpc_channel_watch_connectivity_state_type) GetProcAddress(library, "grpc_channel_watch_connectivity_state");
|
360
422
|
grpc_channel_support_connectivity_watcher_import = (grpc_channel_support_connectivity_watcher_type) GetProcAddress(library, "grpc_channel_support_connectivity_watcher");
|
361
423
|
grpc_channel_create_call_import = (grpc_channel_create_call_type) GetProcAddress(library, "grpc_channel_create_call");
|
@@ -379,6 +441,7 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
379
441
|
grpc_call_failed_before_recv_message_import = (grpc_call_failed_before_recv_message_type) GetProcAddress(library, "grpc_call_failed_before_recv_message");
|
380
442
|
grpc_call_ref_import = (grpc_call_ref_type) GetProcAddress(library, "grpc_call_ref");
|
381
443
|
grpc_call_unref_import = (grpc_call_unref_type) GetProcAddress(library, "grpc_call_unref");
|
444
|
+
grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
|
382
445
|
grpc_server_request_call_import = (grpc_server_request_call_type) GetProcAddress(library, "grpc_server_request_call");
|
383
446
|
grpc_server_register_method_import = (grpc_server_register_method_type) GetProcAddress(library, "grpc_server_register_method");
|
384
447
|
grpc_server_request_registered_call_import = (grpc_server_request_registered_call_type) GetProcAddress(library, "grpc_server_request_registered_call");
|
@@ -425,74 +488,9 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
425
488
|
grpc_auth_context_add_property_import = (grpc_auth_context_add_property_type) GetProcAddress(library, "grpc_auth_context_add_property");
|
426
489
|
grpc_auth_context_add_cstring_property_import = (grpc_auth_context_add_cstring_property_type) GetProcAddress(library, "grpc_auth_context_add_cstring_property");
|
427
490
|
grpc_auth_context_set_peer_identity_property_name_import = (grpc_auth_context_set_peer_identity_property_name_type) GetProcAddress(library, "grpc_auth_context_set_peer_identity_property_name");
|
428
|
-
grpc_ssl_session_cache_create_lru_import = (grpc_ssl_session_cache_create_lru_type) GetProcAddress(library, "grpc_ssl_session_cache_create_lru");
|
429
|
-
grpc_ssl_session_cache_destroy_import = (grpc_ssl_session_cache_destroy_type) GetProcAddress(library, "grpc_ssl_session_cache_destroy");
|
430
|
-
grpc_ssl_session_cache_create_channel_arg_import = (grpc_ssl_session_cache_create_channel_arg_type) GetProcAddress(library, "grpc_ssl_session_cache_create_channel_arg");
|
431
|
-
grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release");
|
432
|
-
grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create");
|
433
|
-
grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback");
|
434
|
-
grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create");
|
435
|
-
grpc_ssl_credentials_create_ex_import = (grpc_ssl_credentials_create_ex_type) GetProcAddress(library, "grpc_ssl_credentials_create_ex");
|
436
|
-
grpc_composite_channel_credentials_create_import = (grpc_composite_channel_credentials_create_type) GetProcAddress(library, "grpc_composite_channel_credentials_create");
|
437
|
-
grpc_composite_call_credentials_create_import = (grpc_composite_call_credentials_create_type) GetProcAddress(library, "grpc_composite_call_credentials_create");
|
438
|
-
grpc_google_compute_engine_credentials_create_import = (grpc_google_compute_engine_credentials_create_type) GetProcAddress(library, "grpc_google_compute_engine_credentials_create");
|
439
|
-
grpc_max_auth_token_lifetime_import = (grpc_max_auth_token_lifetime_type) GetProcAddress(library, "grpc_max_auth_token_lifetime");
|
440
|
-
grpc_service_account_jwt_access_credentials_create_import = (grpc_service_account_jwt_access_credentials_create_type) GetProcAddress(library, "grpc_service_account_jwt_access_credentials_create");
|
441
|
-
grpc_external_account_credentials_create_import = (grpc_external_account_credentials_create_type) GetProcAddress(library, "grpc_external_account_credentials_create");
|
442
|
-
grpc_google_refresh_token_credentials_create_import = (grpc_google_refresh_token_credentials_create_type) GetProcAddress(library, "grpc_google_refresh_token_credentials_create");
|
443
|
-
grpc_access_token_credentials_create_import = (grpc_access_token_credentials_create_type) GetProcAddress(library, "grpc_access_token_credentials_create");
|
444
|
-
grpc_google_iam_credentials_create_import = (grpc_google_iam_credentials_create_type) GetProcAddress(library, "grpc_google_iam_credentials_create");
|
445
|
-
grpc_sts_credentials_create_import = (grpc_sts_credentials_create_type) GetProcAddress(library, "grpc_sts_credentials_create");
|
446
|
-
grpc_auth_metadata_context_copy_import = (grpc_auth_metadata_context_copy_type) GetProcAddress(library, "grpc_auth_metadata_context_copy");
|
447
|
-
grpc_auth_metadata_context_reset_import = (grpc_auth_metadata_context_reset_type) GetProcAddress(library, "grpc_auth_metadata_context_reset");
|
448
|
-
grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin");
|
449
|
-
grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create");
|
450
|
-
grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy");
|
451
|
-
grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create");
|
452
|
-
grpc_ssl_server_credentials_create_ex_import = (grpc_ssl_server_credentials_create_ex_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_ex");
|
453
|
-
grpc_ssl_server_credentials_create_options_using_config_import = (grpc_ssl_server_credentials_create_options_using_config_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config");
|
454
|
-
grpc_ssl_server_credentials_create_options_using_config_fetcher_import = (grpc_ssl_server_credentials_create_options_using_config_fetcher_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config_fetcher");
|
455
|
-
grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy");
|
456
|
-
grpc_ssl_server_credentials_create_with_options_import = (grpc_ssl_server_credentials_create_with_options_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_with_options");
|
457
|
-
grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
|
458
|
-
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");
|
459
|
-
grpc_alts_credentials_client_options_create_import = (grpc_alts_credentials_client_options_create_type) GetProcAddress(library, "grpc_alts_credentials_client_options_create");
|
460
|
-
grpc_alts_credentials_server_options_create_import = (grpc_alts_credentials_server_options_create_type) GetProcAddress(library, "grpc_alts_credentials_server_options_create");
|
461
|
-
grpc_alts_credentials_client_options_add_target_service_account_import = (grpc_alts_credentials_client_options_add_target_service_account_type) GetProcAddress(library, "grpc_alts_credentials_client_options_add_target_service_account");
|
462
|
-
grpc_alts_credentials_options_destroy_import = (grpc_alts_credentials_options_destroy_type) GetProcAddress(library, "grpc_alts_credentials_options_destroy");
|
463
|
-
grpc_alts_credentials_create_import = (grpc_alts_credentials_create_type) GetProcAddress(library, "grpc_alts_credentials_create");
|
464
|
-
grpc_alts_server_credentials_create_import = (grpc_alts_server_credentials_create_type) GetProcAddress(library, "grpc_alts_server_credentials_create");
|
465
|
-
grpc_local_credentials_create_import = (grpc_local_credentials_create_type) GetProcAddress(library, "grpc_local_credentials_create");
|
466
|
-
grpc_local_server_credentials_create_import = (grpc_local_server_credentials_create_type) GetProcAddress(library, "grpc_local_server_credentials_create");
|
467
|
-
grpc_tls_identity_pairs_create_import = (grpc_tls_identity_pairs_create_type) GetProcAddress(library, "grpc_tls_identity_pairs_create");
|
468
|
-
grpc_tls_identity_pairs_add_pair_import = (grpc_tls_identity_pairs_add_pair_type) GetProcAddress(library, "grpc_tls_identity_pairs_add_pair");
|
469
|
-
grpc_tls_identity_pairs_destroy_import = (grpc_tls_identity_pairs_destroy_type) GetProcAddress(library, "grpc_tls_identity_pairs_destroy");
|
470
|
-
grpc_tls_certificate_provider_static_data_create_import = (grpc_tls_certificate_provider_static_data_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_static_data_create");
|
471
|
-
grpc_tls_certificate_provider_file_watcher_create_import = (grpc_tls_certificate_provider_file_watcher_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_file_watcher_create");
|
472
|
-
grpc_tls_certificate_provider_release_import = (grpc_tls_certificate_provider_release_type) GetProcAddress(library, "grpc_tls_certificate_provider_release");
|
473
|
-
grpc_tls_credentials_options_create_import = (grpc_tls_credentials_options_create_type) GetProcAddress(library, "grpc_tls_credentials_options_create");
|
474
|
-
grpc_tls_credentials_options_set_min_tls_version_import = (grpc_tls_credentials_options_set_min_tls_version_type) GetProcAddress(library, "grpc_tls_credentials_options_set_min_tls_version");
|
475
|
-
grpc_tls_credentials_options_set_max_tls_version_import = (grpc_tls_credentials_options_set_max_tls_version_type) GetProcAddress(library, "grpc_tls_credentials_options_set_max_tls_version");
|
476
|
-
grpc_tls_credentials_options_copy_import = (grpc_tls_credentials_options_copy_type) GetProcAddress(library, "grpc_tls_credentials_options_copy");
|
477
|
-
grpc_tls_credentials_options_destroy_import = (grpc_tls_credentials_options_destroy_type) GetProcAddress(library, "grpc_tls_credentials_options_destroy");
|
478
|
-
grpc_tls_credentials_options_set_certificate_provider_import = (grpc_tls_credentials_options_set_certificate_provider_type) GetProcAddress(library, "grpc_tls_credentials_options_set_certificate_provider");
|
479
|
-
grpc_tls_credentials_options_watch_root_certs_import = (grpc_tls_credentials_options_watch_root_certs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_root_certs");
|
480
|
-
grpc_tls_credentials_options_set_root_cert_name_import = (grpc_tls_credentials_options_set_root_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_root_cert_name");
|
481
|
-
grpc_tls_credentials_options_watch_identity_key_cert_pairs_import = (grpc_tls_credentials_options_watch_identity_key_cert_pairs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_identity_key_cert_pairs");
|
482
|
-
grpc_tls_credentials_options_set_identity_cert_name_import = (grpc_tls_credentials_options_set_identity_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_identity_cert_name");
|
483
|
-
grpc_tls_credentials_options_set_cert_request_type_import = (grpc_tls_credentials_options_set_cert_request_type_type) GetProcAddress(library, "grpc_tls_credentials_options_set_cert_request_type");
|
484
|
-
grpc_tls_credentials_options_set_crl_directory_import = (grpc_tls_credentials_options_set_crl_directory_type) GetProcAddress(library, "grpc_tls_credentials_options_set_crl_directory");
|
485
|
-
grpc_tls_credentials_options_set_verify_server_cert_import = (grpc_tls_credentials_options_set_verify_server_cert_type) GetProcAddress(library, "grpc_tls_credentials_options_set_verify_server_cert");
|
486
|
-
grpc_tls_credentials_options_set_send_client_ca_list_import = (grpc_tls_credentials_options_set_send_client_ca_list_type) GetProcAddress(library, "grpc_tls_credentials_options_set_send_client_ca_list");
|
487
|
-
grpc_tls_credentials_options_set_check_call_host_import = (grpc_tls_credentials_options_set_check_call_host_type) GetProcAddress(library, "grpc_tls_credentials_options_set_check_call_host");
|
488
|
-
grpc_insecure_credentials_create_import = (grpc_insecure_credentials_create_type) GetProcAddress(library, "grpc_insecure_credentials_create");
|
489
|
-
grpc_insecure_server_credentials_create_import = (grpc_insecure_server_credentials_create_type) GetProcAddress(library, "grpc_insecure_server_credentials_create");
|
490
|
-
grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
|
491
|
-
grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
|
492
491
|
grpc_authorization_policy_provider_static_data_create_import = (grpc_authorization_policy_provider_static_data_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_static_data_create");
|
493
492
|
grpc_authorization_policy_provider_file_watcher_create_import = (grpc_authorization_policy_provider_file_watcher_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_file_watcher_create");
|
494
493
|
grpc_authorization_policy_provider_release_import = (grpc_authorization_policy_provider_release_type) GetProcAddress(library, "grpc_authorization_policy_provider_release");
|
495
|
-
grpc_tls_credentials_options_set_tls_session_key_log_file_path_import = (grpc_tls_credentials_options_set_tls_session_key_log_file_path_type) GetProcAddress(library, "grpc_tls_credentials_options_set_tls_session_key_log_file_path");
|
496
494
|
grpc_slice_ref_import = (grpc_slice_ref_type) GetProcAddress(library, "grpc_slice_ref");
|
497
495
|
grpc_slice_unref_import = (grpc_slice_unref_type) GetProcAddress(library, "grpc_slice_unref");
|
498
496
|
grpc_slice_copy_import = (grpc_slice_copy_type) GetProcAddress(library, "grpc_slice_copy");
|
@@ -27,6 +27,7 @@
|
|
27
27
|
|
28
28
|
#include <grpc/byte_buffer.h>
|
29
29
|
#include <grpc/compression.h>
|
30
|
+
#include <grpc/credentials.h>
|
30
31
|
#include <grpc/grpc.h>
|
31
32
|
#include <grpc/grpc_posix.h>
|
32
33
|
#include <grpc/grpc_security.h>
|
@@ -101,6 +102,198 @@ extern grpc_compression_options_disable_algorithm_type grpc_compression_options_
|
|
101
102
|
typedef int(*grpc_compression_options_is_algorithm_enabled_type)(const grpc_compression_options* opts, grpc_compression_algorithm algorithm);
|
102
103
|
extern grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import;
|
103
104
|
#define grpc_compression_options_is_algorithm_enabled grpc_compression_options_is_algorithm_enabled_import
|
105
|
+
typedef grpc_call_credentials*(*grpc_service_account_jwt_access_credentials_create_type)(const char* json_key, gpr_timespec token_lifetime, void* reserved);
|
106
|
+
extern grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import;
|
107
|
+
#define grpc_service_account_jwt_access_credentials_create grpc_service_account_jwt_access_credentials_create_import
|
108
|
+
typedef grpc_call_credentials*(*grpc_external_account_credentials_create_type)(const char* json_string, const char* scopes_string);
|
109
|
+
extern grpc_external_account_credentials_create_type grpc_external_account_credentials_create_import;
|
110
|
+
#define grpc_external_account_credentials_create grpc_external_account_credentials_create_import
|
111
|
+
typedef grpc_call_credentials*(*grpc_google_refresh_token_credentials_create_type)(const char* json_refresh_token, void* reserved);
|
112
|
+
extern grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import;
|
113
|
+
#define grpc_google_refresh_token_credentials_create grpc_google_refresh_token_credentials_create_import
|
114
|
+
typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token, void* reserved);
|
115
|
+
extern grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import;
|
116
|
+
#define grpc_access_token_credentials_create grpc_access_token_credentials_create_import
|
117
|
+
typedef grpc_call_credentials*(*grpc_google_iam_credentials_create_type)(const char* authorization_token, const char* authority_selector, void* reserved);
|
118
|
+
extern grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import;
|
119
|
+
#define grpc_google_iam_credentials_create grpc_google_iam_credentials_create_import
|
120
|
+
typedef grpc_call_credentials*(*grpc_sts_credentials_create_type)(const grpc_sts_credentials_options* options, void* reserved);
|
121
|
+
extern grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
|
122
|
+
#define grpc_sts_credentials_create grpc_sts_credentials_create_import
|
123
|
+
typedef void(*grpc_auth_metadata_context_copy_type)(grpc_auth_metadata_context* from, grpc_auth_metadata_context* to);
|
124
|
+
extern grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
|
125
|
+
#define grpc_auth_metadata_context_copy grpc_auth_metadata_context_copy_import
|
126
|
+
typedef void(*grpc_auth_metadata_context_reset_type)(grpc_auth_metadata_context* context);
|
127
|
+
extern grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
|
128
|
+
#define grpc_auth_metadata_context_reset grpc_auth_metadata_context_reset_import
|
129
|
+
typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void* reserved);
|
130
|
+
extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
131
|
+
#define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import
|
132
|
+
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds);
|
133
|
+
extern grpc_call_credentials_release_type grpc_call_credentials_release_import;
|
134
|
+
#define grpc_call_credentials_release grpc_call_credentials_release_import
|
135
|
+
typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(grpc_call_credentials* call_credentials);
|
136
|
+
extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
|
137
|
+
#define grpc_google_default_credentials_create grpc_google_default_credentials_create_import
|
138
|
+
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);
|
139
|
+
extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
|
140
|
+
#define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import
|
141
|
+
typedef void(*grpc_ssl_server_certificate_config_destroy_type)(grpc_ssl_server_certificate_config* config);
|
142
|
+
extern grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
|
143
|
+
#define grpc_ssl_server_certificate_config_destroy grpc_ssl_server_certificate_config_destroy_import
|
144
|
+
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const verify_peer_options* verify_options, void* reserved);
|
145
|
+
extern grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
|
146
|
+
#define grpc_ssl_credentials_create grpc_ssl_credentials_create_import
|
147
|
+
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const grpc_ssl_verify_peer_options* verify_options, void* reserved);
|
148
|
+
extern grpc_ssl_credentials_create_ex_type grpc_ssl_credentials_create_ex_import;
|
149
|
+
#define grpc_ssl_credentials_create_ex grpc_ssl_credentials_create_ex_import
|
150
|
+
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);
|
151
|
+
extern grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
|
152
|
+
#define grpc_ssl_server_credentials_create grpc_ssl_server_credentials_create_import
|
153
|
+
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);
|
154
|
+
extern grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import;
|
155
|
+
#define grpc_ssl_server_credentials_create_ex grpc_ssl_server_credentials_create_ex_import
|
156
|
+
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);
|
157
|
+
extern grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import;
|
158
|
+
#define grpc_ssl_server_credentials_create_options_using_config grpc_ssl_server_credentials_create_options_using_config_import
|
159
|
+
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);
|
160
|
+
extern grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
|
161
|
+
#define grpc_ssl_server_credentials_create_options_using_config_fetcher grpc_ssl_server_credentials_create_options_using_config_fetcher_import
|
162
|
+
typedef void(*grpc_ssl_server_credentials_options_destroy_type)(grpc_ssl_server_credentials_options* options);
|
163
|
+
extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
|
164
|
+
#define grpc_ssl_server_credentials_options_destroy grpc_ssl_server_credentials_options_destroy_import
|
165
|
+
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options);
|
166
|
+
extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
|
167
|
+
#define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import
|
168
|
+
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials* creds, grpc_auth_metadata_processor processor);
|
169
|
+
extern grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
|
170
|
+
#define grpc_server_credentials_set_auth_metadata_processor grpc_server_credentials_set_auth_metadata_processor_import
|
171
|
+
typedef grpc_call_credentials*(*grpc_composite_call_credentials_create_type)(grpc_call_credentials* creds1, grpc_call_credentials* creds2, void* reserved);
|
172
|
+
extern grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import;
|
173
|
+
#define grpc_composite_call_credentials_create grpc_composite_call_credentials_create_import
|
174
|
+
typedef grpc_call_credentials*(*grpc_google_compute_engine_credentials_create_type)(void* reserved);
|
175
|
+
extern grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import;
|
176
|
+
#define grpc_google_compute_engine_credentials_create grpc_google_compute_engine_credentials_create_import
|
177
|
+
typedef grpc_channel_credentials*(*grpc_composite_channel_credentials_create_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved);
|
178
|
+
extern grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import;
|
179
|
+
#define grpc_composite_channel_credentials_create grpc_composite_channel_credentials_create_import
|
180
|
+
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_client_options_create_type)(void);
|
181
|
+
extern grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import;
|
182
|
+
#define grpc_alts_credentials_client_options_create grpc_alts_credentials_client_options_create_import
|
183
|
+
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_server_options_create_type)(void);
|
184
|
+
extern grpc_alts_credentials_server_options_create_type grpc_alts_credentials_server_options_create_import;
|
185
|
+
#define grpc_alts_credentials_server_options_create grpc_alts_credentials_server_options_create_import
|
186
|
+
typedef void(*grpc_alts_credentials_client_options_add_target_service_account_type)(grpc_alts_credentials_options* options, const char* service_account);
|
187
|
+
extern grpc_alts_credentials_client_options_add_target_service_account_type grpc_alts_credentials_client_options_add_target_service_account_import;
|
188
|
+
#define grpc_alts_credentials_client_options_add_target_service_account grpc_alts_credentials_client_options_add_target_service_account_import
|
189
|
+
typedef void(*grpc_alts_credentials_options_destroy_type)(grpc_alts_credentials_options* options);
|
190
|
+
extern grpc_alts_credentials_options_destroy_type grpc_alts_credentials_options_destroy_import;
|
191
|
+
#define grpc_alts_credentials_options_destroy grpc_alts_credentials_options_destroy_import
|
192
|
+
typedef grpc_channel_credentials*(*grpc_alts_credentials_create_type)(const grpc_alts_credentials_options* options);
|
193
|
+
extern grpc_alts_credentials_create_type grpc_alts_credentials_create_import;
|
194
|
+
#define grpc_alts_credentials_create grpc_alts_credentials_create_import
|
195
|
+
typedef grpc_server_credentials*(*grpc_alts_server_credentials_create_type)(const grpc_alts_credentials_options* options);
|
196
|
+
extern grpc_alts_server_credentials_create_type grpc_alts_server_credentials_create_import;
|
197
|
+
#define grpc_alts_server_credentials_create grpc_alts_server_credentials_create_import
|
198
|
+
typedef grpc_tls_identity_pairs*(*grpc_tls_identity_pairs_create_type)();
|
199
|
+
extern grpc_tls_identity_pairs_create_type grpc_tls_identity_pairs_create_import;
|
200
|
+
#define grpc_tls_identity_pairs_create grpc_tls_identity_pairs_create_import
|
201
|
+
typedef void(*grpc_tls_identity_pairs_add_pair_type)(grpc_tls_identity_pairs* pairs, const char* private_key, const char* cert_chain);
|
202
|
+
extern grpc_tls_identity_pairs_add_pair_type grpc_tls_identity_pairs_add_pair_import;
|
203
|
+
#define grpc_tls_identity_pairs_add_pair grpc_tls_identity_pairs_add_pair_import
|
204
|
+
typedef void(*grpc_tls_identity_pairs_destroy_type)(grpc_tls_identity_pairs* pairs);
|
205
|
+
extern grpc_tls_identity_pairs_destroy_type grpc_tls_identity_pairs_destroy_import;
|
206
|
+
#define grpc_tls_identity_pairs_destroy grpc_tls_identity_pairs_destroy_import
|
207
|
+
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_static_data_create_type)(const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs);
|
208
|
+
extern grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provider_static_data_create_import;
|
209
|
+
#define grpc_tls_certificate_provider_static_data_create grpc_tls_certificate_provider_static_data_create_import
|
210
|
+
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_file_watcher_create_type)(const char* private_key_path, const char* identity_certificate_path, const char* root_cert_path, unsigned int refresh_interval_sec);
|
211
|
+
extern grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
|
212
|
+
#define grpc_tls_certificate_provider_file_watcher_create grpc_tls_certificate_provider_file_watcher_create_import
|
213
|
+
typedef void(*grpc_tls_certificate_provider_release_type)(grpc_tls_certificate_provider* provider);
|
214
|
+
extern grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
|
215
|
+
#define grpc_tls_certificate_provider_release grpc_tls_certificate_provider_release_import
|
216
|
+
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_create_type)(void);
|
217
|
+
extern grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
|
218
|
+
#define grpc_tls_credentials_options_create grpc_tls_credentials_options_create_import
|
219
|
+
typedef void(*grpc_tls_credentials_options_set_min_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version min_tls_version);
|
220
|
+
extern grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import;
|
221
|
+
#define grpc_tls_credentials_options_set_min_tls_version grpc_tls_credentials_options_set_min_tls_version_import
|
222
|
+
typedef void(*grpc_tls_credentials_options_set_max_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version max_tls_version);
|
223
|
+
extern grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import;
|
224
|
+
#define grpc_tls_credentials_options_set_max_tls_version grpc_tls_credentials_options_set_max_tls_version_import
|
225
|
+
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_copy_type)(grpc_tls_credentials_options* options);
|
226
|
+
extern grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import;
|
227
|
+
#define grpc_tls_credentials_options_copy grpc_tls_credentials_options_copy_import
|
228
|
+
typedef void(*grpc_tls_credentials_options_destroy_type)(grpc_tls_credentials_options* options);
|
229
|
+
extern grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import;
|
230
|
+
#define grpc_tls_credentials_options_destroy grpc_tls_credentials_options_destroy_import
|
231
|
+
typedef void(*grpc_tls_credentials_options_set_certificate_provider_type)(grpc_tls_credentials_options* options, grpc_tls_certificate_provider* provider);
|
232
|
+
extern grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
|
233
|
+
#define grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_set_certificate_provider_import
|
234
|
+
typedef void(*grpc_tls_credentials_options_watch_root_certs_type)(grpc_tls_credentials_options* options);
|
235
|
+
extern grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
|
236
|
+
#define grpc_tls_credentials_options_watch_root_certs grpc_tls_credentials_options_watch_root_certs_import
|
237
|
+
typedef void(*grpc_tls_credentials_options_set_root_cert_name_type)(grpc_tls_credentials_options* options, const char* root_cert_name);
|
238
|
+
extern grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
|
239
|
+
#define grpc_tls_credentials_options_set_root_cert_name grpc_tls_credentials_options_set_root_cert_name_import
|
240
|
+
typedef void(*grpc_tls_credentials_options_watch_identity_key_cert_pairs_type)(grpc_tls_credentials_options* options);
|
241
|
+
extern grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
|
242
|
+
#define grpc_tls_credentials_options_watch_identity_key_cert_pairs grpc_tls_credentials_options_watch_identity_key_cert_pairs_import
|
243
|
+
typedef void(*grpc_tls_credentials_options_set_identity_cert_name_type)(grpc_tls_credentials_options* options, const char* identity_cert_name);
|
244
|
+
extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
|
245
|
+
#define grpc_tls_credentials_options_set_identity_cert_name grpc_tls_credentials_options_set_identity_cert_name_import
|
246
|
+
typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
|
247
|
+
extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
|
248
|
+
#define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
|
249
|
+
typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory);
|
250
|
+
extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
|
251
|
+
#define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import
|
252
|
+
typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert);
|
253
|
+
extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
|
254
|
+
#define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import
|
255
|
+
typedef void(*grpc_tls_credentials_options_set_send_client_ca_list_type)(grpc_tls_credentials_options* options, bool send_client_ca_list);
|
256
|
+
extern grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import;
|
257
|
+
#define grpc_tls_credentials_options_set_send_client_ca_list grpc_tls_credentials_options_set_send_client_ca_list_import
|
258
|
+
typedef grpc_ssl_session_cache*(*grpc_ssl_session_cache_create_lru_type)(size_t capacity);
|
259
|
+
extern grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import;
|
260
|
+
#define grpc_ssl_session_cache_create_lru grpc_ssl_session_cache_create_lru_import
|
261
|
+
typedef void(*grpc_ssl_session_cache_destroy_type)(grpc_ssl_session_cache* cache);
|
262
|
+
extern grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import;
|
263
|
+
#define grpc_ssl_session_cache_destroy grpc_ssl_session_cache_destroy_import
|
264
|
+
typedef grpc_arg(*grpc_ssl_session_cache_create_channel_arg_type)(grpc_ssl_session_cache* cache);
|
265
|
+
extern grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import;
|
266
|
+
#define grpc_ssl_session_cache_create_channel_arg grpc_ssl_session_cache_create_channel_arg_import
|
267
|
+
typedef void(*grpc_set_ssl_roots_override_callback_type)(grpc_ssl_roots_override_callback cb);
|
268
|
+
extern grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
|
269
|
+
#define grpc_set_ssl_roots_override_callback grpc_set_ssl_roots_override_callback_import
|
270
|
+
typedef gpr_timespec(*grpc_max_auth_token_lifetime_type)(void);
|
271
|
+
extern grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import;
|
272
|
+
#define grpc_max_auth_token_lifetime grpc_max_auth_token_lifetime_import
|
273
|
+
typedef grpc_channel_credentials*(*grpc_insecure_credentials_create_type)();
|
274
|
+
extern grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
|
275
|
+
#define grpc_insecure_credentials_create grpc_insecure_credentials_create_import
|
276
|
+
typedef grpc_server_credentials*(*grpc_insecure_server_credentials_create_type)();
|
277
|
+
extern grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
|
278
|
+
#define grpc_insecure_server_credentials_create grpc_insecure_server_credentials_create_import
|
279
|
+
typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials);
|
280
|
+
extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
|
281
|
+
#define grpc_xds_credentials_create grpc_xds_credentials_create_import
|
282
|
+
typedef grpc_server_credentials*(*grpc_xds_server_credentials_create_type)(grpc_server_credentials* fallback_credentials);
|
283
|
+
extern grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
|
284
|
+
#define grpc_xds_server_credentials_create grpc_xds_server_credentials_create_import
|
285
|
+
typedef grpc_channel_credentials*(*grpc_local_credentials_create_type)(grpc_local_connect_type type);
|
286
|
+
extern grpc_local_credentials_create_type grpc_local_credentials_create_import;
|
287
|
+
#define grpc_local_credentials_create grpc_local_credentials_create_import
|
288
|
+
typedef grpc_server_credentials*(*grpc_local_server_credentials_create_type)(grpc_local_connect_type type);
|
289
|
+
extern grpc_local_server_credentials_create_type grpc_local_server_credentials_create_import;
|
290
|
+
#define grpc_local_server_credentials_create grpc_local_server_credentials_create_import
|
291
|
+
typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host);
|
292
|
+
extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
|
293
|
+
#define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import
|
294
|
+
typedef void(*grpc_tls_credentials_options_set_tls_session_key_log_file_path_type)(grpc_tls_credentials_options* options, const char* path);
|
295
|
+
extern grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
|
296
|
+
#define grpc_tls_credentials_options_set_tls_session_key_log_file_path grpc_tls_credentials_options_set_tls_session_key_log_file_path_import
|
104
297
|
typedef void(*grpc_metadata_array_init_type)(grpc_metadata_array* array);
|
105
298
|
extern grpc_metadata_array_init_type grpc_metadata_array_init_import;
|
106
299
|
#define grpc_metadata_array_init grpc_metadata_array_init_import
|
@@ -167,9 +360,6 @@ extern grpc_completion_queue_thread_local_cache_flush_type grpc_completion_queue
|
|
167
360
|
typedef grpc_connectivity_state(*grpc_channel_check_connectivity_state_type)(grpc_channel* channel, int try_to_connect);
|
168
361
|
extern grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import;
|
169
362
|
#define grpc_channel_check_connectivity_state grpc_channel_check_connectivity_state_import
|
170
|
-
typedef int(*grpc_channel_num_external_connectivity_watchers_type)(grpc_channel* channel);
|
171
|
-
extern grpc_channel_num_external_connectivity_watchers_type grpc_channel_num_external_connectivity_watchers_import;
|
172
|
-
#define grpc_channel_num_external_connectivity_watchers grpc_channel_num_external_connectivity_watchers_import
|
173
363
|
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);
|
174
364
|
extern grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import;
|
175
365
|
#define grpc_channel_watch_connectivity_state grpc_channel_watch_connectivity_state_import
|
@@ -239,6 +429,9 @@ extern grpc_call_ref_type grpc_call_ref_import;
|
|
239
429
|
typedef void(*grpc_call_unref_type)(grpc_call* call);
|
240
430
|
extern grpc_call_unref_type grpc_call_unref_import;
|
241
431
|
#define grpc_call_unref grpc_call_unref_import
|
432
|
+
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds);
|
433
|
+
extern grpc_call_set_credentials_type grpc_call_set_credentials_import;
|
434
|
+
#define grpc_call_set_credentials grpc_call_set_credentials_import
|
242
435
|
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);
|
243
436
|
extern grpc_server_request_call_type grpc_server_request_call_import;
|
244
437
|
#define grpc_server_request_call grpc_server_request_call_import
|
@@ -377,198 +570,6 @@ extern grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring
|
|
377
570
|
typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context* ctx, const char* name);
|
378
571
|
extern grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import;
|
379
572
|
#define grpc_auth_context_set_peer_identity_property_name grpc_auth_context_set_peer_identity_property_name_import
|
380
|
-
typedef grpc_ssl_session_cache*(*grpc_ssl_session_cache_create_lru_type)(size_t capacity);
|
381
|
-
extern grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import;
|
382
|
-
#define grpc_ssl_session_cache_create_lru grpc_ssl_session_cache_create_lru_import
|
383
|
-
typedef void(*grpc_ssl_session_cache_destroy_type)(grpc_ssl_session_cache* cache);
|
384
|
-
extern grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import;
|
385
|
-
#define grpc_ssl_session_cache_destroy grpc_ssl_session_cache_destroy_import
|
386
|
-
typedef grpc_arg(*grpc_ssl_session_cache_create_channel_arg_type)(grpc_ssl_session_cache* cache);
|
387
|
-
extern grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import;
|
388
|
-
#define grpc_ssl_session_cache_create_channel_arg grpc_ssl_session_cache_create_channel_arg_import
|
389
|
-
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds);
|
390
|
-
extern grpc_call_credentials_release_type grpc_call_credentials_release_import;
|
391
|
-
#define grpc_call_credentials_release grpc_call_credentials_release_import
|
392
|
-
typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(grpc_call_credentials* call_credentials);
|
393
|
-
extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
|
394
|
-
#define grpc_google_default_credentials_create grpc_google_default_credentials_create_import
|
395
|
-
typedef void(*grpc_set_ssl_roots_override_callback_type)(grpc_ssl_roots_override_callback cb);
|
396
|
-
extern grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
|
397
|
-
#define grpc_set_ssl_roots_override_callback grpc_set_ssl_roots_override_callback_import
|
398
|
-
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const verify_peer_options* verify_options, void* reserved);
|
399
|
-
extern grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
|
400
|
-
#define grpc_ssl_credentials_create grpc_ssl_credentials_create_import
|
401
|
-
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const grpc_ssl_verify_peer_options* verify_options, void* reserved);
|
402
|
-
extern grpc_ssl_credentials_create_ex_type grpc_ssl_credentials_create_ex_import;
|
403
|
-
#define grpc_ssl_credentials_create_ex grpc_ssl_credentials_create_ex_import
|
404
|
-
typedef grpc_channel_credentials*(*grpc_composite_channel_credentials_create_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved);
|
405
|
-
extern grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import;
|
406
|
-
#define grpc_composite_channel_credentials_create grpc_composite_channel_credentials_create_import
|
407
|
-
typedef grpc_call_credentials*(*grpc_composite_call_credentials_create_type)(grpc_call_credentials* creds1, grpc_call_credentials* creds2, void* reserved);
|
408
|
-
extern grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import;
|
409
|
-
#define grpc_composite_call_credentials_create grpc_composite_call_credentials_create_import
|
410
|
-
typedef grpc_call_credentials*(*grpc_google_compute_engine_credentials_create_type)(void* reserved);
|
411
|
-
extern grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import;
|
412
|
-
#define grpc_google_compute_engine_credentials_create grpc_google_compute_engine_credentials_create_import
|
413
|
-
typedef gpr_timespec(*grpc_max_auth_token_lifetime_type)(void);
|
414
|
-
extern grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import;
|
415
|
-
#define grpc_max_auth_token_lifetime grpc_max_auth_token_lifetime_import
|
416
|
-
typedef grpc_call_credentials*(*grpc_service_account_jwt_access_credentials_create_type)(const char* json_key, gpr_timespec token_lifetime, void* reserved);
|
417
|
-
extern grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import;
|
418
|
-
#define grpc_service_account_jwt_access_credentials_create grpc_service_account_jwt_access_credentials_create_import
|
419
|
-
typedef grpc_call_credentials*(*grpc_external_account_credentials_create_type)(const char* json_string, const char* scopes_string);
|
420
|
-
extern grpc_external_account_credentials_create_type grpc_external_account_credentials_create_import;
|
421
|
-
#define grpc_external_account_credentials_create grpc_external_account_credentials_create_import
|
422
|
-
typedef grpc_call_credentials*(*grpc_google_refresh_token_credentials_create_type)(const char* json_refresh_token, void* reserved);
|
423
|
-
extern grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import;
|
424
|
-
#define grpc_google_refresh_token_credentials_create grpc_google_refresh_token_credentials_create_import
|
425
|
-
typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token, void* reserved);
|
426
|
-
extern grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import;
|
427
|
-
#define grpc_access_token_credentials_create grpc_access_token_credentials_create_import
|
428
|
-
typedef grpc_call_credentials*(*grpc_google_iam_credentials_create_type)(const char* authorization_token, const char* authority_selector, void* reserved);
|
429
|
-
extern grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import;
|
430
|
-
#define grpc_google_iam_credentials_create grpc_google_iam_credentials_create_import
|
431
|
-
typedef grpc_call_credentials*(*grpc_sts_credentials_create_type)(const grpc_sts_credentials_options* options, void* reserved);
|
432
|
-
extern grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
|
433
|
-
#define grpc_sts_credentials_create grpc_sts_credentials_create_import
|
434
|
-
typedef void(*grpc_auth_metadata_context_copy_type)(grpc_auth_metadata_context* from, grpc_auth_metadata_context* to);
|
435
|
-
extern grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
|
436
|
-
#define grpc_auth_metadata_context_copy grpc_auth_metadata_context_copy_import
|
437
|
-
typedef void(*grpc_auth_metadata_context_reset_type)(grpc_auth_metadata_context* context);
|
438
|
-
extern grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
|
439
|
-
#define grpc_auth_metadata_context_reset grpc_auth_metadata_context_reset_import
|
440
|
-
typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void* reserved);
|
441
|
-
extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
442
|
-
#define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import
|
443
|
-
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);
|
444
|
-
extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
|
445
|
-
#define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import
|
446
|
-
typedef void(*grpc_ssl_server_certificate_config_destroy_type)(grpc_ssl_server_certificate_config* config);
|
447
|
-
extern grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
|
448
|
-
#define grpc_ssl_server_certificate_config_destroy grpc_ssl_server_certificate_config_destroy_import
|
449
|
-
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);
|
450
|
-
extern grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
|
451
|
-
#define grpc_ssl_server_credentials_create grpc_ssl_server_credentials_create_import
|
452
|
-
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);
|
453
|
-
extern grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import;
|
454
|
-
#define grpc_ssl_server_credentials_create_ex grpc_ssl_server_credentials_create_ex_import
|
455
|
-
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);
|
456
|
-
extern grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import;
|
457
|
-
#define grpc_ssl_server_credentials_create_options_using_config grpc_ssl_server_credentials_create_options_using_config_import
|
458
|
-
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);
|
459
|
-
extern grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
|
460
|
-
#define grpc_ssl_server_credentials_create_options_using_config_fetcher grpc_ssl_server_credentials_create_options_using_config_fetcher_import
|
461
|
-
typedef void(*grpc_ssl_server_credentials_options_destroy_type)(grpc_ssl_server_credentials_options* options);
|
462
|
-
extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
|
463
|
-
#define grpc_ssl_server_credentials_options_destroy grpc_ssl_server_credentials_options_destroy_import
|
464
|
-
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options);
|
465
|
-
extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
|
466
|
-
#define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import
|
467
|
-
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds);
|
468
|
-
extern grpc_call_set_credentials_type grpc_call_set_credentials_import;
|
469
|
-
#define grpc_call_set_credentials grpc_call_set_credentials_import
|
470
|
-
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials* creds, grpc_auth_metadata_processor processor);
|
471
|
-
extern grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
|
472
|
-
#define grpc_server_credentials_set_auth_metadata_processor grpc_server_credentials_set_auth_metadata_processor_import
|
473
|
-
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_client_options_create_type)(void);
|
474
|
-
extern grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import;
|
475
|
-
#define grpc_alts_credentials_client_options_create grpc_alts_credentials_client_options_create_import
|
476
|
-
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_server_options_create_type)(void);
|
477
|
-
extern grpc_alts_credentials_server_options_create_type grpc_alts_credentials_server_options_create_import;
|
478
|
-
#define grpc_alts_credentials_server_options_create grpc_alts_credentials_server_options_create_import
|
479
|
-
typedef void(*grpc_alts_credentials_client_options_add_target_service_account_type)(grpc_alts_credentials_options* options, const char* service_account);
|
480
|
-
extern grpc_alts_credentials_client_options_add_target_service_account_type grpc_alts_credentials_client_options_add_target_service_account_import;
|
481
|
-
#define grpc_alts_credentials_client_options_add_target_service_account grpc_alts_credentials_client_options_add_target_service_account_import
|
482
|
-
typedef void(*grpc_alts_credentials_options_destroy_type)(grpc_alts_credentials_options* options);
|
483
|
-
extern grpc_alts_credentials_options_destroy_type grpc_alts_credentials_options_destroy_import;
|
484
|
-
#define grpc_alts_credentials_options_destroy grpc_alts_credentials_options_destroy_import
|
485
|
-
typedef grpc_channel_credentials*(*grpc_alts_credentials_create_type)(const grpc_alts_credentials_options* options);
|
486
|
-
extern grpc_alts_credentials_create_type grpc_alts_credentials_create_import;
|
487
|
-
#define grpc_alts_credentials_create grpc_alts_credentials_create_import
|
488
|
-
typedef grpc_server_credentials*(*grpc_alts_server_credentials_create_type)(const grpc_alts_credentials_options* options);
|
489
|
-
extern grpc_alts_server_credentials_create_type grpc_alts_server_credentials_create_import;
|
490
|
-
#define grpc_alts_server_credentials_create grpc_alts_server_credentials_create_import
|
491
|
-
typedef grpc_channel_credentials*(*grpc_local_credentials_create_type)(grpc_local_connect_type type);
|
492
|
-
extern grpc_local_credentials_create_type grpc_local_credentials_create_import;
|
493
|
-
#define grpc_local_credentials_create grpc_local_credentials_create_import
|
494
|
-
typedef grpc_server_credentials*(*grpc_local_server_credentials_create_type)(grpc_local_connect_type type);
|
495
|
-
extern grpc_local_server_credentials_create_type grpc_local_server_credentials_create_import;
|
496
|
-
#define grpc_local_server_credentials_create grpc_local_server_credentials_create_import
|
497
|
-
typedef grpc_tls_identity_pairs*(*grpc_tls_identity_pairs_create_type)();
|
498
|
-
extern grpc_tls_identity_pairs_create_type grpc_tls_identity_pairs_create_import;
|
499
|
-
#define grpc_tls_identity_pairs_create grpc_tls_identity_pairs_create_import
|
500
|
-
typedef void(*grpc_tls_identity_pairs_add_pair_type)(grpc_tls_identity_pairs* pairs, const char* private_key, const char* cert_chain);
|
501
|
-
extern grpc_tls_identity_pairs_add_pair_type grpc_tls_identity_pairs_add_pair_import;
|
502
|
-
#define grpc_tls_identity_pairs_add_pair grpc_tls_identity_pairs_add_pair_import
|
503
|
-
typedef void(*grpc_tls_identity_pairs_destroy_type)(grpc_tls_identity_pairs* pairs);
|
504
|
-
extern grpc_tls_identity_pairs_destroy_type grpc_tls_identity_pairs_destroy_import;
|
505
|
-
#define grpc_tls_identity_pairs_destroy grpc_tls_identity_pairs_destroy_import
|
506
|
-
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_static_data_create_type)(const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs);
|
507
|
-
extern grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provider_static_data_create_import;
|
508
|
-
#define grpc_tls_certificate_provider_static_data_create grpc_tls_certificate_provider_static_data_create_import
|
509
|
-
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_file_watcher_create_type)(const char* private_key_path, const char* identity_certificate_path, const char* root_cert_path, unsigned int refresh_interval_sec);
|
510
|
-
extern grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
|
511
|
-
#define grpc_tls_certificate_provider_file_watcher_create grpc_tls_certificate_provider_file_watcher_create_import
|
512
|
-
typedef void(*grpc_tls_certificate_provider_release_type)(grpc_tls_certificate_provider* provider);
|
513
|
-
extern grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
|
514
|
-
#define grpc_tls_certificate_provider_release grpc_tls_certificate_provider_release_import
|
515
|
-
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_create_type)(void);
|
516
|
-
extern grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
|
517
|
-
#define grpc_tls_credentials_options_create grpc_tls_credentials_options_create_import
|
518
|
-
typedef void(*grpc_tls_credentials_options_set_min_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version min_tls_version);
|
519
|
-
extern grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import;
|
520
|
-
#define grpc_tls_credentials_options_set_min_tls_version grpc_tls_credentials_options_set_min_tls_version_import
|
521
|
-
typedef void(*grpc_tls_credentials_options_set_max_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version max_tls_version);
|
522
|
-
extern grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import;
|
523
|
-
#define grpc_tls_credentials_options_set_max_tls_version grpc_tls_credentials_options_set_max_tls_version_import
|
524
|
-
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_copy_type)(grpc_tls_credentials_options* options);
|
525
|
-
extern grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import;
|
526
|
-
#define grpc_tls_credentials_options_copy grpc_tls_credentials_options_copy_import
|
527
|
-
typedef void(*grpc_tls_credentials_options_destroy_type)(grpc_tls_credentials_options* options);
|
528
|
-
extern grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import;
|
529
|
-
#define grpc_tls_credentials_options_destroy grpc_tls_credentials_options_destroy_import
|
530
|
-
typedef void(*grpc_tls_credentials_options_set_certificate_provider_type)(grpc_tls_credentials_options* options, grpc_tls_certificate_provider* provider);
|
531
|
-
extern grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
|
532
|
-
#define grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_set_certificate_provider_import
|
533
|
-
typedef void(*grpc_tls_credentials_options_watch_root_certs_type)(grpc_tls_credentials_options* options);
|
534
|
-
extern grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
|
535
|
-
#define grpc_tls_credentials_options_watch_root_certs grpc_tls_credentials_options_watch_root_certs_import
|
536
|
-
typedef void(*grpc_tls_credentials_options_set_root_cert_name_type)(grpc_tls_credentials_options* options, const char* root_cert_name);
|
537
|
-
extern grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
|
538
|
-
#define grpc_tls_credentials_options_set_root_cert_name grpc_tls_credentials_options_set_root_cert_name_import
|
539
|
-
typedef void(*grpc_tls_credentials_options_watch_identity_key_cert_pairs_type)(grpc_tls_credentials_options* options);
|
540
|
-
extern grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
|
541
|
-
#define grpc_tls_credentials_options_watch_identity_key_cert_pairs grpc_tls_credentials_options_watch_identity_key_cert_pairs_import
|
542
|
-
typedef void(*grpc_tls_credentials_options_set_identity_cert_name_type)(grpc_tls_credentials_options* options, const char* identity_cert_name);
|
543
|
-
extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
|
544
|
-
#define grpc_tls_credentials_options_set_identity_cert_name grpc_tls_credentials_options_set_identity_cert_name_import
|
545
|
-
typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
|
546
|
-
extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
|
547
|
-
#define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
|
548
|
-
typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory);
|
549
|
-
extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
|
550
|
-
#define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import
|
551
|
-
typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert);
|
552
|
-
extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
|
553
|
-
#define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import
|
554
|
-
typedef void(*grpc_tls_credentials_options_set_send_client_ca_list_type)(grpc_tls_credentials_options* options, bool send_client_ca_list);
|
555
|
-
extern grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import;
|
556
|
-
#define grpc_tls_credentials_options_set_send_client_ca_list grpc_tls_credentials_options_set_send_client_ca_list_import
|
557
|
-
typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host);
|
558
|
-
extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
|
559
|
-
#define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import
|
560
|
-
typedef grpc_channel_credentials*(*grpc_insecure_credentials_create_type)();
|
561
|
-
extern grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
|
562
|
-
#define grpc_insecure_credentials_create grpc_insecure_credentials_create_import
|
563
|
-
typedef grpc_server_credentials*(*grpc_insecure_server_credentials_create_type)();
|
564
|
-
extern grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
|
565
|
-
#define grpc_insecure_server_credentials_create grpc_insecure_server_credentials_create_import
|
566
|
-
typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials);
|
567
|
-
extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
|
568
|
-
#define grpc_xds_credentials_create grpc_xds_credentials_create_import
|
569
|
-
typedef grpc_server_credentials*(*grpc_xds_server_credentials_create_type)(grpc_server_credentials* fallback_credentials);
|
570
|
-
extern grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
|
571
|
-
#define grpc_xds_server_credentials_create grpc_xds_server_credentials_create_import
|
572
573
|
typedef grpc_authorization_policy_provider*(*grpc_authorization_policy_provider_static_data_create_type)(const char* authz_policy, grpc_status_code* code, const char** error_details);
|
573
574
|
extern grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
|
574
575
|
#define grpc_authorization_policy_provider_static_data_create grpc_authorization_policy_provider_static_data_create_import
|
@@ -578,9 +579,6 @@ extern grpc_authorization_policy_provider_file_watcher_create_type grpc_authoriz
|
|
578
579
|
typedef void(*grpc_authorization_policy_provider_release_type)(grpc_authorization_policy_provider* provider);
|
579
580
|
extern grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
|
580
581
|
#define grpc_authorization_policy_provider_release grpc_authorization_policy_provider_release_import
|
581
|
-
typedef void(*grpc_tls_credentials_options_set_tls_session_key_log_file_path_type)(grpc_tls_credentials_options* options, const char* path);
|
582
|
-
extern grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
|
583
|
-
#define grpc_tls_credentials_options_set_tls_session_key_log_file_path grpc_tls_credentials_options_set_tls_session_key_log_file_path_import
|
584
582
|
typedef grpc_slice(*grpc_slice_ref_type)(grpc_slice s);
|
585
583
|
extern grpc_slice_ref_type grpc_slice_ref_import;
|
586
584
|
#define grpc_slice_ref grpc_slice_ref_import
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -169,10 +169,13 @@ module GRPC
|
|
169
169
|
batch_result = @call.run_batch(ops)
|
170
170
|
unless @metadata_received
|
171
171
|
@call.metadata = batch_result.metadata
|
172
|
-
@metadata_received = true
|
173
172
|
end
|
174
173
|
set_input_stream_done
|
175
174
|
attach_status_results_and_complete_call(batch_result)
|
175
|
+
ensure
|
176
|
+
# Ensure we don't attempt to request the initial metadata again
|
177
|
+
# in case an exception occurs.
|
178
|
+
@metadata_received = true
|
176
179
|
end
|
177
180
|
|
178
181
|
def attach_status_results_and_complete_call(recv_status_batch_result)
|
@@ -258,12 +261,15 @@ module GRPC
|
|
258
261
|
batch_result = @call.run_batch(ops)
|
259
262
|
unless @metadata_received
|
260
263
|
@call.metadata = batch_result.metadata
|
261
|
-
@metadata_received = true
|
262
264
|
end
|
263
265
|
get_message_from_batch_result(batch_result)
|
264
266
|
rescue GRPC::Core::CallError => e
|
265
267
|
GRPC.logger.info("remote_read: #{e}")
|
266
268
|
nil
|
269
|
+
ensure
|
270
|
+
# Ensure we don't attempt to request the initial metadata again
|
271
|
+
# in case an exception occurs.
|
272
|
+
@metadata_received = true
|
267
273
|
end
|
268
274
|
|
269
275
|
def get_message_from_batch_result(recv_message_batch_result)
|
@@ -61,6 +61,7 @@ FailingStub = FailingService.rpc_stub_class
|
|
61
61
|
class SlowService
|
62
62
|
include GRPC::GenericService
|
63
63
|
rpc :an_rpc, EchoMsg, EchoMsg
|
64
|
+
rpc :a_server_streaming_rpc, EchoMsg, stream(EchoMsg)
|
64
65
|
attr_reader :received_md, :delay
|
65
66
|
|
66
67
|
def initialize(_default_var = 'ignored')
|
@@ -74,6 +75,13 @@ class SlowService
|
|
74
75
|
@received_md << call.metadata unless call.metadata.nil?
|
75
76
|
req # send back the req as the response
|
76
77
|
end
|
78
|
+
|
79
|
+
def a_server_streaming_rpc(_, call)
|
80
|
+
GRPC.logger.info("starting a slow #{@delay} server streaming rpc")
|
81
|
+
sleep @delay
|
82
|
+
@received_md << call.metadata unless call.metadata.nil?
|
83
|
+
[EchoMsg.new, EchoMsg.new]
|
84
|
+
end
|
77
85
|
end
|
78
86
|
|
79
87
|
SlowStub = SlowService.rpc_stub_class
|
@@ -410,6 +418,23 @@ describe GRPC::RpcServer do
|
|
410
418
|
t.join
|
411
419
|
end
|
412
420
|
|
421
|
+
it 'should raise DeadlineExceeded', server: true do
|
422
|
+
service = SlowService.new
|
423
|
+
@srv.handle(service)
|
424
|
+
t = Thread.new { @srv.run }
|
425
|
+
@srv.wait_till_running
|
426
|
+
req = EchoMsg.new
|
427
|
+
stub = SlowStub.new(@host, :this_channel_is_insecure, **client_opts)
|
428
|
+
timeout = service.delay - 0.1
|
429
|
+
deadline = GRPC::Core::TimeConsts.from_relative_time(timeout)
|
430
|
+
responses = stub.a_server_streaming_rpc(req,
|
431
|
+
deadline: deadline,
|
432
|
+
metadata: { k1: 'v1', k2: 'v2' })
|
433
|
+
expect { responses.to_a }.to raise_error(GRPC::DeadlineExceeded)
|
434
|
+
@srv.stop
|
435
|
+
t.join
|
436
|
+
end
|
437
|
+
|
413
438
|
it 'should handle cancellation correctly', server: true do
|
414
439
|
request_received = false
|
415
440
|
request_received_mu = Mutex.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.64.0.pre1
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- gRPC Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: src/ruby/bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -353,7 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
353
|
- !ruby/object:Gem::Version
|
354
354
|
version: '0'
|
355
355
|
requirements: []
|
356
|
-
rubygems_version: 3.5.
|
356
|
+
rubygems_version: 3.5.10
|
357
357
|
signing_key:
|
358
358
|
specification_version: 4
|
359
359
|
summary: GRPC system in Ruby
|