grpc_types.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 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_IMPL_CODEGEN_GRPC_TYPES_H
20 #define GRPC_IMPL_CODEGEN_GRPC_TYPES_H
21 
22 // IWYU pragma: private, include <grpc/grpc.h>
23 // IWYU pragma: friend "src/.*"
24 
26 
27 #include <stddef.h>
28 
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 typedef enum {
42 
43 typedef struct grpc_byte_buffer {
44  void* reserved;
47  struct /* internal */ {
48  void* reserved[8];
49  } reserved;
53  } raw;
54  } data;
56 
60 
62 typedef struct grpc_channel grpc_channel;
63 
65 typedef struct grpc_server grpc_server;
66 
70 typedef struct grpc_call grpc_call;
71 
74 
77 
79 typedef enum {
84 
85 typedef struct grpc_arg_pointer_vtable {
86  void* (*copy)(void* p);
87  void (*destroy)(void* p);
88  int (*cmp)(void* p, void* q);
90 
103 typedef struct {
105  char* key;
107  char* string;
108  int integer;
110  void* p;
112  } pointer;
113  } value;
114 } grpc_arg;
115 
132 typedef struct {
133  size_t num_args;
136 
142 #define GRPC_ARG_ENABLE_CENSUS "grpc.census"
143 
144 #define GRPC_ARG_ENABLE_LOAD_REPORTING "grpc.loadreporting"
145 
147 #define GRPC_ARG_MINIMAL_STACK "grpc.minimal_stack"
148 
150 #define GRPC_ARG_MAX_CONCURRENT_STREAMS "grpc.max_concurrent_streams"
151 
153 #define GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH "grpc.max_receive_message_length"
154 
156 #define GRPC_ARG_MAX_MESSAGE_LENGTH GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH
157 
159 #define GRPC_ARG_MAX_SEND_MESSAGE_LENGTH "grpc.max_send_message_length"
160 
163 #define GRPC_ARG_MAX_CONNECTION_IDLE_MS "grpc.max_connection_idle_ms"
164 
166 #define GRPC_ARG_MAX_CONNECTION_AGE_MS "grpc.max_connection_age_ms"
167 
169 #define GRPC_ARG_MAX_CONNECTION_AGE_GRACE_MS "grpc.max_connection_age_grace_ms"
170 
173 #define GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS "grpc.client_idle_timeout_ms"
174 
176 #define GRPC_ARG_ENABLE_PER_MESSAGE_COMPRESSION "grpc.per_message_compression"
177 
180 #define GRPC_ARG_ENABLE_PER_MESSAGE_DECOMPRESSION \
181  "grpc.per_message_decompression"
182 
184 #define GRPC_ARG_ENABLE_DEADLINE_CHECKS "grpc.enable_deadline_checking"
185 
186 #define GRPC_ARG_HTTP2_INITIAL_SEQUENCE_NUMBER \
187  "grpc.http2.initial_sequence_number"
188 
192 #define GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES "grpc.http2.lookahead_bytes"
193 
194 #define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER \
195  "grpc.http2.hpack_table_size.decoder"
196 
197 #define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_ENCODER \
198  "grpc.http2.hpack_table_size.encoder"
199 
202 #define GRPC_ARG_HTTP2_MAX_FRAME_SIZE "grpc.http2.max_frame_size"
203 
204 #define GRPC_ARG_HTTP2_BDP_PROBE "grpc.http2.bdp_probe"
205 
214 #define GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS \
215  "grpc.http2.min_time_between_pings_ms"
216 
219 #define GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS \
220  "grpc.http2.min_ping_interval_without_data_ms"
221 
222 #define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme"
223 
226 #define GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA \
227  "grpc.http2.max_pings_without_data"
228 
231 #define GRPC_ARG_HTTP2_MAX_PING_STRIKES "grpc.http2.max_ping_strikes"
232 
234 #define GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE "grpc.http2.write_buffer_size"
235 
237 #define GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY "grpc.http2.true_binary"
238 
240 #define GRPC_ARG_KEEPALIVE_TIME_MS "grpc.keepalive_time_ms"
241 
244 #define GRPC_ARG_KEEPALIVE_TIMEOUT_MS "grpc.keepalive_timeout_ms"
245 
247 #define GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS \
248  "grpc.keepalive_permit_without_calls"
249 
251 #define GRPC_ARG_DEFAULT_AUTHORITY "grpc.default_authority"
252 
254 #define GRPC_ARG_PRIMARY_USER_AGENT_STRING "grpc.primary_user_agent"
255 
257 #define GRPC_ARG_SECONDARY_USER_AGENT_STRING "grpc.secondary_user_agent"
258 
259 #define GRPC_ARG_MIN_RECONNECT_BACKOFF_MS "grpc.min_reconnect_backoff_ms"
260 
261 #define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS "grpc.max_reconnect_backoff_ms"
262 
263 #define GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS \
264  "grpc.initial_reconnect_backoff_ms"
265 
266 #define GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS \
267  "grpc.dns_min_time_between_resolutions_ms"
268 
270 #define GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS "grpc.server_handshake_timeout_ms"
271 
278 #define GRPC_SSL_TARGET_NAME_OVERRIDE_ARG "grpc.ssl_target_name_override"
279 
282 #define GRPC_SSL_SESSION_CACHE_ARG "grpc.ssl_session_cache"
283 
290 #define GRPC_ARG_TSI_MAX_FRAME_SIZE "grpc.tsi.max_frame_size"
291 
293 #define GRPC_ARG_MAX_METADATA_SIZE "grpc.max_metadata_size"
294 
295 #define GRPC_ARG_ALLOW_REUSEPORT "grpc.so_reuseport"
296 
299 #define GRPC_ARG_RESOURCE_QUOTA "grpc.resource_quota"
300 
301 #define GRPC_ARG_EXPAND_WILDCARD_ADDRS "grpc.expand_wildcard_addrs"
302 
304 #define GRPC_ARG_SERVICE_CONFIG "grpc.service_config"
305 
306 #define GRPC_ARG_SERVICE_CONFIG_DISABLE_RESOLUTION \
307  "grpc.service_config_disable_resolution"
308 
309 #define GRPC_ARG_LB_POLICY_NAME "grpc.lb_policy_name"
310 
311 #define GRPC_ARG_SOCKET_MUTATOR "grpc.socket_mutator"
312 
313 #define GRPC_ARG_SOCKET_FACTORY "grpc.socket_factory"
314 
318 #define GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE \
319  "grpc.max_channel_trace_event_memory_per_node"
320 
323 #define GRPC_ARG_ENABLE_CHANNELZ "grpc.enable_channelz"
324 
326 #define GRPC_ARG_USE_CRONET_PACKET_COALESCING \
327  "grpc.use_cronet_packet_coalescing"
328 
330 #define GRPC_ARG_TCP_READ_CHUNK_SIZE "grpc.experimental.tcp_read_chunk_size"
331 
334 #define GRPC_TCP_DEFAULT_READ_SLICE_SIZE 8192
335 #define GRPC_ARG_TCP_MIN_READ_CHUNK_SIZE \
336  "grpc.experimental.tcp_min_read_chunk_size"
337 #define GRPC_ARG_TCP_MAX_READ_CHUNK_SIZE \
338  "grpc.experimental.tcp_max_read_chunk_size"
339 /* TCP TX Zerocopy enable state: zero is disabled, non-zero is enabled. By
340  default, it is disabled. */
341 #define GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED \
342  "grpc.experimental.tcp_tx_zerocopy_enabled"
343 /* TCP TX Zerocopy send threshold: only zerocopy if >= this many bytes sent. By
344  default, this is set to 16KB. */
345 #define GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD \
346  "grpc.experimental.tcp_tx_zerocopy_send_bytes_threshold"
347 /* TCP TX Zerocopy max simultaneous sends: limit for maximum number of pending
348  calls to tcp_write() using zerocopy. A tcp_write() is considered pending
349  until the kernel performs the zerocopy-done callback for all sendmsg() calls
350  issued by the tcp_write(). By default, this is set to 4. */
351 #define GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS \
352  "grpc.experimental.tcp_tx_zerocopy_max_simultaneous_sends"
353 /* Timeout in milliseconds to use for calls to the grpclb load balancer.
354  If 0 or unset, the balancer calls will have no deadline. */
355 #define GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS "grpc.grpclb_call_timeout_ms"
356 /* Specifies the xDS bootstrap config as a JSON string.
357  FOR TESTING PURPOSES ONLY -- DO NOT USE IN PRODUCTION.
358  This option allows controlling the bootstrap configuration on a
359  per-channel basis, which is useful in tests. However, this results
360  in having a separate xDS client instance per channel rather than
361  using the global instance, which is not the intended way to use xDS.
362  Currently, this will (a) add unnecessary load on the xDS server and
363  (b) break use of CSDS, and there may be additional side effects in
364  the future. */
365 #define GRPC_ARG_TEST_ONLY_DO_NOT_USE_IN_PROD_XDS_BOOTSTRAP_CONFIG \
366  "grpc.TEST_ONLY_DO_NOT_USE_IN_PROD.xds_bootstrap_config"
367 /* Timeout in milliseconds to wait for the serverlist from the grpclb load
368  balancer before using fallback backend addresses from the resolver.
369  If 0, enter fallback mode immediately. Default value is 10000. */
370 #define GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS "grpc.grpclb_fallback_timeout_ms"
371 /* Timeout in milliseconds to wait for the child of a specific priority to
372  complete its initial connection attempt before the priority LB policy fails
373  over to the next priority. Default value is 10 seconds. */
374 #define GRPC_ARG_PRIORITY_FAILOVER_TIMEOUT_MS \
375  "grpc.priority_failover_timeout_ms"
376 
377 #define GRPC_ARG_WORKAROUND_CRONET_COMPRESSION \
378  "grpc.workaround.cronet_compression"
379 
386 #define GRPC_ARG_OPTIMIZATION_TARGET "grpc.optimization_target"
387 
396 #define GRPC_ARG_ENABLE_RETRIES "grpc.enable_retries"
397 
405 #define GRPC_ARG_EXPERIMENTAL_ENABLE_HEDGING "grpc.experimental.enable_hedging"
406 
407 #define GRPC_ARG_PER_RPC_RETRY_BUFFER_SIZE "grpc.per_rpc_retry_buffer_size"
408 
410 #define GRPC_ARG_MOBILE_LOG_CONTEXT "grpc.mobile_log_context"
411 
412 #define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER \
413  "grpc.disable_client_authority_filter"
414 
415 #define GRPC_ARG_ENABLE_HTTP_PROXY "grpc.enable_http_proxy"
416 
418 #define GRPC_ARG_HTTP_PROXY "grpc.http_proxy"
419 
421 #define GRPC_ARG_SURFACE_USER_AGENT "grpc.surface_user_agent"
422 
424 #define GRPC_ARG_INHIBIT_HEALTH_CHECKING "grpc.inhibit_health_checking"
425 
433 #define GRPC_ARG_DNS_ENABLE_SRV_QUERIES "grpc.dns_enable_srv_queries"
434 
440 #define GRPC_ARG_DNS_ARES_QUERY_TIMEOUT_MS "grpc.dns_ares_query_timeout"
441 
443 #define GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL "grpc.use_local_subchannel_pool"
444 
445 #define GRPC_ARG_CHANNEL_POOL_DOMAIN "grpc.channel_pooling_domain"
446 
447 #define GRPC_ARG_CHANNEL_ID "grpc.channel_id"
448 
450 #define GRPC_ARG_AUTHORIZATION_POLICY_PROVIDER \
451  "grpc.authorization_policy_provider"
452 
456 #define GRPC_ARG_SERVER_CONFIG_CHANGE_DRAIN_GRACE_TIME_MS \
457  "grpc.experimental.server_config_change_drain_grace_time_ms"
458 
464 typedef enum grpc_call_error {
500 
503 #define GRPC_DEFAULT_MAX_SEND_MESSAGE_LENGTH (-1)
504 #define GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH (4 * 1024 * 1024)
505 
510 #define GRPC_WRITE_BUFFER_HINT (0x00000001u)
511 
513 #define GRPC_WRITE_NO_COMPRESS (0x00000002u)
514 
515 #define GRPC_WRITE_THROUGH (0x00000004u)
516 
517 #define GRPC_WRITE_USED_MASK \
518  (GRPC_WRITE_BUFFER_HINT | GRPC_WRITE_NO_COMPRESS | GRPC_WRITE_THROUGH)
519 
523 #define GRPC_INITIAL_METADATA_WAIT_FOR_READY (0x00000020u)
524 
526 #define GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET (0x00000080u)
527 
528 #define GRPC_INITIAL_METADATA_CORKED (0x00000100u)
529 
531 #define GRPC_INITIAL_METADATA_USED_MASK \
532  (GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET | \
533  GRPC_INITIAL_METADATA_WAIT_FOR_READY | GRPC_INITIAL_METADATA_CORKED | \
534  GRPC_WRITE_THROUGH)
535 
537 typedef struct grpc_metadata {
542 
546  struct /* internal */ {
547  void* obfuscated[4];
548  } internal_data;
549 } grpc_metadata;
550 
552 typedef enum grpc_completion_type {
560 
564 typedef struct grpc_event {
572  int success;
576  void* tag;
577 } grpc_event;
578 
579 typedef struct {
580  size_t count;
581  size_t capacity;
584 
585 typedef struct {
590  void* reserved;
592 
593 typedef enum {
634 } grpc_op_type;
635 
636 struct grpc_byte_buffer;
637 
640 typedef struct grpc_op {
646  void* reserved;
647  union grpc_op_data {
649  struct /* internal */ {
650  void* reserved[8];
651  } reserved;
653  size_t count;
669  } send_message;
694  } recv_message;
707  const char** error_string;
714  int* cancelled;
716  } data;
717 } grpc_op;
718 
720 typedef struct {
728 
730 
740 typedef enum {
744 
749 
756 
758 typedef enum {
761 
764 
768 
779 
783 
788 
789 #define GRPC_CQ_CURRENT_VERSION 2
790 #define GRPC_CQ_VERSION_MINIMUM_FOR_CALLBACKABLE 2
794  int version;
797 
799 
800  /* END OF VERSION 1 CQ ATTRIBUTES */
801 
802  /* START OF VERSION 2 CQ ATTRIBUTES */
806 
807  /* END OF VERSION 2 CQ ATTRIBUTES */
809 
812 
813 #ifdef __cplusplus
814 }
815 #endif
816 
817 #endif /* GRPC_IMPL_CODEGEN_GRPC_TYPES_H */
grpc_arg
Definition: grpc_types.h:103
grpc_socket_factory
Definition: socket_factory_posix.h:43
grpc_op::grpc_op_data::grpc_op_send_message::send_message
struct grpc_byte_buffer * send_message
Definition: grpc_types.h:668
grpc_op::flags
uint32_t flags
Definition: grpc_types.h:644
grpc_call_error
grpc_call_error
Definition: grpc_types.h:464
GRPC_CALL_ERROR_ALREADY_INVOKED
@ GRPC_CALL_ERROR_ALREADY_INVOKED
Definition: grpc_types.h:476
grpc_metadata_array::metadata
grpc_metadata * metadata
Definition: grpc_types.h:582
grpc_op::grpc_op_data::grpc_op_recv_status_on_client::trailing_metadata
grpc_metadata_array * trailing_metadata
Definition: grpc_types.h:701
grpc_completion_type
grpc_completion_type
Definition: grpc_types.h:552
grpc_op::grpc_op_data::grpc_op_send_initial_metadata
Definition: grpc_types.h:652
grpc_metadata
struct grpc_metadata grpc_metadata
grpc_op::grpc_op_data::grpc_op_recv_status_on_client::status
grpc_status_code * status
Definition: grpc_types.h:702
grpc_arg_type
grpc_arg_type
Definition: grpc_types.h:79
GRPC_CALL_ERROR_TOO_MANY_OPERATIONS
@ GRPC_CALL_ERROR_TOO_MANY_OPERATIONS
Definition: grpc_types.h:483
GRPC_ARG_INTEGER
@ GRPC_ARG_INTEGER
Definition: grpc_types.h:81
GRPC_CQ_NEXT
@ GRPC_CQ_NEXT
Definition: grpc_types.h:760
grpc_op::grpc_op_data::grpc_op_send_initial_metadata::grpc_op_send_initial_metadata_maybe_compression_level
Definition: grpc_types.h:657
grpc_op::grpc_op_data::grpc_op_send_status_from_server
Definition: grpc_types.h:670
grpc_call_details::flags
uint32_t flags
Definition: grpc_types.h:589
grpc_resource_quota
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:729
GRPC_CALL_ERROR
@ GRPC_CALL_ERROR
Definition: grpc_types.h:468
GRPC_CALL_ERROR_INVALID_MESSAGE
@ GRPC_CALL_ERROR_INVALID_MESSAGE
Definition: grpc_types.h:489
grpc_op::grpc_op_data::grpc_op_send_initial_metadata::grpc_op_send_initial_metadata_maybe_compression_level::level
grpc_compression_level level
Definition: grpc_types.h:659
GRPC_ARG_STRING
@ GRPC_ARG_STRING
Definition: grpc_types.h:80
grpc_cq_polling_type
grpc_cq_polling_type
Definition: grpc_types.h:740
grpc_op::grpc_op_data::send_initial_metadata
struct grpc_op::grpc_op_data::grpc_op_send_initial_metadata send_initial_metadata
grpc_byte_buffer
struct grpc_byte_buffer grpc_byte_buffer
grpc_completion_queue_functor::internal_success
int internal_success
Definition: grpc_types.h:785
grpc_op
struct grpc_op grpc_op
grpc_metadata_array
Definition: grpc_types.h:579
grpc_byte_buffer::grpc_byte_buffer_data::raw
struct grpc_byte_buffer::grpc_byte_buffer_data::grpc_compressed_buffer raw
grpc_call_details
Definition: grpc_types.h:585
grpc_op::reserved
void * reserved
Definition: grpc_types.h:646
grpc_compression_algorithm
grpc_compression_algorithm
Definition: compression_types.h:60
grpc_cq_completion_type
grpc_cq_completion_type
Definition: grpc_types.h:758
GRPC_CALL_ERROR_NOT_ON_CLIENT
@ GRPC_CALL_ERROR_NOT_ON_CLIENT
Definition: grpc_types.h:472
grpc_op::grpc_op_data::grpc_op_send_message
Definition: grpc_types.h:662
grpc_byte_buffer::grpc_byte_buffer_data
Definition: grpc_types.h:46
GRPC_CALL_ERROR_COMPLETION_QUEUE_SHUTDOWN
@ GRPC_CALL_ERROR_COMPLETION_QUEUE_SHUTDOWN
Definition: grpc_types.h:498
grpc_status_code
grpc_status_code
Definition: include/grpc/impl/codegen/status.h:28
GRPC_QUEUE_SHUTDOWN
@ GRPC_QUEUE_SHUTDOWN
Definition: grpc_types.h:554
grpc_byte_buffer::reserved
void * reserved
Definition: grpc_types.h:44
GRPC_OP_COMPLETE
@ GRPC_OP_COMPLETE
Definition: grpc_types.h:558
GRPC_CALL_OK
@ GRPC_CALL_OK
Definition: grpc_types.h:466
grpc_event
struct grpc_event grpc_event
slice.h
grpc_metadata_array::count
size_t count
Definition: grpc_types.h:580
xds_manager.p
p
Definition: xds_manager.py:60
grpc_call_details::method
grpc_slice method
Definition: grpc_types.h:586
GRPC_CALL_ERROR_INVALID_METADATA
@ GRPC_CALL_ERROR_INVALID_METADATA
Definition: grpc_types.h:487
uint8_t
unsigned char uint8_t
Definition: stdint-msvc2008.h:78
GRPC_CALL_ERROR_NOT_ON_SERVER
@ GRPC_CALL_ERROR_NOT_ON_SERVER
Definition: grpc_types.h:470
grpc_metadata_array::capacity
size_t capacity
Definition: grpc_types.h:581
grpc_arg_pointer_vtable
Definition: grpc_types.h:85
grpc_channel_args
Definition: grpc_types.h:132
grpc_completion_queue_factory
Definition: completion_queue_factory.h:31
grpc_op::grpc_op_data::recv_message
struct grpc_op::grpc_op_data::grpc_op_recv_message recv_message
GRPC_BB_RAW
@ GRPC_BB_RAW
Definition: grpc_types.h:39
GRPC_CQ_NON_POLLING
@ GRPC_CQ_NON_POLLING
Definition: grpc_types.h:754
grpc_op::data
union grpc_op::grpc_op_data data
grpc_metadata::obfuscated
void * obfuscated[4]
Definition: grpc_types.h:547
grpc_op::grpc_op_data::grpc_op_recv_status_on_client
Definition: grpc_types.h:695
grpc_byte_buffer::type
grpc_byte_buffer_type type
Definition: grpc_types.h:45
grpc_completion_queue_functor
struct grpc_completion_queue_functor grpc_completion_queue_functor
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
grpc_op::grpc_op_data::grpc_op_recv_message::recv_message
struct grpc_byte_buffer ** recv_message
Definition: grpc_types.h:693
grpc_metadata
Definition: grpc_types.h:537
GRPC_CQ_DEFAULT_POLLING
@ GRPC_CQ_DEFAULT_POLLING
Definition: grpc_types.h:743
xds_interop_client.int
int
Definition: xds_interop_client.py:113
GRPC_OP_RECV_INITIAL_METADATA
@ GRPC_OP_RECV_INITIAL_METADATA
Definition: grpc_types.h:617
grpc_arg::grpc_arg_value::string
char * string
Definition: grpc_types.h:107
grpc_metadata::internal_data
struct grpc_metadata::@1 internal_data
grpc_completion_queue_functor::functor_run
void(* functor_run)(struct grpc_completion_queue_functor *, int)
Definition: grpc_types.h:778
GRPC_CALL_ERROR_NOT_INVOKED
@ GRPC_CALL_ERROR_NOT_INVOKED
Definition: grpc_types.h:478
GRPC_CQ_NON_LISTENING
@ GRPC_CQ_NON_LISTENING
Definition: grpc_types.h:748
GRPC_OP_SEND_STATUS_FROM_SERVER
@ GRPC_OP_SEND_STATUS_FROM_SERVER
Definition: grpc_types.h:612
grpc_arg::grpc_arg_value::grpc_arg_pointer::vtable
const grpc_arg_pointer_vtable * vtable
Definition: grpc_types.h:111
GRPC_CALL_ERROR_INVALID_FLAGS
@ GRPC_CALL_ERROR_INVALID_FLAGS
Definition: grpc_types.h:485
grpc_op::grpc_op_data::grpc_op_send_status_from_server::status
grpc_status_code status
Definition: grpc_types.h:673
grpc_op::grpc_op_data::reserved
void * reserved[8]
Definition: grpc_types.h:650
grpc_arg::grpc_arg_value::grpc_arg_pointer
Definition: grpc_types.h:109
grpc_op::grpc_op_data::grpc_op_recv_status_on_client::error_string
const char ** error_string
Definition: grpc_types.h:707
grpc_event
Definition: grpc_types.h:564
grpc_completion_queue
Definition: completion_queue.cc:347
grpc_op_type
grpc_op_type
Definition: grpc_types.h:593
grpc_metadata::value
grpc_slice value
Definition: grpc_types.h:541
grpc_call
struct grpc_call grpc_call
Definition: grpc_types.h:70
grpc_byte_buffer
Definition: grpc_types.h:43
grpc_op
Definition: grpc_types.h:640
GRPC_OP_SEND_MESSAGE
@ GRPC_OP_SEND_MESSAGE
Definition: grpc_types.h:602
grpc_channel_args::num_args
size_t num_args
Definition: grpc_types.h:133
grpc_completion_queue_functor::internal_next
struct grpc_completion_queue_functor * internal_next
Definition: grpc_types.h:786
grpc_op::grpc_op_data::grpc_op_recv_close_on_server
Definition: grpc_types.h:709
grpc_op::grpc_op_data::grpc_op_send_status_from_server::trailing_metadata
grpc_metadata * trailing_metadata
Definition: grpc_types.h:672
grpc_slice
Definition: include/grpc/impl/codegen/slice.h:65
grpc_arg::grpc_arg_value::grpc_arg_pointer::p
void * p
Definition: grpc_types.h:110
grpc_server
struct grpc_server grpc_server
Definition: grpc_types.h:65
grpc_op::grpc_op_data::grpc_op_recv_initial_metadata
Definition: grpc_types.h:684
grpc_arg_pointer_vtable
struct grpc_arg_pointer_vtable grpc_arg_pointer_vtable
grpc_arg_pointer_vtable::destroy
void(* destroy)(void *p)
Definition: grpc_types.h:87
GRPC_CQ_PLUCK
@ GRPC_CQ_PLUCK
Definition: grpc_types.h:763
grpc_completion_queue_attributes
Definition: grpc_types.h:791
grpc_socket_mutator
Definition: socket_mutator.h:62
status.h
grpc_completion_queue_attributes::version
int version
Definition: grpc_types.h:794
grpc_op::op
grpc_op_type op
Definition: grpc_types.h:642
grpc_op::grpc_op_data::grpc_op_send_initial_metadata::count
size_t count
Definition: grpc_types.h:653
gpr_types.h
grpc_op::grpc_op_data::grpc_op_recv_status_on_client::status_details
grpc_slice * status_details
Definition: grpc_types.h:703
grpc_byte_buffer::data
union grpc_byte_buffer::grpc_byte_buffer_data data
compression_types.h
value
const char * value
Definition: hpack_parser_table.cc:165
grpc_op::grpc_op_data::recv_close_on_server
struct grpc_op::grpc_op_data::grpc_op_recv_close_on_server recv_close_on_server
GRPC_OP_RECV_MESSAGE
@ GRPC_OP_RECV_MESSAGE
Definition: grpc_types.h:621
GRPC_CALL_ERROR_ALREADY_ACCEPTED
@ GRPC_CALL_ERROR_ALREADY_ACCEPTED
Definition: grpc_types.h:474
grpc_completion_queue_attributes::cq_shutdown_cb
grpc_completion_queue_functor * cq_shutdown_cb
Definition: grpc_types.h:805
grpc_channel_info::service_config_json
char ** service_config_json
Definition: grpc_types.h:726
grpc_op::grpc_op_data::send_status_from_server
struct grpc_op::grpc_op_data::grpc_op_send_status_from_server send_status_from_server
GRPC_CALL_ERROR_PAYLOAD_TYPE_MISMATCH
@ GRPC_CALL_ERROR_PAYLOAD_TYPE_MISMATCH
Definition: grpc_types.h:496
grpc_call_details::host
grpc_slice host
Definition: grpc_types.h:587
GRPC_OP_SEND_INITIAL_METADATA
@ GRPC_OP_SEND_INITIAL_METADATA
Definition: grpc_types.h:598
grpc_channel_info::lb_policy_name
char ** lb_policy_name
Definition: grpc_types.h:723
grpc_op::grpc_op_data::send_message
struct grpc_op::grpc_op_data::grpc_op_send_message send_message
grpc_byte_buffer::grpc_byte_buffer_data::grpc_compressed_buffer::compression
grpc_compression_algorithm compression
Definition: grpc_types.h:51
port_platform.h
grpc_byte_buffer_type
grpc_byte_buffer_type
Definition: grpc_types.h:38
grpc_op::grpc_op_data::grpc_op_send_initial_metadata::metadata
grpc_metadata * metadata
Definition: grpc_types.h:654
GRPC_CALL_ERROR_BATCH_TOO_BIG
@ GRPC_CALL_ERROR_BATCH_TOO_BIG
Definition: grpc_types.h:494
grpc_op::grpc_op_data::recv_status_on_client
struct grpc_op::grpc_op_data::grpc_op_recv_status_on_client recv_status_on_client
grpc_compression_level
grpc_compression_level
Definition: compression_types.h:72
grpc_op::grpc_op_data::grpc_op_send_status_from_server::trailing_metadata_count
size_t trailing_metadata_count
Definition: grpc_types.h:671
grpc_op::grpc_op_data::grpc_op_send_initial_metadata::maybe_compression_level
struct grpc_op::grpc_op_data::grpc_op_send_initial_metadata::grpc_op_send_initial_metadata_maybe_compression_level maybe_compression_level
grpc_arg::key
char * key
Definition: grpc_types.h:105
grpc_op::grpc_op_data
Definition: grpc_types.h:647
grpc_byte_buffer::grpc_byte_buffer_data::grpc_compressed_buffer
Definition: grpc_types.h:50
grpc_op::grpc_op_data::grpc_op_recv_message
Definition: grpc_types.h:692
grpc_completion_queue_functor
Definition: grpc_types.h:773
grpc_op::grpc_op_data::grpc_op_send_initial_metadata::grpc_op_send_initial_metadata_maybe_compression_level::is_set
uint8_t is_set
Definition: grpc_types.h:658
grpc_completion_queue_attributes::cq_completion_type
grpc_cq_completion_type cq_completion_type
Definition: grpc_types.h:796
grpc_channel
struct grpc_channel grpc_channel
Definition: grpc_types.h:62
grpc_byte_buffer::grpc_byte_buffer_data::grpc_compressed_buffer::slice_buffer
grpc_slice_buffer slice_buffer
Definition: grpc_types.h:52
GRPC_OP_RECV_CLOSE_ON_SERVER
@ GRPC_OP_RECV_CLOSE_ON_SERVER
Definition: grpc_types.h:633
grpc_completion_queue_attributes
struct grpc_completion_queue_attributes grpc_completion_queue_attributes
GRPC_CALL_ERROR_ALREADY_FINISHED
@ GRPC_CALL_ERROR_ALREADY_FINISHED
Definition: grpc_types.h:481
grpc_completion_queue_attributes::cq_polling_type
grpc_cq_polling_type cq_polling_type
Definition: grpc_types.h:798
grpc_slice_buffer
Definition: include/grpc/impl/codegen/slice.h:83
grpc_op::grpc_op_data::recv_initial_metadata
struct grpc_op::grpc_op_data::grpc_op_recv_initial_metadata recv_initial_metadata
GRPC_ARG_POINTER
@ GRPC_ARG_POINTER
Definition: grpc_types.h:82
grpc_op::grpc_op_data::grpc_op_send_status_from_server::status_details
grpc_slice * status_details
Definition: grpc_types.h:677
GRPC_CQ_CALLBACK
@ GRPC_CQ_CALLBACK
Definition: grpc_types.h:766
gpr_timespec
Definition: gpr_types.h:50
grpc_event::type
grpc_completion_type type
Definition: grpc_types.h:566
grpc_arg::grpc_arg_value::integer
int integer
Definition: grpc_types.h:108
grpc_byte_buffer::grpc_byte_buffer_data::reserved
void * reserved[8]
Definition: grpc_types.h:48
GRPC_OP_RECV_STATUS_ON_CLIENT
@ GRPC_OP_RECV_STATUS_ON_CLIENT
Definition: grpc_types.h:627
grpc_op::grpc_op_data::grpc_op_recv_initial_metadata::recv_initial_metadata
grpc_metadata_array * recv_initial_metadata
Definition: grpc_types.h:685
grpc_arg::type
grpc_arg_type type
Definition: grpc_types.h:104
grpc_arg_pointer_vtable::cmp
int(* cmp)(void *p, void *q)
Definition: grpc_types.h:88
grpc_channel_info
Definition: grpc_types.h:720
grpc_channel_args::args
grpc_arg * args
Definition: grpc_types.h:134
grpc_call_details::deadline
gpr_timespec deadline
Definition: grpc_types.h:588
grpc_event::success
int success
Definition: grpc_types.h:572
GRPC_CALL_ERROR_NOT_SERVER_COMPLETION_QUEUE
@ GRPC_CALL_ERROR_NOT_SERVER_COMPLETION_QUEUE
Definition: grpc_types.h:492
GRPC_QUEUE_TIMEOUT
@ GRPC_QUEUE_TIMEOUT
Definition: grpc_types.h:556
grpc_event::tag
void * tag
Definition: grpc_types.h:576
grpc_op::grpc_op_data::grpc_op_recv_close_on_server::cancelled
int * cancelled
Definition: grpc_types.h:714
grpc_metadata::key
grpc_slice key
Definition: grpc_types.h:540
GRPC_OP_SEND_CLOSE_FROM_CLIENT
@ GRPC_OP_SEND_CLOSE_FROM_CLIENT
Definition: grpc_types.h:607
grpc_arg::grpc_arg_value
Definition: grpc_types.h:106
grpc_completion_queue_functor::inlineable
int inlineable
Definition: grpc_types.h:782
grpc_call_details::reserved
void * reserved
Definition: grpc_types.h:590


grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:45