grpc 1.58.3-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +7 -0
  2. data/etc/roots.pem +4337 -0
  3. data/grpc_c.32-msvcrt.ruby +0 -0
  4. data/grpc_c.64-msvcrt.ruby +0 -0
  5. data/grpc_c.64-ucrt.ruby +0 -0
  6. data/src/ruby/bin/math_client.rb +140 -0
  7. data/src/ruby/bin/math_pb.rb +40 -0
  8. data/src/ruby/bin/math_server.rb +191 -0
  9. data/src/ruby/bin/math_services_pb.rb +51 -0
  10. data/src/ruby/bin/noproto_client.rb +93 -0
  11. data/src/ruby/bin/noproto_server.rb +97 -0
  12. data/src/ruby/ext/grpc/ext-export-truffleruby-with-ruby-abi-version.clang +2 -0
  13. data/src/ruby/ext/grpc/ext-export-truffleruby-with-ruby-abi-version.gcc +7 -0
  14. data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.clang +2 -0
  15. data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.gcc +7 -0
  16. data/src/ruby/ext/grpc/ext-export.clang +1 -0
  17. data/src/ruby/ext/grpc/ext-export.gcc +6 -0
  18. data/src/ruby/ext/grpc/extconf.rb +208 -0
  19. data/src/ruby/ext/grpc/rb_byte_buffer.c +65 -0
  20. data/src/ruby/ext/grpc/rb_byte_buffer.h +35 -0
  21. data/src/ruby/ext/grpc/rb_call.c +1075 -0
  22. data/src/ruby/ext/grpc/rb_call.h +57 -0
  23. data/src/ruby/ext/grpc/rb_call_credentials.c +340 -0
  24. data/src/ruby/ext/grpc/rb_call_credentials.h +31 -0
  25. data/src/ruby/ext/grpc/rb_channel.c +875 -0
  26. data/src/ruby/ext/grpc/rb_channel.h +35 -0
  27. data/src/ruby/ext/grpc/rb_channel_args.c +170 -0
  28. data/src/ruby/ext/grpc/rb_channel_args.h +42 -0
  29. data/src/ruby/ext/grpc/rb_channel_credentials.c +285 -0
  30. data/src/ruby/ext/grpc/rb_channel_credentials.h +37 -0
  31. data/src/ruby/ext/grpc/rb_completion_queue.c +101 -0
  32. data/src/ruby/ext/grpc/rb_completion_queue.h +36 -0
  33. data/src/ruby/ext/grpc/rb_compression_options.c +470 -0
  34. data/src/ruby/ext/grpc/rb_compression_options.h +29 -0
  35. data/src/ruby/ext/grpc/rb_enable_cpp.cc +22 -0
  36. data/src/ruby/ext/grpc/rb_event_thread.c +161 -0
  37. data/src/ruby/ext/grpc/rb_event_thread.h +22 -0
  38. data/src/ruby/ext/grpc/rb_grpc.c +496 -0
  39. data/src/ruby/ext/grpc/rb_grpc.h +83 -0
  40. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +599 -0
  41. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +904 -0
  42. data/src/ruby/ext/grpc/rb_loader.c +61 -0
  43. data/src/ruby/ext/grpc/rb_loader.h +25 -0
  44. data/src/ruby/ext/grpc/rb_server.c +405 -0
  45. data/src/ruby/ext/grpc/rb_server.h +32 -0
  46. data/src/ruby/ext/grpc/rb_server_credentials.c +258 -0
  47. data/src/ruby/ext/grpc/rb_server_credentials.h +37 -0
  48. data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +217 -0
  49. data/src/ruby/ext/grpc/rb_xds_channel_credentials.h +37 -0
  50. data/src/ruby/ext/grpc/rb_xds_server_credentials.c +169 -0
  51. data/src/ruby/ext/grpc/rb_xds_server_credentials.h +37 -0
  52. data/src/ruby/lib/grpc/2.6/grpc_c.so +0 -0
  53. data/src/ruby/lib/grpc/2.7/grpc_c.so +0 -0
  54. data/src/ruby/lib/grpc/3.0/grpc_c.so +0 -0
  55. data/src/ruby/lib/grpc/3.1/grpc_c.so +0 -0
  56. data/src/ruby/lib/grpc/3.2/grpc_c.so +0 -0
  57. data/src/ruby/lib/grpc/core/status_codes.rb +135 -0
  58. data/src/ruby/lib/grpc/core/time_consts.rb +56 -0
  59. data/src/ruby/lib/grpc/errors.rb +277 -0
  60. data/src/ruby/lib/grpc/generic/active_call.rb +670 -0
  61. data/src/ruby/lib/grpc/generic/bidi_call.rb +237 -0
  62. data/src/ruby/lib/grpc/generic/client_stub.rb +503 -0
  63. data/src/ruby/lib/grpc/generic/interceptor_registry.rb +53 -0
  64. data/src/ruby/lib/grpc/generic/interceptors.rb +186 -0
  65. data/src/ruby/lib/grpc/generic/rpc_desc.rb +204 -0
  66. data/src/ruby/lib/grpc/generic/rpc_server.rb +551 -0
  67. data/src/ruby/lib/grpc/generic/service.rb +211 -0
  68. data/src/ruby/lib/grpc/google_rpc_status_utils.rb +40 -0
  69. data/src/ruby/lib/grpc/grpc.rb +24 -0
  70. data/src/ruby/lib/grpc/logconfig.rb +44 -0
  71. data/src/ruby/lib/grpc/notifier.rb +45 -0
  72. data/src/ruby/lib/grpc/structs.rb +15 -0
  73. data/src/ruby/lib/grpc/version.rb +18 -0
  74. data/src/ruby/lib/grpc.rb +37 -0
  75. data/src/ruby/pb/README.md +42 -0
  76. data/src/ruby/pb/generate_proto_ruby.sh +46 -0
  77. data/src/ruby/pb/grpc/health/checker.rb +75 -0
  78. data/src/ruby/pb/grpc/health/v1/health_pb.rb +42 -0
  79. data/src/ruby/pb/grpc/health/v1/health_services_pb.rb +62 -0
  80. data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +44 -0
  81. data/src/ruby/pb/grpc/testing/metrics_pb.rb +28 -0
  82. data/src/ruby/pb/grpc/testing/metrics_services_pb.rb +49 -0
  83. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +38 -0
  84. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +63 -0
  85. data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +40 -0
  86. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +152 -0
  87. data/src/ruby/pb/test/client.rb +785 -0
  88. data/src/ruby/pb/test/server.rb +252 -0
  89. data/src/ruby/pb/test/xds_client.rb +415 -0
  90. data/src/ruby/spec/call_credentials_spec.rb +42 -0
  91. data/src/ruby/spec/call_spec.rb +180 -0
  92. data/src/ruby/spec/channel_connection_spec.rb +126 -0
  93. data/src/ruby/spec/channel_credentials_spec.rb +124 -0
  94. data/src/ruby/spec/channel_spec.rb +207 -0
  95. data/src/ruby/spec/client_auth_spec.rb +152 -0
  96. data/src/ruby/spec/client_server_spec.rb +676 -0
  97. data/src/ruby/spec/compression_options_spec.rb +149 -0
  98. data/src/ruby/spec/debug_message_spec.rb +134 -0
  99. data/src/ruby/spec/error_sanity_spec.rb +49 -0
  100. data/src/ruby/spec/errors_spec.rb +142 -0
  101. data/src/ruby/spec/generic/active_call_spec.rb +692 -0
  102. data/src/ruby/spec/generic/client_interceptors_spec.rb +153 -0
  103. data/src/ruby/spec/generic/client_stub_spec.rb +1083 -0
  104. data/src/ruby/spec/generic/interceptor_registry_spec.rb +65 -0
  105. data/src/ruby/spec/generic/rpc_desc_spec.rb +374 -0
  106. data/src/ruby/spec/generic/rpc_server_pool_spec.rb +127 -0
  107. data/src/ruby/spec/generic/rpc_server_spec.rb +748 -0
  108. data/src/ruby/spec/generic/server_interceptors_spec.rb +218 -0
  109. data/src/ruby/spec/generic/service_spec.rb +263 -0
  110. data/src/ruby/spec/google_rpc_status_utils_spec.rb +282 -0
  111. data/src/ruby/spec/pb/codegen/grpc/testing/package_options.proto +28 -0
  112. data/src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto +22 -0
  113. data/src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto +23 -0
  114. data/src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto +41 -0
  115. data/src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto +27 -0
  116. data/src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto +29 -0
  117. data/src/ruby/spec/pb/codegen/package_option_spec.rb +98 -0
  118. data/src/ruby/spec/pb/duplicate/codegen_spec.rb +57 -0
  119. data/src/ruby/spec/pb/health/checker_spec.rb +236 -0
  120. data/src/ruby/spec/server_credentials_spec.rb +104 -0
  121. data/src/ruby/spec/server_spec.rb +231 -0
  122. data/src/ruby/spec/spec_helper.rb +61 -0
  123. data/src/ruby/spec/support/helpers.rb +107 -0
  124. data/src/ruby/spec/support/services.rb +160 -0
  125. data/src/ruby/spec/testdata/README +1 -0
  126. data/src/ruby/spec/testdata/ca.pem +20 -0
  127. data/src/ruby/spec/testdata/client.key +28 -0
  128. data/src/ruby/spec/testdata/client.pem +20 -0
  129. data/src/ruby/spec/testdata/server1.key +28 -0
  130. data/src/ruby/spec/testdata/server1.pem +22 -0
  131. data/src/ruby/spec/time_consts_spec.rb +74 -0
  132. data/src/ruby/spec/user_agent_spec.rb +74 -0
  133. metadata +406 -0
@@ -0,0 +1,904 @@
1
+ /*
2
+ *
3
+ * Copyright 2016 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
19
+ #ifndef GRPC_RB_GRPC_IMPORTS_H_
20
+ #define GRPC_RB_GRPC_IMPORTS_H_
21
+
22
+ #include <grpc/support/port_platform.h>
23
+
24
+ #ifdef GPR_WINDOWS
25
+
26
+ #include <windows.h>
27
+
28
+ #include <grpc/byte_buffer.h>
29
+ #include <grpc/compression.h>
30
+ #include <grpc/grpc.h>
31
+ #include <grpc/grpc_posix.h>
32
+ #include <grpc/grpc_security.h>
33
+ #include <grpc/slice.h>
34
+ #include <grpc/slice_buffer.h>
35
+ #include <grpc/support/alloc.h>
36
+ #include <grpc/support/cpu.h>
37
+ #include <grpc/support/log.h>
38
+ #include <grpc/support/log_windows.h>
39
+ #include <grpc/support/string_util.h>
40
+ #include <grpc/support/sync.h>
41
+ #include <grpc/support/thd_id.h>
42
+ #include <grpc/support/time.h>
43
+
44
+ typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_create_type)(grpc_slice* slices, size_t nslices);
45
+ extern grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
46
+ #define grpc_raw_byte_buffer_create grpc_raw_byte_buffer_create_import
47
+ typedef grpc_byte_buffer*(*grpc_raw_compressed_byte_buffer_create_type)(grpc_slice* slices, size_t nslices, grpc_compression_algorithm compression);
48
+ extern grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
49
+ #define grpc_raw_compressed_byte_buffer_create grpc_raw_compressed_byte_buffer_create_import
50
+ typedef grpc_byte_buffer*(*grpc_byte_buffer_copy_type)(grpc_byte_buffer* bb);
51
+ extern grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
52
+ #define grpc_byte_buffer_copy grpc_byte_buffer_copy_import
53
+ typedef size_t(*grpc_byte_buffer_length_type)(grpc_byte_buffer* bb);
54
+ extern grpc_byte_buffer_length_type grpc_byte_buffer_length_import;
55
+ #define grpc_byte_buffer_length grpc_byte_buffer_length_import
56
+ typedef void(*grpc_byte_buffer_destroy_type)(grpc_byte_buffer* bb);
57
+ extern grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import;
58
+ #define grpc_byte_buffer_destroy grpc_byte_buffer_destroy_import
59
+ typedef int(*grpc_byte_buffer_reader_init_type)(grpc_byte_buffer_reader* reader, grpc_byte_buffer* buffer);
60
+ extern grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import;
61
+ #define grpc_byte_buffer_reader_init grpc_byte_buffer_reader_init_import
62
+ typedef void(*grpc_byte_buffer_reader_destroy_type)(grpc_byte_buffer_reader* reader);
63
+ extern grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import;
64
+ #define grpc_byte_buffer_reader_destroy grpc_byte_buffer_reader_destroy_import
65
+ typedef int(*grpc_byte_buffer_reader_next_type)(grpc_byte_buffer_reader* reader, grpc_slice* slice);
66
+ extern grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
67
+ #define grpc_byte_buffer_reader_next grpc_byte_buffer_reader_next_import
68
+ typedef int(*grpc_byte_buffer_reader_peek_type)(grpc_byte_buffer_reader* reader, grpc_slice** slice);
69
+ extern grpc_byte_buffer_reader_peek_type grpc_byte_buffer_reader_peek_import;
70
+ #define grpc_byte_buffer_reader_peek grpc_byte_buffer_reader_peek_import
71
+ typedef grpc_slice(*grpc_byte_buffer_reader_readall_type)(grpc_byte_buffer_reader* reader);
72
+ extern grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
73
+ #define grpc_byte_buffer_reader_readall grpc_byte_buffer_reader_readall_import
74
+ typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_from_reader_type)(grpc_byte_buffer_reader* reader);
75
+ extern grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import;
76
+ #define grpc_raw_byte_buffer_from_reader grpc_raw_byte_buffer_from_reader_import
77
+ typedef int(*grpc_compression_algorithm_is_message_type)(grpc_compression_algorithm algorithm);
78
+ extern grpc_compression_algorithm_is_message_type grpc_compression_algorithm_is_message_import;
79
+ #define grpc_compression_algorithm_is_message grpc_compression_algorithm_is_message_import
80
+ typedef int(*grpc_compression_algorithm_is_stream_type)(grpc_compression_algorithm algorithm);
81
+ extern grpc_compression_algorithm_is_stream_type grpc_compression_algorithm_is_stream_import;
82
+ #define grpc_compression_algorithm_is_stream grpc_compression_algorithm_is_stream_import
83
+ typedef int(*grpc_compression_algorithm_parse_type)(grpc_slice name, grpc_compression_algorithm* algorithm);
84
+ extern grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import;
85
+ #define grpc_compression_algorithm_parse grpc_compression_algorithm_parse_import
86
+ typedef int(*grpc_compression_algorithm_name_type)(grpc_compression_algorithm algorithm, const char** name);
87
+ extern grpc_compression_algorithm_name_type grpc_compression_algorithm_name_import;
88
+ #define grpc_compression_algorithm_name grpc_compression_algorithm_name_import
89
+ typedef grpc_compression_algorithm(*grpc_compression_algorithm_for_level_type)(grpc_compression_level level, uint32_t accepted_encodings);
90
+ extern grpc_compression_algorithm_for_level_type grpc_compression_algorithm_for_level_import;
91
+ #define grpc_compression_algorithm_for_level grpc_compression_algorithm_for_level_import
92
+ typedef void(*grpc_compression_options_init_type)(grpc_compression_options* opts);
93
+ extern grpc_compression_options_init_type grpc_compression_options_init_import;
94
+ #define grpc_compression_options_init grpc_compression_options_init_import
95
+ typedef void(*grpc_compression_options_enable_algorithm_type)(grpc_compression_options* opts, grpc_compression_algorithm algorithm);
96
+ extern grpc_compression_options_enable_algorithm_type grpc_compression_options_enable_algorithm_import;
97
+ #define grpc_compression_options_enable_algorithm grpc_compression_options_enable_algorithm_import
98
+ typedef void(*grpc_compression_options_disable_algorithm_type)(grpc_compression_options* opts, grpc_compression_algorithm algorithm);
99
+ extern grpc_compression_options_disable_algorithm_type grpc_compression_options_disable_algorithm_import;
100
+ #define grpc_compression_options_disable_algorithm grpc_compression_options_disable_algorithm_import
101
+ typedef int(*grpc_compression_options_is_algorithm_enabled_type)(const grpc_compression_options* opts, grpc_compression_algorithm algorithm);
102
+ extern grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import;
103
+ #define grpc_compression_options_is_algorithm_enabled grpc_compression_options_is_algorithm_enabled_import
104
+ typedef void(*grpc_metadata_array_init_type)(grpc_metadata_array* array);
105
+ extern grpc_metadata_array_init_type grpc_metadata_array_init_import;
106
+ #define grpc_metadata_array_init grpc_metadata_array_init_import
107
+ typedef void(*grpc_metadata_array_destroy_type)(grpc_metadata_array* array);
108
+ extern grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import;
109
+ #define grpc_metadata_array_destroy grpc_metadata_array_destroy_import
110
+ typedef void(*grpc_call_details_init_type)(grpc_call_details* details);
111
+ extern grpc_call_details_init_type grpc_call_details_init_import;
112
+ #define grpc_call_details_init grpc_call_details_init_import
113
+ typedef void(*grpc_call_details_destroy_type)(grpc_call_details* details);
114
+ extern grpc_call_details_destroy_type grpc_call_details_destroy_import;
115
+ #define grpc_call_details_destroy grpc_call_details_destroy_import
116
+ typedef void(*grpc_init_type)(void);
117
+ extern grpc_init_type grpc_init_import;
118
+ #define grpc_init grpc_init_import
119
+ typedef void(*grpc_shutdown_type)(void);
120
+ extern grpc_shutdown_type grpc_shutdown_import;
121
+ #define grpc_shutdown grpc_shutdown_import
122
+ typedef int(*grpc_is_initialized_type)(void);
123
+ extern grpc_is_initialized_type grpc_is_initialized_import;
124
+ #define grpc_is_initialized grpc_is_initialized_import
125
+ typedef void(*grpc_shutdown_blocking_type)(void);
126
+ extern grpc_shutdown_blocking_type grpc_shutdown_blocking_import;
127
+ #define grpc_shutdown_blocking grpc_shutdown_blocking_import
128
+ typedef const char*(*grpc_version_string_type)(void);
129
+ extern grpc_version_string_type grpc_version_string_import;
130
+ #define grpc_version_string grpc_version_string_import
131
+ typedef const char*(*grpc_g_stands_for_type)(void);
132
+ extern grpc_g_stands_for_type grpc_g_stands_for_import;
133
+ #define grpc_g_stands_for grpc_g_stands_for_import
134
+ typedef const grpc_completion_queue_factory*(*grpc_completion_queue_factory_lookup_type)(const grpc_completion_queue_attributes* attributes);
135
+ extern grpc_completion_queue_factory_lookup_type grpc_completion_queue_factory_lookup_import;
136
+ #define grpc_completion_queue_factory_lookup grpc_completion_queue_factory_lookup_import
137
+ typedef grpc_completion_queue*(*grpc_completion_queue_create_for_next_type)(void* reserved);
138
+ extern grpc_completion_queue_create_for_next_type grpc_completion_queue_create_for_next_import;
139
+ #define grpc_completion_queue_create_for_next grpc_completion_queue_create_for_next_import
140
+ typedef grpc_completion_queue*(*grpc_completion_queue_create_for_pluck_type)(void* reserved);
141
+ extern grpc_completion_queue_create_for_pluck_type grpc_completion_queue_create_for_pluck_import;
142
+ #define grpc_completion_queue_create_for_pluck grpc_completion_queue_create_for_pluck_import
143
+ typedef grpc_completion_queue*(*grpc_completion_queue_create_for_callback_type)(grpc_completion_queue_functor* shutdown_callback, void* reserved);
144
+ extern grpc_completion_queue_create_for_callback_type grpc_completion_queue_create_for_callback_import;
145
+ #define grpc_completion_queue_create_for_callback grpc_completion_queue_create_for_callback_import
146
+ typedef grpc_completion_queue*(*grpc_completion_queue_create_type)(const grpc_completion_queue_factory* factory, const grpc_completion_queue_attributes* attributes, void* reserved);
147
+ extern grpc_completion_queue_create_type grpc_completion_queue_create_import;
148
+ #define grpc_completion_queue_create grpc_completion_queue_create_import
149
+ typedef grpc_event(*grpc_completion_queue_next_type)(grpc_completion_queue* cq, gpr_timespec deadline, void* reserved);
150
+ extern grpc_completion_queue_next_type grpc_completion_queue_next_import;
151
+ #define grpc_completion_queue_next grpc_completion_queue_next_import
152
+ typedef grpc_event(*grpc_completion_queue_pluck_type)(grpc_completion_queue* cq, void* tag, gpr_timespec deadline, void* reserved);
153
+ extern grpc_completion_queue_pluck_type grpc_completion_queue_pluck_import;
154
+ #define grpc_completion_queue_pluck grpc_completion_queue_pluck_import
155
+ typedef void(*grpc_completion_queue_shutdown_type)(grpc_completion_queue* cq);
156
+ extern grpc_completion_queue_shutdown_type grpc_completion_queue_shutdown_import;
157
+ #define grpc_completion_queue_shutdown grpc_completion_queue_shutdown_import
158
+ typedef void(*grpc_completion_queue_destroy_type)(grpc_completion_queue* cq);
159
+ extern grpc_completion_queue_destroy_type grpc_completion_queue_destroy_import;
160
+ #define grpc_completion_queue_destroy grpc_completion_queue_destroy_import
161
+ typedef void(*grpc_completion_queue_thread_local_cache_init_type)(grpc_completion_queue* cq);
162
+ extern grpc_completion_queue_thread_local_cache_init_type grpc_completion_queue_thread_local_cache_init_import;
163
+ #define grpc_completion_queue_thread_local_cache_init grpc_completion_queue_thread_local_cache_init_import
164
+ typedef int(*grpc_completion_queue_thread_local_cache_flush_type)(grpc_completion_queue* cq, void** tag, int* ok);
165
+ extern grpc_completion_queue_thread_local_cache_flush_type grpc_completion_queue_thread_local_cache_flush_import;
166
+ #define grpc_completion_queue_thread_local_cache_flush grpc_completion_queue_thread_local_cache_flush_import
167
+ typedef grpc_connectivity_state(*grpc_channel_check_connectivity_state_type)(grpc_channel* channel, int try_to_connect);
168
+ extern grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import;
169
+ #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
+ 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
+ extern grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import;
175
+ #define grpc_channel_watch_connectivity_state grpc_channel_watch_connectivity_state_import
176
+ typedef int(*grpc_channel_support_connectivity_watcher_type)(grpc_channel* channel);
177
+ extern grpc_channel_support_connectivity_watcher_type grpc_channel_support_connectivity_watcher_import;
178
+ #define grpc_channel_support_connectivity_watcher grpc_channel_support_connectivity_watcher_import
179
+ typedef grpc_call*(*grpc_channel_create_call_type)(grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask, grpc_completion_queue* completion_queue, grpc_slice method, const grpc_slice* host, gpr_timespec deadline, void* reserved);
180
+ extern grpc_channel_create_call_type grpc_channel_create_call_import;
181
+ #define grpc_channel_create_call grpc_channel_create_call_import
182
+ typedef void*(*grpc_channel_register_call_type)(grpc_channel* channel, const char* method, const char* host, void* reserved);
183
+ extern grpc_channel_register_call_type grpc_channel_register_call_import;
184
+ #define grpc_channel_register_call grpc_channel_register_call_import
185
+ typedef grpc_call*(*grpc_channel_create_registered_call_type)(grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask, grpc_completion_queue* completion_queue, void* registered_call_handle, gpr_timespec deadline, void* reserved);
186
+ extern grpc_channel_create_registered_call_type grpc_channel_create_registered_call_import;
187
+ #define grpc_channel_create_registered_call grpc_channel_create_registered_call_import
188
+ typedef void*(*grpc_call_arena_alloc_type)(grpc_call* call, size_t size);
189
+ extern grpc_call_arena_alloc_type grpc_call_arena_alloc_import;
190
+ #define grpc_call_arena_alloc grpc_call_arena_alloc_import
191
+ typedef grpc_call_error(*grpc_call_start_batch_type)(grpc_call* call, const grpc_op* ops, size_t nops, void* tag, void* reserved);
192
+ extern grpc_call_start_batch_type grpc_call_start_batch_import;
193
+ #define grpc_call_start_batch grpc_call_start_batch_import
194
+ typedef char*(*grpc_call_get_peer_type)(grpc_call* call);
195
+ extern grpc_call_get_peer_type grpc_call_get_peer_import;
196
+ #define grpc_call_get_peer grpc_call_get_peer_import
197
+ typedef void(*grpc_census_call_set_context_type)(grpc_call* call, struct census_context* context);
198
+ extern grpc_census_call_set_context_type grpc_census_call_set_context_import;
199
+ #define grpc_census_call_set_context grpc_census_call_set_context_import
200
+ typedef struct census_context*(*grpc_census_call_get_context_type)(grpc_call* call);
201
+ extern grpc_census_call_get_context_type grpc_census_call_get_context_import;
202
+ #define grpc_census_call_get_context grpc_census_call_get_context_import
203
+ typedef char*(*grpc_channel_get_target_type)(grpc_channel* channel);
204
+ extern grpc_channel_get_target_type grpc_channel_get_target_import;
205
+ #define grpc_channel_get_target grpc_channel_get_target_import
206
+ typedef void(*grpc_channel_get_info_type)(grpc_channel* channel, const grpc_channel_info* channel_info);
207
+ extern grpc_channel_get_info_type grpc_channel_get_info_import;
208
+ #define grpc_channel_get_info grpc_channel_get_info_import
209
+ typedef void(*grpc_channel_reset_connect_backoff_type)(grpc_channel* channel);
210
+ extern grpc_channel_reset_connect_backoff_type grpc_channel_reset_connect_backoff_import;
211
+ #define grpc_channel_reset_connect_backoff grpc_channel_reset_connect_backoff_import
212
+ typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials* creds);
213
+ extern grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
214
+ #define grpc_channel_credentials_release grpc_channel_credentials_release_import
215
+ typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials* creds);
216
+ extern grpc_server_credentials_release_type grpc_server_credentials_release_import;
217
+ #define grpc_server_credentials_release grpc_server_credentials_release_import
218
+ typedef grpc_channel*(*grpc_channel_create_type)(const char* target, grpc_channel_credentials* creds, const grpc_channel_args* args);
219
+ extern grpc_channel_create_type grpc_channel_create_import;
220
+ #define grpc_channel_create grpc_channel_create_import
221
+ typedef grpc_channel*(*grpc_lame_client_channel_create_type)(const char* target, grpc_status_code error_code, const char* error_message);
222
+ extern grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
223
+ #define grpc_lame_client_channel_create grpc_lame_client_channel_create_import
224
+ typedef void(*grpc_channel_destroy_type)(grpc_channel* channel);
225
+ extern grpc_channel_destroy_type grpc_channel_destroy_import;
226
+ #define grpc_channel_destroy grpc_channel_destroy_import
227
+ typedef grpc_call_error(*grpc_call_cancel_type)(grpc_call* call, void* reserved);
228
+ extern grpc_call_cancel_type grpc_call_cancel_import;
229
+ #define grpc_call_cancel grpc_call_cancel_import
230
+ typedef grpc_call_error(*grpc_call_cancel_with_status_type)(grpc_call* call, grpc_status_code status, const char* description, void* reserved);
231
+ extern grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import;
232
+ #define grpc_call_cancel_with_status grpc_call_cancel_with_status_import
233
+ typedef int(*grpc_call_failed_before_recv_message_type)(const grpc_call* c);
234
+ extern grpc_call_failed_before_recv_message_type grpc_call_failed_before_recv_message_import;
235
+ #define grpc_call_failed_before_recv_message grpc_call_failed_before_recv_message_import
236
+ typedef void(*grpc_call_ref_type)(grpc_call* call);
237
+ extern grpc_call_ref_type grpc_call_ref_import;
238
+ #define grpc_call_ref grpc_call_ref_import
239
+ typedef void(*grpc_call_unref_type)(grpc_call* call);
240
+ extern grpc_call_unref_type grpc_call_unref_import;
241
+ #define grpc_call_unref grpc_call_unref_import
242
+ 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
+ extern grpc_server_request_call_type grpc_server_request_call_import;
244
+ #define grpc_server_request_call grpc_server_request_call_import
245
+ typedef void*(*grpc_server_register_method_type)(grpc_server* server, const char* method, const char* host, grpc_server_register_method_payload_handling payload_handling, uint32_t flags);
246
+ extern grpc_server_register_method_type grpc_server_register_method_import;
247
+ #define grpc_server_register_method grpc_server_register_method_import
248
+ typedef grpc_call_error(*grpc_server_request_registered_call_type)(grpc_server* server, void* registered_method, grpc_call** call, gpr_timespec* deadline, grpc_metadata_array* request_metadata, grpc_byte_buffer** optional_payload, grpc_completion_queue* cq_bound_to_call, grpc_completion_queue* cq_for_notification, void* tag_new);
249
+ extern grpc_server_request_registered_call_type grpc_server_request_registered_call_import;
250
+ #define grpc_server_request_registered_call grpc_server_request_registered_call_import
251
+ typedef grpc_server*(*grpc_server_create_type)(const grpc_channel_args* args, void* reserved);
252
+ extern grpc_server_create_type grpc_server_create_import;
253
+ #define grpc_server_create grpc_server_create_import
254
+ typedef void(*grpc_server_register_completion_queue_type)(grpc_server* server, grpc_completion_queue* cq, void* reserved);
255
+ extern grpc_server_register_completion_queue_type grpc_server_register_completion_queue_import;
256
+ #define grpc_server_register_completion_queue grpc_server_register_completion_queue_import
257
+ typedef grpc_server_config_fetcher*(*grpc_server_config_fetcher_xds_create_type)(grpc_server_xds_status_notifier notifier, const grpc_channel_args* args);
258
+ extern grpc_server_config_fetcher_xds_create_type grpc_server_config_fetcher_xds_create_import;
259
+ #define grpc_server_config_fetcher_xds_create grpc_server_config_fetcher_xds_create_import
260
+ typedef void(*grpc_server_config_fetcher_destroy_type)(grpc_server_config_fetcher* config_fetcher);
261
+ extern grpc_server_config_fetcher_destroy_type grpc_server_config_fetcher_destroy_import;
262
+ #define grpc_server_config_fetcher_destroy grpc_server_config_fetcher_destroy_import
263
+ typedef void(*grpc_server_set_config_fetcher_type)(grpc_server* server, grpc_server_config_fetcher* config_fetcher);
264
+ extern grpc_server_set_config_fetcher_type grpc_server_set_config_fetcher_import;
265
+ #define grpc_server_set_config_fetcher grpc_server_set_config_fetcher_import
266
+ typedef int(*grpc_server_add_http2_port_type)(grpc_server* server, const char* addr, grpc_server_credentials* creds);
267
+ extern grpc_server_add_http2_port_type grpc_server_add_http2_port_import;
268
+ #define grpc_server_add_http2_port grpc_server_add_http2_port_import
269
+ typedef void(*grpc_server_start_type)(grpc_server* server);
270
+ extern grpc_server_start_type grpc_server_start_import;
271
+ #define grpc_server_start grpc_server_start_import
272
+ typedef void(*grpc_server_shutdown_and_notify_type)(grpc_server* server, grpc_completion_queue* cq, void* tag);
273
+ extern grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import;
274
+ #define grpc_server_shutdown_and_notify grpc_server_shutdown_and_notify_import
275
+ typedef void(*grpc_server_cancel_all_calls_type)(grpc_server* server);
276
+ extern grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import;
277
+ #define grpc_server_cancel_all_calls grpc_server_cancel_all_calls_import
278
+ typedef void(*grpc_server_destroy_type)(grpc_server* server);
279
+ extern grpc_server_destroy_type grpc_server_destroy_import;
280
+ #define grpc_server_destroy grpc_server_destroy_import
281
+ typedef int(*grpc_tracer_set_enabled_type)(const char* name, int enabled);
282
+ extern grpc_tracer_set_enabled_type grpc_tracer_set_enabled_import;
283
+ #define grpc_tracer_set_enabled grpc_tracer_set_enabled_import
284
+ typedef int(*grpc_header_key_is_legal_type)(grpc_slice slice);
285
+ extern grpc_header_key_is_legal_type grpc_header_key_is_legal_import;
286
+ #define grpc_header_key_is_legal grpc_header_key_is_legal_import
287
+ typedef int(*grpc_header_nonbin_value_is_legal_type)(grpc_slice slice);
288
+ extern grpc_header_nonbin_value_is_legal_type grpc_header_nonbin_value_is_legal_import;
289
+ #define grpc_header_nonbin_value_is_legal grpc_header_nonbin_value_is_legal_import
290
+ typedef int(*grpc_is_binary_header_type)(grpc_slice slice);
291
+ extern grpc_is_binary_header_type grpc_is_binary_header_import;
292
+ #define grpc_is_binary_header grpc_is_binary_header_import
293
+ typedef const char*(*grpc_call_error_to_string_type)(grpc_call_error error);
294
+ extern grpc_call_error_to_string_type grpc_call_error_to_string_import;
295
+ #define grpc_call_error_to_string grpc_call_error_to_string_import
296
+ typedef grpc_resource_quota*(*grpc_resource_quota_create_type)(const char* trace_name);
297
+ extern grpc_resource_quota_create_type grpc_resource_quota_create_import;
298
+ #define grpc_resource_quota_create grpc_resource_quota_create_import
299
+ typedef void(*grpc_resource_quota_ref_type)(grpc_resource_quota* resource_quota);
300
+ extern grpc_resource_quota_ref_type grpc_resource_quota_ref_import;
301
+ #define grpc_resource_quota_ref grpc_resource_quota_ref_import
302
+ typedef void(*grpc_resource_quota_unref_type)(grpc_resource_quota* resource_quota);
303
+ extern grpc_resource_quota_unref_type grpc_resource_quota_unref_import;
304
+ #define grpc_resource_quota_unref grpc_resource_quota_unref_import
305
+ typedef void(*grpc_resource_quota_resize_type)(grpc_resource_quota* resource_quota, size_t new_size);
306
+ extern grpc_resource_quota_resize_type grpc_resource_quota_resize_import;
307
+ #define grpc_resource_quota_resize grpc_resource_quota_resize_import
308
+ typedef void(*grpc_resource_quota_set_max_threads_type)(grpc_resource_quota* resource_quota, int new_max_threads);
309
+ extern grpc_resource_quota_set_max_threads_type grpc_resource_quota_set_max_threads_import;
310
+ #define grpc_resource_quota_set_max_threads grpc_resource_quota_set_max_threads_import
311
+ typedef grpc_slice(*grpc_dump_xds_configs_type)(void);
312
+ extern grpc_dump_xds_configs_type grpc_dump_xds_configs_import;
313
+ #define grpc_dump_xds_configs grpc_dump_xds_configs_import
314
+ typedef const grpc_arg_pointer_vtable*(*grpc_resource_quota_arg_vtable_type)(void);
315
+ extern grpc_resource_quota_arg_vtable_type grpc_resource_quota_arg_vtable_import;
316
+ #define grpc_resource_quota_arg_vtable grpc_resource_quota_arg_vtable_import
317
+ typedef char*(*grpc_channelz_get_top_channels_type)(intptr_t start_channel_id);
318
+ extern grpc_channelz_get_top_channels_type grpc_channelz_get_top_channels_import;
319
+ #define grpc_channelz_get_top_channels grpc_channelz_get_top_channels_import
320
+ typedef char*(*grpc_channelz_get_servers_type)(intptr_t start_server_id);
321
+ extern grpc_channelz_get_servers_type grpc_channelz_get_servers_import;
322
+ #define grpc_channelz_get_servers grpc_channelz_get_servers_import
323
+ typedef char*(*grpc_channelz_get_server_type)(intptr_t server_id);
324
+ extern grpc_channelz_get_server_type grpc_channelz_get_server_import;
325
+ #define grpc_channelz_get_server grpc_channelz_get_server_import
326
+ typedef char*(*grpc_channelz_get_server_sockets_type)(intptr_t server_id, intptr_t start_socket_id, intptr_t max_results);
327
+ extern grpc_channelz_get_server_sockets_type grpc_channelz_get_server_sockets_import;
328
+ #define grpc_channelz_get_server_sockets grpc_channelz_get_server_sockets_import
329
+ typedef char*(*grpc_channelz_get_channel_type)(intptr_t channel_id);
330
+ extern grpc_channelz_get_channel_type grpc_channelz_get_channel_import;
331
+ #define grpc_channelz_get_channel grpc_channelz_get_channel_import
332
+ typedef char*(*grpc_channelz_get_subchannel_type)(intptr_t subchannel_id);
333
+ extern grpc_channelz_get_subchannel_type grpc_channelz_get_subchannel_import;
334
+ #define grpc_channelz_get_subchannel grpc_channelz_get_subchannel_import
335
+ typedef char*(*grpc_channelz_get_socket_type)(intptr_t socket_id);
336
+ extern grpc_channelz_get_socket_type grpc_channelz_get_socket_import;
337
+ #define grpc_channelz_get_socket grpc_channelz_get_socket_import
338
+ typedef const grpc_arg_pointer_vtable*(*grpc_authorization_policy_provider_arg_vtable_type)(void);
339
+ extern grpc_authorization_policy_provider_arg_vtable_type grpc_authorization_policy_provider_arg_vtable_import;
340
+ #define grpc_authorization_policy_provider_arg_vtable grpc_authorization_policy_provider_arg_vtable_import
341
+ typedef grpc_channel*(*grpc_channel_create_from_fd_type)(const char* target, int fd, grpc_channel_credentials* creds, const grpc_channel_args* args);
342
+ extern grpc_channel_create_from_fd_type grpc_channel_create_from_fd_import;
343
+ #define grpc_channel_create_from_fd grpc_channel_create_from_fd_import
344
+ typedef void(*grpc_server_add_channel_from_fd_type)(grpc_server* server, int fd, grpc_server_credentials* creds);
345
+ extern grpc_server_add_channel_from_fd_type grpc_server_add_channel_from_fd_import;
346
+ #define grpc_server_add_channel_from_fd grpc_server_add_channel_from_fd_import
347
+ typedef const grpc_auth_property*(*grpc_auth_property_iterator_next_type)(grpc_auth_property_iterator* it);
348
+ extern grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
349
+ #define grpc_auth_property_iterator_next grpc_auth_property_iterator_next_import
350
+ typedef grpc_auth_property_iterator(*grpc_auth_context_property_iterator_type)(const grpc_auth_context* ctx);
351
+ extern grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import;
352
+ #define grpc_auth_context_property_iterator grpc_auth_context_property_iterator_import
353
+ typedef grpc_auth_property_iterator(*grpc_auth_context_peer_identity_type)(const grpc_auth_context* ctx);
354
+ extern grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import;
355
+ #define grpc_auth_context_peer_identity grpc_auth_context_peer_identity_import
356
+ typedef grpc_auth_property_iterator(*grpc_auth_context_find_properties_by_name_type)(const grpc_auth_context* ctx, const char* name);
357
+ extern grpc_auth_context_find_properties_by_name_type grpc_auth_context_find_properties_by_name_import;
358
+ #define grpc_auth_context_find_properties_by_name grpc_auth_context_find_properties_by_name_import
359
+ typedef const char*(*grpc_auth_context_peer_identity_property_name_type)(const grpc_auth_context* ctx);
360
+ extern grpc_auth_context_peer_identity_property_name_type grpc_auth_context_peer_identity_property_name_import;
361
+ #define grpc_auth_context_peer_identity_property_name grpc_auth_context_peer_identity_property_name_import
362
+ typedef int(*grpc_auth_context_peer_is_authenticated_type)(const grpc_auth_context* ctx);
363
+ extern grpc_auth_context_peer_is_authenticated_type grpc_auth_context_peer_is_authenticated_import;
364
+ #define grpc_auth_context_peer_is_authenticated grpc_auth_context_peer_is_authenticated_import
365
+ typedef grpc_auth_context*(*grpc_call_auth_context_type)(grpc_call* call);
366
+ extern grpc_call_auth_context_type grpc_call_auth_context_import;
367
+ #define grpc_call_auth_context grpc_call_auth_context_import
368
+ typedef void(*grpc_auth_context_release_type)(grpc_auth_context* context);
369
+ extern grpc_auth_context_release_type grpc_auth_context_release_import;
370
+ #define grpc_auth_context_release grpc_auth_context_release_import
371
+ typedef void(*grpc_auth_context_add_property_type)(grpc_auth_context* ctx, const char* name, const char* value, size_t value_length);
372
+ extern grpc_auth_context_add_property_type grpc_auth_context_add_property_import;
373
+ #define grpc_auth_context_add_property grpc_auth_context_add_property_import
374
+ typedef void(*grpc_auth_context_add_cstring_property_type)(grpc_auth_context* ctx, const char* name, const char* value);
375
+ extern grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring_property_import;
376
+ #define grpc_auth_context_add_cstring_property grpc_auth_context_add_cstring_property_import
377
+ typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context* ctx, const char* name);
378
+ extern grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import;
379
+ #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_certificate_provider_type)(grpc_tls_credentials_options* options, grpc_tls_certificate_provider* provider);
519
+ extern grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
520
+ #define grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_set_certificate_provider_import
521
+ typedef void(*grpc_tls_credentials_options_watch_root_certs_type)(grpc_tls_credentials_options* options);
522
+ extern grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
523
+ #define grpc_tls_credentials_options_watch_root_certs grpc_tls_credentials_options_watch_root_certs_import
524
+ typedef void(*grpc_tls_credentials_options_set_root_cert_name_type)(grpc_tls_credentials_options* options, const char* root_cert_name);
525
+ extern grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
526
+ #define grpc_tls_credentials_options_set_root_cert_name grpc_tls_credentials_options_set_root_cert_name_import
527
+ typedef void(*grpc_tls_credentials_options_watch_identity_key_cert_pairs_type)(grpc_tls_credentials_options* options);
528
+ extern grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
529
+ #define grpc_tls_credentials_options_watch_identity_key_cert_pairs grpc_tls_credentials_options_watch_identity_key_cert_pairs_import
530
+ typedef void(*grpc_tls_credentials_options_set_identity_cert_name_type)(grpc_tls_credentials_options* options, const char* identity_cert_name);
531
+ extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
532
+ #define grpc_tls_credentials_options_set_identity_cert_name grpc_tls_credentials_options_set_identity_cert_name_import
533
+ typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
534
+ extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
535
+ #define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
536
+ typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory);
537
+ extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
538
+ #define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import
539
+ typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert);
540
+ extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
541
+ #define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import
542
+ typedef void(*grpc_tls_credentials_options_set_send_client_ca_list_type)(grpc_tls_credentials_options* options, bool send_client_ca_list);
543
+ extern grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import;
544
+ #define grpc_tls_credentials_options_set_send_client_ca_list grpc_tls_credentials_options_set_send_client_ca_list_import
545
+ typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host);
546
+ extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
547
+ #define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import
548
+ typedef grpc_channel_credentials*(*grpc_insecure_credentials_create_type)();
549
+ extern grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
550
+ #define grpc_insecure_credentials_create grpc_insecure_credentials_create_import
551
+ typedef grpc_server_credentials*(*grpc_insecure_server_credentials_create_type)();
552
+ extern grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
553
+ #define grpc_insecure_server_credentials_create grpc_insecure_server_credentials_create_import
554
+ typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials);
555
+ extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
556
+ #define grpc_xds_credentials_create grpc_xds_credentials_create_import
557
+ typedef grpc_server_credentials*(*grpc_xds_server_credentials_create_type)(grpc_server_credentials* fallback_credentials);
558
+ extern grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
559
+ #define grpc_xds_server_credentials_create grpc_xds_server_credentials_create_import
560
+ 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);
561
+ extern grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
562
+ #define grpc_authorization_policy_provider_static_data_create grpc_authorization_policy_provider_static_data_create_import
563
+ typedef grpc_authorization_policy_provider*(*grpc_authorization_policy_provider_file_watcher_create_type)(const char* authz_policy_path, unsigned int refresh_interval_sec, grpc_status_code* code, const char** error_details);
564
+ extern grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
565
+ #define grpc_authorization_policy_provider_file_watcher_create grpc_authorization_policy_provider_file_watcher_create_import
566
+ typedef void(*grpc_authorization_policy_provider_release_type)(grpc_authorization_policy_provider* provider);
567
+ extern grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
568
+ #define grpc_authorization_policy_provider_release grpc_authorization_policy_provider_release_import
569
+ typedef void(*grpc_tls_credentials_options_set_tls_session_key_log_file_path_type)(grpc_tls_credentials_options* options, const char* path);
570
+ 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;
571
+ #define grpc_tls_credentials_options_set_tls_session_key_log_file_path grpc_tls_credentials_options_set_tls_session_key_log_file_path_import
572
+ typedef grpc_slice(*grpc_slice_ref_type)(grpc_slice s);
573
+ extern grpc_slice_ref_type grpc_slice_ref_import;
574
+ #define grpc_slice_ref grpc_slice_ref_import
575
+ typedef void(*grpc_slice_unref_type)(grpc_slice s);
576
+ extern grpc_slice_unref_type grpc_slice_unref_import;
577
+ #define grpc_slice_unref grpc_slice_unref_import
578
+ typedef grpc_slice(*grpc_slice_copy_type)(grpc_slice s);
579
+ extern grpc_slice_copy_type grpc_slice_copy_import;
580
+ #define grpc_slice_copy grpc_slice_copy_import
581
+ typedef grpc_slice(*grpc_slice_new_type)(void* p, size_t len, void (*destroy)(void*));
582
+ extern grpc_slice_new_type grpc_slice_new_import;
583
+ #define grpc_slice_new grpc_slice_new_import
584
+ typedef grpc_slice(*grpc_slice_new_with_user_data_type)(void* p, size_t len, void (*destroy)(void*), void* user_data);
585
+ extern grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
586
+ #define grpc_slice_new_with_user_data grpc_slice_new_with_user_data_import
587
+ typedef grpc_slice(*grpc_slice_new_with_len_type)(void* p, size_t len, void (*destroy)(void*, size_t));
588
+ extern grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
589
+ #define grpc_slice_new_with_len grpc_slice_new_with_len_import
590
+ typedef grpc_slice(*grpc_slice_malloc_type)(size_t length);
591
+ extern grpc_slice_malloc_type grpc_slice_malloc_import;
592
+ #define grpc_slice_malloc grpc_slice_malloc_import
593
+ typedef grpc_slice(*grpc_slice_malloc_large_type)(size_t length);
594
+ extern grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
595
+ #define grpc_slice_malloc_large grpc_slice_malloc_large_import
596
+ typedef grpc_slice(*grpc_slice_from_copied_string_type)(const char* source);
597
+ extern grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
598
+ #define grpc_slice_from_copied_string grpc_slice_from_copied_string_import
599
+ typedef grpc_slice(*grpc_slice_from_copied_buffer_type)(const char* source, size_t len);
600
+ extern grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
601
+ #define grpc_slice_from_copied_buffer grpc_slice_from_copied_buffer_import
602
+ typedef grpc_slice(*grpc_slice_from_static_string_type)(const char* source);
603
+ extern grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
604
+ #define grpc_slice_from_static_string grpc_slice_from_static_string_import
605
+ typedef grpc_slice(*grpc_slice_from_static_buffer_type)(const void* source, size_t len);
606
+ extern grpc_slice_from_static_buffer_type grpc_slice_from_static_buffer_import;
607
+ #define grpc_slice_from_static_buffer grpc_slice_from_static_buffer_import
608
+ typedef grpc_slice(*grpc_slice_sub_type)(grpc_slice s, size_t begin, size_t end);
609
+ extern grpc_slice_sub_type grpc_slice_sub_import;
610
+ #define grpc_slice_sub grpc_slice_sub_import
611
+ typedef grpc_slice(*grpc_slice_sub_no_ref_type)(grpc_slice s, size_t begin, size_t end);
612
+ extern grpc_slice_sub_no_ref_type grpc_slice_sub_no_ref_import;
613
+ #define grpc_slice_sub_no_ref grpc_slice_sub_no_ref_import
614
+ typedef grpc_slice(*grpc_slice_split_tail_type)(grpc_slice* s, size_t split);
615
+ extern grpc_slice_split_tail_type grpc_slice_split_tail_import;
616
+ #define grpc_slice_split_tail grpc_slice_split_tail_import
617
+ typedef grpc_slice(*grpc_slice_split_tail_maybe_ref_type)(grpc_slice* s, size_t split, grpc_slice_ref_whom ref_whom);
618
+ extern grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import;
619
+ #define grpc_slice_split_tail_maybe_ref grpc_slice_split_tail_maybe_ref_import
620
+ typedef grpc_slice(*grpc_slice_split_head_type)(grpc_slice* s, size_t split);
621
+ extern grpc_slice_split_head_type grpc_slice_split_head_import;
622
+ #define grpc_slice_split_head grpc_slice_split_head_import
623
+ typedef grpc_slice(*grpc_empty_slice_type)(void);
624
+ extern grpc_empty_slice_type grpc_empty_slice_import;
625
+ #define grpc_empty_slice grpc_empty_slice_import
626
+ typedef int(*grpc_slice_eq_type)(grpc_slice a, grpc_slice b);
627
+ extern grpc_slice_eq_type grpc_slice_eq_import;
628
+ #define grpc_slice_eq grpc_slice_eq_import
629
+ typedef int(*grpc_slice_cmp_type)(grpc_slice a, grpc_slice b);
630
+ extern grpc_slice_cmp_type grpc_slice_cmp_import;
631
+ #define grpc_slice_cmp grpc_slice_cmp_import
632
+ typedef int(*grpc_slice_str_cmp_type)(grpc_slice a, const char* b);
633
+ extern grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
634
+ #define grpc_slice_str_cmp grpc_slice_str_cmp_import
635
+ typedef int(*grpc_slice_buf_start_eq_type)(grpc_slice a, const void* b, size_t blen);
636
+ extern grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
637
+ #define grpc_slice_buf_start_eq grpc_slice_buf_start_eq_import
638
+ typedef int(*grpc_slice_rchr_type)(grpc_slice s, char c);
639
+ extern grpc_slice_rchr_type grpc_slice_rchr_import;
640
+ #define grpc_slice_rchr grpc_slice_rchr_import
641
+ typedef int(*grpc_slice_chr_type)(grpc_slice s, char c);
642
+ extern grpc_slice_chr_type grpc_slice_chr_import;
643
+ #define grpc_slice_chr grpc_slice_chr_import
644
+ typedef int(*grpc_slice_slice_type)(grpc_slice haystack, grpc_slice needle);
645
+ extern grpc_slice_slice_type grpc_slice_slice_import;
646
+ #define grpc_slice_slice grpc_slice_slice_import
647
+ typedef int(*grpc_slice_is_equivalent_type)(grpc_slice a, grpc_slice b);
648
+ extern grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
649
+ #define grpc_slice_is_equivalent grpc_slice_is_equivalent_import
650
+ typedef grpc_slice(*grpc_slice_dup_type)(grpc_slice a);
651
+ extern grpc_slice_dup_type grpc_slice_dup_import;
652
+ #define grpc_slice_dup grpc_slice_dup_import
653
+ typedef char*(*grpc_slice_to_c_string_type)(grpc_slice s);
654
+ extern grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
655
+ #define grpc_slice_to_c_string grpc_slice_to_c_string_import
656
+ typedef void(*grpc_slice_buffer_init_type)(grpc_slice_buffer* sb);
657
+ extern grpc_slice_buffer_init_type grpc_slice_buffer_init_import;
658
+ #define grpc_slice_buffer_init grpc_slice_buffer_init_import
659
+ typedef void(*grpc_slice_buffer_destroy_type)(grpc_slice_buffer* sb);
660
+ extern grpc_slice_buffer_destroy_type grpc_slice_buffer_destroy_import;
661
+ #define grpc_slice_buffer_destroy grpc_slice_buffer_destroy_import
662
+ typedef void(*grpc_slice_buffer_add_type)(grpc_slice_buffer* sb, grpc_slice slice);
663
+ extern grpc_slice_buffer_add_type grpc_slice_buffer_add_import;
664
+ #define grpc_slice_buffer_add grpc_slice_buffer_add_import
665
+ typedef size_t(*grpc_slice_buffer_add_indexed_type)(grpc_slice_buffer* sb, grpc_slice slice);
666
+ extern grpc_slice_buffer_add_indexed_type grpc_slice_buffer_add_indexed_import;
667
+ #define grpc_slice_buffer_add_indexed grpc_slice_buffer_add_indexed_import
668
+ typedef void(*grpc_slice_buffer_addn_type)(grpc_slice_buffer* sb, grpc_slice* slices, size_t n);
669
+ extern grpc_slice_buffer_addn_type grpc_slice_buffer_addn_import;
670
+ #define grpc_slice_buffer_addn grpc_slice_buffer_addn_import
671
+ typedef uint8_t*(*grpc_slice_buffer_tiny_add_type)(grpc_slice_buffer* sb, size_t len);
672
+ extern grpc_slice_buffer_tiny_add_type grpc_slice_buffer_tiny_add_import;
673
+ #define grpc_slice_buffer_tiny_add grpc_slice_buffer_tiny_add_import
674
+ typedef void(*grpc_slice_buffer_pop_type)(grpc_slice_buffer* sb);
675
+ extern grpc_slice_buffer_pop_type grpc_slice_buffer_pop_import;
676
+ #define grpc_slice_buffer_pop grpc_slice_buffer_pop_import
677
+ typedef void(*grpc_slice_buffer_reset_and_unref_type)(grpc_slice_buffer* sb);
678
+ extern grpc_slice_buffer_reset_and_unref_type grpc_slice_buffer_reset_and_unref_import;
679
+ #define grpc_slice_buffer_reset_and_unref grpc_slice_buffer_reset_and_unref_import
680
+ typedef void(*grpc_slice_buffer_swap_type)(grpc_slice_buffer* a, grpc_slice_buffer* b);
681
+ extern grpc_slice_buffer_swap_type grpc_slice_buffer_swap_import;
682
+ #define grpc_slice_buffer_swap grpc_slice_buffer_swap_import
683
+ typedef void(*grpc_slice_buffer_move_into_type)(grpc_slice_buffer* src, grpc_slice_buffer* dst);
684
+ extern grpc_slice_buffer_move_into_type grpc_slice_buffer_move_into_import;
685
+ #define grpc_slice_buffer_move_into grpc_slice_buffer_move_into_import
686
+ typedef void(*grpc_slice_buffer_trim_end_type)(grpc_slice_buffer* sb, size_t n, grpc_slice_buffer* garbage);
687
+ extern grpc_slice_buffer_trim_end_type grpc_slice_buffer_trim_end_import;
688
+ #define grpc_slice_buffer_trim_end grpc_slice_buffer_trim_end_import
689
+ typedef void(*grpc_slice_buffer_move_first_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* dst);
690
+ extern grpc_slice_buffer_move_first_type grpc_slice_buffer_move_first_import;
691
+ #define grpc_slice_buffer_move_first grpc_slice_buffer_move_first_import
692
+ typedef void(*grpc_slice_buffer_move_first_no_ref_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* dst);
693
+ extern grpc_slice_buffer_move_first_no_ref_type grpc_slice_buffer_move_first_no_ref_import;
694
+ #define grpc_slice_buffer_move_first_no_ref grpc_slice_buffer_move_first_no_ref_import
695
+ typedef void(*grpc_slice_buffer_move_first_into_buffer_type)(grpc_slice_buffer* src, size_t n, void* dst);
696
+ extern grpc_slice_buffer_move_first_into_buffer_type grpc_slice_buffer_move_first_into_buffer_import;
697
+ #define grpc_slice_buffer_move_first_into_buffer grpc_slice_buffer_move_first_into_buffer_import
698
+ typedef grpc_slice(*grpc_slice_buffer_take_first_type)(grpc_slice_buffer* sb);
699
+ extern grpc_slice_buffer_take_first_type grpc_slice_buffer_take_first_import;
700
+ #define grpc_slice_buffer_take_first grpc_slice_buffer_take_first_import
701
+ typedef void(*grpc_slice_buffer_undo_take_first_type)(grpc_slice_buffer* sb, grpc_slice slice);
702
+ extern grpc_slice_buffer_undo_take_first_type grpc_slice_buffer_undo_take_first_import;
703
+ #define grpc_slice_buffer_undo_take_first grpc_slice_buffer_undo_take_first_import
704
+ typedef void*(*gpr_malloc_type)(size_t size);
705
+ extern gpr_malloc_type gpr_malloc_import;
706
+ #define gpr_malloc gpr_malloc_import
707
+ typedef void*(*gpr_zalloc_type)(size_t size);
708
+ extern gpr_zalloc_type gpr_zalloc_import;
709
+ #define gpr_zalloc gpr_zalloc_import
710
+ typedef void(*gpr_free_type)(void* ptr);
711
+ extern gpr_free_type gpr_free_import;
712
+ #define gpr_free gpr_free_import
713
+ typedef void*(*gpr_realloc_type)(void* p, size_t size);
714
+ extern gpr_realloc_type gpr_realloc_import;
715
+ #define gpr_realloc gpr_realloc_import
716
+ typedef void*(*gpr_malloc_aligned_type)(size_t size, size_t alignment);
717
+ extern gpr_malloc_aligned_type gpr_malloc_aligned_import;
718
+ #define gpr_malloc_aligned gpr_malloc_aligned_import
719
+ typedef void(*gpr_free_aligned_type)(void* ptr);
720
+ extern gpr_free_aligned_type gpr_free_aligned_import;
721
+ #define gpr_free_aligned gpr_free_aligned_import
722
+ typedef unsigned(*gpr_cpu_num_cores_type)(void);
723
+ extern gpr_cpu_num_cores_type gpr_cpu_num_cores_import;
724
+ #define gpr_cpu_num_cores gpr_cpu_num_cores_import
725
+ typedef unsigned(*gpr_cpu_current_cpu_type)(void);
726
+ extern gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import;
727
+ #define gpr_cpu_current_cpu gpr_cpu_current_cpu_import
728
+ typedef const char*(*gpr_log_severity_string_type)(gpr_log_severity severity);
729
+ extern gpr_log_severity_string_type gpr_log_severity_string_import;
730
+ #define gpr_log_severity_string gpr_log_severity_string_import
731
+ typedef void(*gpr_log_type)(const char* file, int line, gpr_log_severity severity, const char* format, ...) GPR_PRINT_FORMAT_CHECK(4, 5);
732
+ extern gpr_log_type gpr_log_import;
733
+ #define gpr_log gpr_log_import
734
+ typedef int(*gpr_should_log_type)(gpr_log_severity severity);
735
+ extern gpr_should_log_type gpr_should_log_import;
736
+ #define gpr_should_log gpr_should_log_import
737
+ typedef void(*gpr_log_message_type)(const char* file, int line, gpr_log_severity severity, const char* message);
738
+ extern gpr_log_message_type gpr_log_message_import;
739
+ #define gpr_log_message gpr_log_message_import
740
+ typedef void(*gpr_set_log_verbosity_type)(gpr_log_severity min_severity_to_print);
741
+ extern gpr_set_log_verbosity_type gpr_set_log_verbosity_import;
742
+ #define gpr_set_log_verbosity gpr_set_log_verbosity_import
743
+ typedef void(*gpr_log_verbosity_init_type)(void);
744
+ extern gpr_log_verbosity_init_type gpr_log_verbosity_init_import;
745
+ #define gpr_log_verbosity_init gpr_log_verbosity_init_import
746
+ typedef void(*gpr_set_log_function_type)(gpr_log_func func);
747
+ extern gpr_set_log_function_type gpr_set_log_function_import;
748
+ #define gpr_set_log_function gpr_set_log_function_import
749
+ typedef void(*gpr_assertion_failed_type)(const char* filename, int line, const char* message);
750
+ extern gpr_assertion_failed_type gpr_assertion_failed_import;
751
+ #define gpr_assertion_failed gpr_assertion_failed_import
752
+ typedef char*(*gpr_format_message_type)(int messageid);
753
+ extern gpr_format_message_type gpr_format_message_import;
754
+ #define gpr_format_message gpr_format_message_import
755
+ typedef char*(*gpr_strdup_type)(const char* src);
756
+ extern gpr_strdup_type gpr_strdup_import;
757
+ #define gpr_strdup gpr_strdup_import
758
+ typedef int(*gpr_asprintf_type)(char** strp, const char* format, ...) GPR_PRINT_FORMAT_CHECK(2, 3);
759
+ extern gpr_asprintf_type gpr_asprintf_import;
760
+ #define gpr_asprintf gpr_asprintf_import
761
+ typedef void(*gpr_mu_init_type)(gpr_mu* mu);
762
+ extern gpr_mu_init_type gpr_mu_init_import;
763
+ #define gpr_mu_init gpr_mu_init_import
764
+ typedef void(*gpr_mu_destroy_type)(gpr_mu* mu);
765
+ extern gpr_mu_destroy_type gpr_mu_destroy_import;
766
+ #define gpr_mu_destroy gpr_mu_destroy_import
767
+ typedef void(*gpr_mu_lock_type)(gpr_mu* mu);
768
+ extern gpr_mu_lock_type gpr_mu_lock_import;
769
+ #define gpr_mu_lock gpr_mu_lock_import
770
+ typedef void(*gpr_mu_unlock_type)(gpr_mu* mu);
771
+ extern gpr_mu_unlock_type gpr_mu_unlock_import;
772
+ #define gpr_mu_unlock gpr_mu_unlock_import
773
+ typedef int(*gpr_mu_trylock_type)(gpr_mu* mu);
774
+ extern gpr_mu_trylock_type gpr_mu_trylock_import;
775
+ #define gpr_mu_trylock gpr_mu_trylock_import
776
+ typedef void(*gpr_cv_init_type)(gpr_cv* cv);
777
+ extern gpr_cv_init_type gpr_cv_init_import;
778
+ #define gpr_cv_init gpr_cv_init_import
779
+ typedef void(*gpr_cv_destroy_type)(gpr_cv* cv);
780
+ extern gpr_cv_destroy_type gpr_cv_destroy_import;
781
+ #define gpr_cv_destroy gpr_cv_destroy_import
782
+ typedef int(*gpr_cv_wait_type)(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
783
+ extern gpr_cv_wait_type gpr_cv_wait_import;
784
+ #define gpr_cv_wait gpr_cv_wait_import
785
+ typedef void(*gpr_cv_signal_type)(gpr_cv* cv);
786
+ extern gpr_cv_signal_type gpr_cv_signal_import;
787
+ #define gpr_cv_signal gpr_cv_signal_import
788
+ typedef void(*gpr_cv_broadcast_type)(gpr_cv* cv);
789
+ extern gpr_cv_broadcast_type gpr_cv_broadcast_import;
790
+ #define gpr_cv_broadcast gpr_cv_broadcast_import
791
+ typedef void(*gpr_once_init_type)(gpr_once* once, void (*init_function)(void));
792
+ extern gpr_once_init_type gpr_once_init_import;
793
+ #define gpr_once_init gpr_once_init_import
794
+ typedef void(*gpr_event_init_type)(gpr_event* ev);
795
+ extern gpr_event_init_type gpr_event_init_import;
796
+ #define gpr_event_init gpr_event_init_import
797
+ typedef void(*gpr_event_set_type)(gpr_event* ev, void* value);
798
+ extern gpr_event_set_type gpr_event_set_import;
799
+ #define gpr_event_set gpr_event_set_import
800
+ typedef void*(*gpr_event_get_type)(gpr_event* ev);
801
+ extern gpr_event_get_type gpr_event_get_import;
802
+ #define gpr_event_get gpr_event_get_import
803
+ typedef void*(*gpr_event_wait_type)(gpr_event* ev, gpr_timespec abs_deadline);
804
+ extern gpr_event_wait_type gpr_event_wait_import;
805
+ #define gpr_event_wait gpr_event_wait_import
806
+ typedef void(*gpr_ref_init_type)(gpr_refcount* r, int n);
807
+ extern gpr_ref_init_type gpr_ref_init_import;
808
+ #define gpr_ref_init gpr_ref_init_import
809
+ typedef void(*gpr_ref_type)(gpr_refcount* r);
810
+ extern gpr_ref_type gpr_ref_import;
811
+ #define gpr_ref gpr_ref_import
812
+ typedef void(*gpr_ref_non_zero_type)(gpr_refcount* r);
813
+ extern gpr_ref_non_zero_type gpr_ref_non_zero_import;
814
+ #define gpr_ref_non_zero gpr_ref_non_zero_import
815
+ typedef void(*gpr_refn_type)(gpr_refcount* r, int n);
816
+ extern gpr_refn_type gpr_refn_import;
817
+ #define gpr_refn gpr_refn_import
818
+ typedef int(*gpr_unref_type)(gpr_refcount* r);
819
+ extern gpr_unref_type gpr_unref_import;
820
+ #define gpr_unref gpr_unref_import
821
+ typedef int(*gpr_ref_is_unique_type)(gpr_refcount* r);
822
+ extern gpr_ref_is_unique_type gpr_ref_is_unique_import;
823
+ #define gpr_ref_is_unique gpr_ref_is_unique_import
824
+ typedef void(*gpr_stats_init_type)(gpr_stats_counter* c, intptr_t n);
825
+ extern gpr_stats_init_type gpr_stats_init_import;
826
+ #define gpr_stats_init gpr_stats_init_import
827
+ typedef void(*gpr_stats_inc_type)(gpr_stats_counter* c, intptr_t inc);
828
+ extern gpr_stats_inc_type gpr_stats_inc_import;
829
+ #define gpr_stats_inc gpr_stats_inc_import
830
+ typedef intptr_t(*gpr_stats_read_type)(const gpr_stats_counter* c);
831
+ extern gpr_stats_read_type gpr_stats_read_import;
832
+ #define gpr_stats_read gpr_stats_read_import
833
+ typedef gpr_thd_id(*gpr_thd_currentid_type)(void);
834
+ extern gpr_thd_currentid_type gpr_thd_currentid_import;
835
+ #define gpr_thd_currentid gpr_thd_currentid_import
836
+ typedef gpr_timespec(*gpr_time_0_type)(gpr_clock_type type);
837
+ extern gpr_time_0_type gpr_time_0_import;
838
+ #define gpr_time_0 gpr_time_0_import
839
+ typedef gpr_timespec(*gpr_inf_future_type)(gpr_clock_type type);
840
+ extern gpr_inf_future_type gpr_inf_future_import;
841
+ #define gpr_inf_future gpr_inf_future_import
842
+ typedef gpr_timespec(*gpr_inf_past_type)(gpr_clock_type type);
843
+ extern gpr_inf_past_type gpr_inf_past_import;
844
+ #define gpr_inf_past gpr_inf_past_import
845
+ typedef void(*gpr_time_init_type)(void);
846
+ extern gpr_time_init_type gpr_time_init_import;
847
+ #define gpr_time_init gpr_time_init_import
848
+ typedef gpr_timespec(*gpr_now_type)(gpr_clock_type clock);
849
+ extern gpr_now_type gpr_now_import;
850
+ #define gpr_now gpr_now_import
851
+ typedef gpr_timespec(*gpr_convert_clock_type_type)(gpr_timespec t, gpr_clock_type clock_type);
852
+ extern gpr_convert_clock_type_type gpr_convert_clock_type_import;
853
+ #define gpr_convert_clock_type gpr_convert_clock_type_import
854
+ typedef int(*gpr_time_cmp_type)(gpr_timespec a, gpr_timespec b);
855
+ extern gpr_time_cmp_type gpr_time_cmp_import;
856
+ #define gpr_time_cmp gpr_time_cmp_import
857
+ typedef gpr_timespec(*gpr_time_max_type)(gpr_timespec a, gpr_timespec b);
858
+ extern gpr_time_max_type gpr_time_max_import;
859
+ #define gpr_time_max gpr_time_max_import
860
+ typedef gpr_timespec(*gpr_time_min_type)(gpr_timespec a, gpr_timespec b);
861
+ extern gpr_time_min_type gpr_time_min_import;
862
+ #define gpr_time_min gpr_time_min_import
863
+ typedef gpr_timespec(*gpr_time_add_type)(gpr_timespec a, gpr_timespec b);
864
+ extern gpr_time_add_type gpr_time_add_import;
865
+ #define gpr_time_add gpr_time_add_import
866
+ typedef gpr_timespec(*gpr_time_sub_type)(gpr_timespec a, gpr_timespec b);
867
+ extern gpr_time_sub_type gpr_time_sub_import;
868
+ #define gpr_time_sub gpr_time_sub_import
869
+ typedef gpr_timespec(*gpr_time_from_micros_type)(int64_t us, gpr_clock_type clock_type);
870
+ extern gpr_time_from_micros_type gpr_time_from_micros_import;
871
+ #define gpr_time_from_micros gpr_time_from_micros_import
872
+ typedef gpr_timespec(*gpr_time_from_nanos_type)(int64_t ns, gpr_clock_type clock_type);
873
+ extern gpr_time_from_nanos_type gpr_time_from_nanos_import;
874
+ #define gpr_time_from_nanos gpr_time_from_nanos_import
875
+ typedef gpr_timespec(*gpr_time_from_millis_type)(int64_t ms, gpr_clock_type clock_type);
876
+ extern gpr_time_from_millis_type gpr_time_from_millis_import;
877
+ #define gpr_time_from_millis gpr_time_from_millis_import
878
+ typedef gpr_timespec(*gpr_time_from_seconds_type)(int64_t s, gpr_clock_type clock_type);
879
+ extern gpr_time_from_seconds_type gpr_time_from_seconds_import;
880
+ #define gpr_time_from_seconds gpr_time_from_seconds_import
881
+ typedef gpr_timespec(*gpr_time_from_minutes_type)(int64_t m, gpr_clock_type clock_type);
882
+ extern gpr_time_from_minutes_type gpr_time_from_minutes_import;
883
+ #define gpr_time_from_minutes gpr_time_from_minutes_import
884
+ typedef gpr_timespec(*gpr_time_from_hours_type)(int64_t h, gpr_clock_type clock_type);
885
+ extern gpr_time_from_hours_type gpr_time_from_hours_import;
886
+ #define gpr_time_from_hours gpr_time_from_hours_import
887
+ typedef int32_t(*gpr_time_to_millis_type)(gpr_timespec timespec);
888
+ extern gpr_time_to_millis_type gpr_time_to_millis_import;
889
+ #define gpr_time_to_millis gpr_time_to_millis_import
890
+ typedef int(*gpr_time_similar_type)(gpr_timespec a, gpr_timespec b, gpr_timespec threshold);
891
+ extern gpr_time_similar_type gpr_time_similar_import;
892
+ #define gpr_time_similar gpr_time_similar_import
893
+ typedef void(*gpr_sleep_until_type)(gpr_timespec until);
894
+ extern gpr_sleep_until_type gpr_sleep_until_import;
895
+ #define gpr_sleep_until gpr_sleep_until_import
896
+ typedef double(*gpr_timespec_to_micros_type)(gpr_timespec t);
897
+ extern gpr_timespec_to_micros_type gpr_timespec_to_micros_import;
898
+ #define gpr_timespec_to_micros gpr_timespec_to_micros_import
899
+
900
+ void grpc_rb_load_imports(HMODULE library);
901
+
902
+ #endif /* GPR_WINDOWS */
903
+
904
+ #endif