diff --git a/core/_p_r_o_t_o_c_o_l-_h_t_t_p2_8md.html b/core/_p_r_o_t_o_c_o_l-_h_t_t_p2_8md.html
index 1c525413a27..e643a720bb0 100644
--- a/core/_p_r_o_t_o_c_o_l-_h_t_t_p2_8md.html
+++ b/core/_p_r_o_t_o_c_o_l-_h_t_t_p2_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/PROTOCOL-HTTP2.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/_p_r_o_t_o_c_o_l-_w_e_b_8md.html b/core/_p_r_o_t_o_c_o_l-_w_e_b_8md.html
index 730bb219725..54f45600232 100644
--- a/core/_p_r_o_t_o_c_o_l-_w_e_b_8md.html
+++ b/core/_p_r_o_t_o_c_o_l-_w_e_b_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/PROTOCOL-WEB.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/alloc_8h.html b/core/alloc_8h.html
index 0f1834c0c7b..38263317859 100644
--- a/core/alloc_8h.html
+++ b/core/alloc_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/support/alloc.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
GPRAPI void * gpr_malloc (size_t size)
-
malloc. More...
+
malloc. More...
GPRAPI void * gpr_zalloc (size_t size)
-
like malloc, but zero all bytes before returning them More...
+
like malloc, but zero all bytes before returning them More...
GPRAPI void gpr_free (void *ptr)
-
free More...
+
free More...
GPRAPI void * gpr_realloc (void *p, size_t size)
-
realloc, never returns NULL More...
+
realloc, never returns NULL More...
GPRAPI void * gpr_malloc_aligned (size_t size, size_t alignment)
-
aligned malloc, never returns NULL, will align to alignment, which must be a power of 2. More...
+
aligned malloc, never returns NULL, will align to alignment, which must be a power of 2. More...
GPRAPI void gpr_free_aligned (void *ptr)
-
free memory allocated by gpr_malloc_aligned More...
+
free memory allocated by gpr_malloc_aligned More...
@@ -240,9 +243,9 @@ Functions
diff --git a/core/alloc_8h_source.html b/core/alloc_8h_source.html
index 1e0c46a845f..3f86d984fd2 100644
--- a/core/alloc_8h_source.html
+++ b/core/alloc_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/support/alloc.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
alloc.h
-
Go to the documentation of this file. 19 #ifndef GRPC_SUPPORT_ALLOC_H 20 #define GRPC_SUPPORT_ALLOC_H
-
GPRAPI void gpr_free_aligned(void *ptr)
free memory allocated by gpr_malloc_aligned
-
GPRAPI void * gpr_malloc_aligned(size_t size, size_t alignment)
aligned malloc, never returns NULL, will align to alignment, which must be a power of 2...
-
GPRAPI void gpr_free(void *ptr)
free
-
GPRAPI void * gpr_realloc(void *p, size_t size)
realloc, never returns NULL
-
GPRAPI void * gpr_zalloc(size_t size)
like malloc, but zero all bytes before returning them
-
GPRAPI void * gpr_malloc(size_t size)
malloc.
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_SUPPORT_ALLOC_H
+
20 #define GRPC_SUPPORT_ALLOC_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
GPRAPI void * gpr_malloc(size_t size)
malloc.
+
GPRAPI void gpr_free_aligned(void *ptr)
free memory allocated by gpr_malloc_aligned
+
GPRAPI void * gpr_realloc(void *p, size_t size)
realloc, never returns NULL
+
+
GPRAPI void gpr_free(void *ptr)
free
+
GPRAPI void * gpr_malloc_aligned(size_t size, size_t alignment)
aligned malloc, never returns NULL, will align to alignment, which must be a power of 2.
+
GPRAPI void * gpr_zalloc(size_t size)
like malloc, but zero all bytes before returning them
+
diff --git a/core/annotated.html b/core/annotated.html
index 02f83c1243a..f6787d04a2b 100644
--- a/core/annotated.html
+++ b/core/annotated.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Data Structures
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -106,7 +109,7 @@ $(function() {
C grpc_op_send_initial_metadata_maybe_compression_level If is_set , compression_level will be used for the call
C grpc_op_send_message
C grpc_op_send_status_from_server
- ▼ C grpc_slice A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]
+ ▼ C grpc_slice A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]
▼ C grpc_slice_data
C grpc_slice_inlined
C grpc_slice_refcounted
@@ -116,15 +119,15 @@ $(function() {
C grpc_sts_credentials_options Options for creating STS Oauth Token Exchange credentials following the IETF draft https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
C grpc_tls_credential_reload_arg A struct containing all information necessary to schedule/cancel a credential reload request
C grpc_tls_server_authorization_check_arg A struct containing all information necessary to schedule/cancel a server authorization check request
- C verify_peer_options Deprecated in favor of grpc_ssl_verify_peer_options
+ C verify_peer_options Deprecated in favor of grpc_ssl_verify_peer_options
diff --git a/core/binary-logging_8md.html b/core/binary-logging_8md.html
index 52d4f68e555..8ac3b02c17f 100644
--- a/core/binary-logging_8md.html
+++ b/core/binary-logging_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/binary-logging.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/byte__buffer_8h.html b/core/byte__buffer_8h.html
index 070617b4974..3e1534c649c 100644
--- a/core/byte__buffer_8h.html
+++ b/core/byte__buffer_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/byte_buffer.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/byte__buffer_8h_source.html b/core/byte__buffer_8h_source.html
index 9e5ecbe40eb..a1638f70779 100644
--- a/core/byte__buffer_8h_source.html
+++ b/core/byte__buffer_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/byte_buffer.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
byte_buffer.h
-
Go to the documentation of this file. 19 #ifndef GRPC_BYTE_BUFFER_H 20 #define GRPC_BYTE_BUFFER_H
-
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_BYTE_BUFFER_H
+
20 #define GRPC_BYTE_BUFFER_H
+
+
+
+
+
+
+
+
+
+
diff --git a/core/byte__buffer__reader_8h.html b/core/byte__buffer__reader_8h.html
index ece8ea8a45f..8f2a02abfd0 100644
--- a/core/byte__buffer__reader_8h.html
+++ b/core/byte__buffer__reader_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/byte_buffer_reader.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/byte__buffer__reader_8h_source.html b/core/byte__buffer__reader_8h_source.html
index c11e2ac9402..7a540d79e50 100644
--- a/core/byte__buffer__reader_8h_source.html
+++ b/core/byte__buffer__reader_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/byte_buffer_reader.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
byte_buffer_reader.h
-
Go to the documentation of this file. 19 #ifndef GRPC_BYTE_BUFFER_READER_H 20 #define GRPC_BYTE_BUFFER_READER_H
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_BYTE_BUFFER_READER_H
+
20 #define GRPC_BYTE_BUFFER_READER_H
+
+
+
+
+
+
+
+
diff --git a/core/c-style-guide_8md.html b/core/c-style-guide_8md.html
index e1047330891..571a2284f42 100644
--- a/core/c-style-guide_8md.html
+++ b/core/c-style-guide_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/c-style-guide.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/census_8h.html b/core/census_8h.html
index d50106c3127..0a2ccbf7881 100644
--- a/core/census_8h.html
+++ b/core/census_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/census.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
typedef struct census_context census_context
-
A Census Context is a handle used by Census to represent the current tracing and stats collection information. More...
+
A Census Context is a handle used by Census to represent the current tracing and stats collection information. More...
@@ -101,9 +104,9 @@ Typedefs
diff --git a/core/census_8h_source.html b/core/census_8h_source.html
index 9576d0aba2b..c8c643ca93f 100644
--- a/core/census_8h_source.html
+++ b/core/census_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/census.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
census.h
-
Go to the documentation of this file.
-
-
struct census_context census_context
A Census Context is a handle used by Census to represent the current tracing and stats collection inf...
Definition: census.h:34
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
struct census_context census_context
A Census Context is a handle used by Census to represent the current tracing and stats collection inf...
Definition: census.h:34
+
+
diff --git a/core/classes.html b/core/classes.html
index 22463068c75..cecf7d9279c 100644
--- a/core/classes.html
+++ b/core/classes.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Data Structure Index
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -66,28 +69,82 @@ $(function() {
diff --git a/core/combiner-explainer_8md.html b/core/combiner-explainer_8md.html
index bf9cb1d5288..3aeaf89b72b 100644
--- a/core/combiner-explainer_8md.html
+++ b/core/combiner-explainer_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/core/combiner-explainer.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/command__line__tool_8md.html b/core/command__line__tool_8md.html
index c3645ed0f45..68db3162520 100644
--- a/core/command__line__tool_8md.html
+++ b/core/command__line__tool_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/command_line_tool.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/compression_8h.html b/core/compression_8h.html
index 342ad3b4014..6270077fa0a 100644
--- a/core/compression_8h.html
+++ b/core/compression_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/compression.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/compression_8h_source.html b/core/compression_8h_source.html
index 494fae56999..15e85f6db12 100644
--- a/core/compression_8h_source.html
+++ b/core/compression_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/compression.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
compression.h
-
Go to the documentation of this file. 19 #ifndef GRPC_COMPRESSION_H 20 #define GRPC_COMPRESSION_H GRPCAPI void grpc_compression_options_init(grpc_compression_options *opts)
-
GRPCAPI int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, const char **name)
Updates name with the encoding name corresponding to a valid algorithm.
-
Definition: compression_types.h:79
-
GRPCAPI grpc_compression_algorithm grpc_compression_algorithm_for_level(grpc_compression_level level, uint32_t accepted_encodings)
Returns the compression algorithm corresponding to level for the compression algorithms encoded in th...
-
GRPCAPI void grpc_compression_options_enable_algorithm(grpc_compression_options *opts, grpc_compression_algorithm algorithm)
Mark algorithm as enabled in opts.
-
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...
Definition: slice.h:60
-
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
-
GRPCAPI void grpc_compression_options_disable_algorithm(grpc_compression_options *opts, grpc_compression_algorithm algorithm)
Mark algorithm as disabled in opts.
-
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level) ...
Definition: compression_types.h:57
-
GRPCAPI int grpc_compression_options_is_algorithm_enabled(const grpc_compression_options *opts, grpc_compression_algorithm algorithm)
Returns true if algorithm is marked as enabled in opts.
-
-
-
GRPCAPI int grpc_compression_algorithm_is_stream(grpc_compression_algorithm algorithm)
Return if an algorithm is stream compression algorithm.
-
GRPCAPI int grpc_compression_algorithm_parse(grpc_slice value, grpc_compression_algorithm *algorithm)
Parses the slice as a grpc_compression_algorithm instance and updating algorithm. ...
-
-
-
GRPCAPI int grpc_compression_algorithm_is_message(grpc_compression_algorithm algorithm)
Return if an algorithm is message compression algorithm.
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_COMPRESSION_H
+
20 #define GRPC_COMPRESSION_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
GRPCAPI int grpc_compression_algorithm_is_stream(grpc_compression_algorithm algorithm)
Return if an algorithm is stream compression algorithm.
+
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level)
Definition: compression_types.h:57
+
Definition: compression_types.h:79
+
GRPCAPI void grpc_compression_options_enable_algorithm(grpc_compression_options *opts, grpc_compression_algorithm algorithm)
Mark algorithm as enabled in opts.
+
GRPCAPI int grpc_compression_algorithm_is_message(grpc_compression_algorithm algorithm)
Return if an algorithm is message compression algorithm.
+
GRPCAPI int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, const char **name)
Updates name with the encoding name corresponding to a valid algorithm.
+
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1].
Definition: slice.h:60
+
GRPCAPI void grpc_compression_options_disable_algorithm(grpc_compression_options *opts, grpc_compression_algorithm algorithm)
Mark algorithm as disabled in opts.
+
+
GRPCAPI int grpc_compression_options_is_algorithm_enabled(const grpc_compression_options *opts, grpc_compression_algorithm algorithm)
Returns true if algorithm is marked as enabled in opts.
+
GRPCAPI void grpc_compression_options_init(grpc_compression_options *opts)
+
+
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
+
GRPCAPI grpc_compression_algorithm grpc_compression_algorithm_for_level(grpc_compression_level level, uint32_t accepted_encodings)
Returns the compression algorithm corresponding to level for the compression algorithms encoded in th...
+
+
+
GRPCAPI int grpc_compression_algorithm_parse(grpc_slice value, grpc_compression_algorithm *algorithm)
Parses the slice as a grpc_compression_algorithm instance and updating algorithm.
diff --git a/core/compression_8md.html b/core/compression_8md.html
index 0800248ebf0..2f0ebd8ba4a 100644
--- a/core/compression_8md.html
+++ b/core/compression_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/compression.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/compression__cookbook_8md.html b/core/compression__cookbook_8md.html
index 3f25888d02a..e6c878843b3 100644
--- a/core/compression__cookbook_8md.html
+++ b/core/compression__cookbook_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/compression_cookbook.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/compression__types_8h.html b/core/compression__types_8h.html
index 9e9dc978c4d..d652bee212f 100644
--- a/core/compression__types_8h.html
+++ b/core/compression__types_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/compression_types.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/compression__types_8h_source.html b/core/compression__types_8h_source.html
index 304aa49c07d..4ebc96627f8 100644
--- a/core/compression__types_8h_source.html
+++ b/core/compression__types_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/compression_types.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
compression_types.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H 20 #define GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H 30 #define GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY \ 31 "grpc-internal-encoding-request" 39 #define GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM \ 40 "grpc.default_compression_algorithm" 43 #define GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level" 51 #define GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET \ 52 "grpc.compression_enabled_algorithms_bitset" grpc_compression_algorithm algorithm
Definition: compression_types.h:100
-
uint32_t enabled_algorithms_bitset
All algs are enabled by default.
Definition: compression_types.h:83
-
The default compression level.
Definition: compression_types.h:90
-
Definition: compression_types.h:79
-
int is_set
Definition: compression_types.h:91
-
struct grpc_compression_options::grpc_compression_options_default_algorithm default_algorithm
-
Definition: compression_types.h:73
-
struct grpc_compression_options grpc_compression_options
-
Definition: compression_types.h:60
-
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
-
grpc_compression_level level
Definition: compression_types.h:92
-
Definition: compression_types.h:64
-
Definition: compression_types.h:58
-
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level) ...
Definition: compression_types.h:57
-
Definition: compression_types.h:59
-
Definition: compression_types.h:76
-
struct grpc_compression_options::grpc_compression_options_default_level default_level
-
Definition: compression_types.h:72
-
Definition: compression_types.h:75
-
int is_set
Definition: compression_types.h:99
-
Definition: compression_types.h:74
-
Definition: compression_types.h:62
-
-
The default message compression algorithm.
Definition: compression_types.h:98
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
+
20 #define GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
+
+
+
+
+
+
+
+
30 #define GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY \
+
31 "grpc-internal-encoding-request"
+
+
39 #define GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM \
+
40 "grpc.default_compression_algorithm"
+
+
43 #define GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level"
+
+
51 #define GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET \
+
52 "grpc.compression_enabled_algorithms_bitset"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Definition: compression_types.h:74
+
Definition: compression_types.h:59
+
uint32_t enabled_algorithms_bitset
All algs are enabled by default.
Definition: compression_types.h:83
+
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level)
Definition: compression_types.h:57
+
int is_set
Definition: compression_types.h:91
+
struct grpc_compression_options::grpc_compression_options_default_level default_level
+
grpc_compression_level level
Definition: compression_types.h:92
+
Definition: compression_types.h:79
+
Definition: compression_types.h:76
+
Definition: compression_types.h:58
+
The default message compression algorithm.
Definition: compression_types.h:98
+
Definition: compression_types.h:72
+
Definition: compression_types.h:75
+
struct grpc_compression_options grpc_compression_options
+
Definition: compression_types.h:73
+
struct grpc_compression_options::grpc_compression_options_default_algorithm default_algorithm
+
+
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
+
Definition: compression_types.h:64
+
int is_set
Definition: compression_types.h:99
+
Definition: compression_types.h:60
+
Definition: compression_types.h:62
+
The default compression level.
Definition: compression_types.h:90
+
grpc_compression_algorithm algorithm
Definition: compression_types.h:100
diff --git a/core/connection-backoff-interop-test-description_8md.html b/core/connection-backoff-interop-test-description_8md.html
index a0347da6867..34695899218 100644
--- a/core/connection-backoff-interop-test-description_8md.html
+++ b/core/connection-backoff-interop-test-description_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/connection-backoff-interop-test-description.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/connection-backoff_8md.html b/core/connection-backoff_8md.html
index aa695c7666a..b03cd6c2b7e 100644
--- a/core/connection-backoff_8md.html
+++ b/core/connection-backoff_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/connection-backoff.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/connectivity-semantics-and-api_8md.html b/core/connectivity-semantics-and-api_8md.html
index 82feede0f7f..4c67ce7791b 100644
--- a/core/connectivity-semantics-and-api_8md.html
+++ b/core/connectivity-semantics-and-api_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/connectivity-semantics-and-api.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/connectivity__state_8h.html b/core/connectivity__state_8h.html
index 03527952627..00354e9f77a 100644
--- a/core/connectivity__state_8h.html
+++ b/core/connectivity__state_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/connectivity_state.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/connectivity__state_8h_source.html b/core/connectivity__state_8h_source.html
index 0979420f592..49d0be2cc00 100644
--- a/core/connectivity__state_8h_source.html
+++ b/core/connectivity__state_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/connectivity_state.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
connectivity_state.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H 20 #define GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H channel has seen a failure but expects to recover
Definition: connectivity_state.h:35
-
channel is idle
Definition: connectivity_state.h:29
-
grpc_connectivity_state
Connectivity state of a channel.
Definition: connectivity_state.h:27
-
channel is ready for work
Definition: connectivity_state.h:33
-
channel has seen a failure that it cannot recover from
Definition: connectivity_state.h:37
-
channel is connecting
Definition: connectivity_state.h:31
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H
+
20 #define GRPC_IMPL_CODEGEN_CONNECTIVITY_STATE_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
channel has seen a failure but expects to recover
Definition: connectivity_state.h:35
+
grpc_connectivity_state
Connectivity state of a channel.
Definition: connectivity_state.h:27
+
channel has seen a failure that it cannot recover from
Definition: connectivity_state.h:37
+
channel is idle
Definition: connectivity_state.h:29
+
channel is connecting
Definition: connectivity_state.h:31
+
channel is ready for work
Definition: connectivity_state.h:33
diff --git a/core/cpp-style-guide_8md.html b/core/cpp-style-guide_8md.html
index aa1d55865cc..c57910048c2 100644
--- a/core/cpp-style-guide_8md.html
+++ b/core/cpp-style-guide_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/cpp-style-guide.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/cpu_8h.html b/core/cpu_8h.html
index 1205b5ef482..2f7ce75a934 100644
--- a/core/cpu_8h.html
+++ b/core/cpu_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/support/cpu.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
GPRAPI unsigned gpr_cpu_num_cores (void)
-
Interface providing CPU information for currently running system. More...
+
Interface providing CPU information for currently running system. More...
GPRAPI unsigned gpr_cpu_current_cpu (void)
-
Return the CPU on which the current thread is executing; N.B. More...
+
Return the CPU on which the current thread is executing; N.B. More...
@@ -100,7 +103,7 @@ Functions
Return the CPU on which the current thread is executing; N.B.
-
This should be considered advisory only - it is possible that the thread is switched to a different CPU at any time. Returns a value in range [0, gpr_cpu_num_cores() - 1]
+
This should be considered advisory only - it is possible that the thread is switched to a different CPU at any time. Returns a value in range [0, gpr_cpu_num_cores() - 1]
@@ -128,9 +131,9 @@ Functions
diff --git a/core/cpu_8h_source.html b/core/cpu_8h_source.html
index 906e3b65fc8..913eff6d33e 100644
--- a/core/cpu_8h_source.html
+++ b/core/cpu_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/support/cpu.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
cpu.h
-
Go to the documentation of this file. 19 #ifndef GRPC_SUPPORT_CPU_H 20 #define GRPC_SUPPORT_CPU_H GPRAPI unsigned gpr_cpu_num_cores(void)
Interface providing CPU information for currently running system.
-
-
GPRAPI unsigned gpr_cpu_current_cpu(void)
Return the CPU on which the current thread is executing; N.B.
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_SUPPORT_CPU_H
+
20 #define GRPC_SUPPORT_CPU_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
GPRAPI unsigned gpr_cpu_current_cpu(void)
Return the CPU on which the current thread is executing; N.B.
+
GPRAPI unsigned gpr_cpu_num_cores(void)
Interface providing CPU information for currently running system.
+
+
diff --git a/core/deprecated.html b/core/deprecated.html
index 00de16249bc..25b2b711203 100644
--- a/core/deprecated.html
+++ b/core/deprecated.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Deprecated List
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
-
-
+
+/* @license-end */
diff --git a/core/dir_7a167954ab48275cc692d783196d1f28.html b/core/dir_7a167954ab48275cc692d783196d1f28.html
index b811cb4e3ec..8607581f558 100644
--- a/core/dir_7a167954ab48275cc692d783196d1f28.html
+++ b/core/dir_7a167954ab48275cc692d783196d1f28.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen Directory Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html b/core/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html
index 075d639fe7e..419a9dee9be 100644
--- a/core/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html
+++ b/core/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc Directory Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/dir_cad3142e04109052413f2d2a2d1813b0.html b/core/dir_cad3142e04109052413f2d2a2d1813b0.html
index b2b7989d3c0..ea9673c064d 100644
--- a/core/dir_cad3142e04109052413f2d2a2d1813b0.html
+++ b/core/dir_cad3142e04109052413f2d2a2d1813b0.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/support Directory Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/dir_d44c64559bbebec7f509842c48db8b23.html b/core/dir_d44c64559bbebec7f509842c48db8b23.html
index 124fcf52042..b80a0d7ba37 100644
--- a/core/dir_d44c64559bbebec7f509842c48db8b23.html
+++ b/core/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include Directory Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/dir_e68e8157741866f444e17edd764ebbae.html b/core/dir_e68e8157741866f444e17edd764ebbae.html
new file mode 100644
index 00000000000..985ae74dc3c
--- /dev/null
+++ b/core/dir_e68e8157741866f444e17edd764ebbae.html
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+GRPC Core: doc Directory Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GRPC Core
+ 9.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/core/doxygen.css b/core/doxygen.css
index 4f1ab9195b4..5bc13aac517 100644
--- a/core/doxygen.css
+++ b/core/doxygen.css
@@ -1,4 +1,4 @@
-/* The standard CSS for doxygen 1.8.13 */
+/* The standard CSS for doxygen 1.8.16 */
body, table, div, p, dl {
font: 400 14px/22px Roboto,sans-serif;
@@ -53,11 +53,13 @@ dt {
font-weight: bold;
}
-div.multicol {
+ul.multicol {
-moz-column-gap: 1em;
-webkit-column-gap: 1em;
+ column-gap: 1em;
-moz-column-count: 3;
-webkit-column-count: 3;
+ column-count: 3;
}
p.startli, p.startdd {
@@ -80,6 +82,15 @@ p.endtd {
margin-bottom: 2px;
}
+p.interli {
+}
+
+p.interdd {
+}
+
+p.intertd {
+}
+
/* @end */
caption {
@@ -134,12 +145,12 @@ a.qindex {
a.qindexHL {
font-weight: bold;
background-color: #9CAFD4;
- color: #ffffff;
+ color: #FFFFFF;
border: 1px double #869DCA;
}
.contents a.qindexHL:visited {
- color: #ffffff;
+ color: #FFFFFF;
}
a.el {
@@ -163,6 +174,25 @@ dl.el {
margin-left: -1cm;
}
+ul {
+ overflow: hidden; /*Fixed: list item bullets overlap floating elements*/
+}
+
+#side-nav ul {
+ overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */
+}
+
+#main-nav ul {
+ overflow: visible; /* reset ul rule for the navigation bar drop down lists */
+}
+
+.fragment {
+ text-align: left;
+ direction: ltr;
+ overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/
+ overflow-y: hidden;
+}
+
pre.fragment {
border: 1px solid #C4CFE5;
background-color: #FBFCFD;
@@ -177,8 +207,8 @@ pre.fragment {
}
div.fragment {
- padding: 0px;
- margin: 4px 8px 4px 2px;
+ padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/
+ margin: 4px 8px 4px 2px;
background-color: #FBFCFD;
border: 1px solid #C4CFE5;
}
@@ -248,7 +278,7 @@ span.lineno a:hover {
div.ah, span.ah {
background-color: black;
font-weight: bold;
- color: #ffffff;
+ color: #FFFFFF;
margin-bottom: 3px;
margin-top: 3px;
padding: 0.2em;
@@ -324,7 +354,7 @@ img.formulaDsp {
}
-img.formulaInl {
+img.formulaInl, img.inline {
vertical-align: middle;
}
@@ -402,6 +432,13 @@ blockquote {
padding: 0 12px 0 16px;
}
+blockquote.DocNodeRTL {
+ border-left: 0;
+ border-right: 2px solid #9CAFD4;
+ margin: 0 4px 0 24px;
+ padding: 0 16px 0 12px;
+}
+
/* @end */
/*
@@ -666,17 +703,17 @@ dl.reflist dd {
padding-left: 0px;
}
-.params .paramname, .retval .paramname {
+.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname {
font-weight: bold;
vertical-align: top;
}
-.params .paramtype {
+.params .paramtype, .tparams .paramtype {
font-style: italic;
vertical-align: top;
}
-.params .paramdir {
+.params .paramdir, .tparams .paramdir {
font-family: "courier new",courier,monospace;
vertical-align: top;
}
@@ -1081,72 +1118,143 @@ div.headertitle
padding: 5px 5px 5px 10px;
}
-dl
-{
- padding: 0 0 0 10px;
+.PageDocRTL-title div.headertitle {
+ text-align: right;
+ direction: rtl;
}
-/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */
-dl.section
-{
+dl {
+ padding: 0 0 0 0;
+}
+
+/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */
+dl.section {
margin-left: 0px;
padding-left: 0px;
}
-dl.note
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #D0C000;
+dl.section.DocNodeRTL {
+ margin-right: 0px;
+ padding-right: 0px;
}
-dl.warning, dl.attention
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #FF0000;
+dl.note {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #D0C000;
}
-dl.pre, dl.post, dl.invariant
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #00D000;
+dl.note.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #D0C000;
}
-dl.deprecated
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #505050;
+dl.warning, dl.attention {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #FF0000;
}
-dl.todo
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #00C0E0;
+dl.warning.DocNodeRTL, dl.attention.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #FF0000;
}
-dl.test
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #3030E0;
+dl.pre, dl.post, dl.invariant {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #00D000;
}
-dl.bug
-{
- margin-left:-7px;
- padding-left: 3px;
- border-left:4px solid;
- border-color: #C08050;
+dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #00D000;
+}
+
+dl.deprecated {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #505050;
+}
+
+dl.deprecated.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #505050;
+}
+
+dl.todo {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #00C0E0;
+}
+
+dl.todo.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #00C0E0;
+}
+
+dl.test {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #3030E0;
+}
+
+dl.test.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #3030E0;
+}
+
+dl.bug {
+ margin-left: -7px;
+ padding-left: 3px;
+ border-left: 4px solid;
+ border-color: #C08050;
+}
+
+dl.bug.DocNodeRTL {
+ margin-left: 0;
+ padding-left: 0;
+ border-left: 0;
+ margin-right: -7px;
+ padding-right: 3px;
+ border-right: 4px solid;
+ border-color: #C08050;
}
dl.section dd {
@@ -1263,6 +1371,11 @@ div.toc {
width: 200px;
}
+.PageDocRTL-title div.toc {
+ float: left !important;
+ text-align: right;
+}
+
div.toc li {
background: url("bdwn.png") no-repeat scroll 0 5px transparent;
font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif;
@@ -1271,6 +1384,12 @@ div.toc li {
padding-top: 2px;
}
+.PageDocRTL-title div.toc li {
+ background-position-x: right !important;
+ padding-left: 0 !important;
+ padding-right: 10px;
+}
+
div.toc h3 {
font: bold 12px/1.2 Arial,FreeSans,sans-serif;
color: #4665A2;
@@ -1300,6 +1419,26 @@ div.toc li.level4 {
margin-left: 45px;
}
+.PageDocRTL-title div.toc li.level1 {
+ margin-left: 0 !important;
+ margin-right: 0;
+}
+
+.PageDocRTL-title div.toc li.level2 {
+ margin-left: 0 !important;
+ margin-right: 15px;
+}
+
+.PageDocRTL-title div.toc li.level3 {
+ margin-left: 0 !important;
+ margin-right: 30px;
+}
+
+.PageDocRTL-title div.toc li.level4 {
+ margin-left: 0 !important;
+ margin-right: 45px;
+}
+
.inherit_header {
font-weight: bold;
color: gray;
@@ -1413,7 +1552,7 @@ tr.heading h2 {
}
#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after {
- border-top-color: #ffffff;
+ border-top-color: #FFFFFF;
border-width: 10px;
margin: 0px -10px;
}
@@ -1441,7 +1580,7 @@ tr.heading h2 {
}
#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after {
- border-bottom-color: #ffffff;
+ border-bottom-color: #FFFFFF;
border-width: 10px;
margin: 0px -10px;
}
@@ -1468,7 +1607,7 @@ tr.heading h2 {
left: 100%;
}
#powerTip.e:after {
- border-left-color: #ffffff;
+ border-left-color: #FFFFFF;
border-width: 10px;
top: 50%;
margin-top: -10px;
@@ -1484,7 +1623,7 @@ tr.heading h2 {
right: 100%;
}
#powerTip.w:after {
- border-right-color: #ffffff;
+ border-right-color: #FFFFFF;
border-width: 10px;
top: 50%;
margin-top: -10px;
@@ -1592,5 +1731,36 @@ th.markdownTableHeadCenter, td.markdownTableBodyCenter {
text-align: center
}
+.DocNodeRTL {
+ text-align: right;
+ direction: rtl;
+}
+.DocNodeLTR {
+ text-align: left;
+ direction: ltr;
+}
+
+table.DocNodeRTL {
+ width: auto;
+ margin-right: 0;
+ margin-left: auto;
+}
+
+table.DocNodeLTR {
+ width: auto;
+ margin-right: auto;
+ margin-left: 0;
+}
+
+tt, code, kbd, samp
+{
+ display: inline-block;
+ direction:ltr;
+}
/* @end */
+
+u {
+ text-decoration: underline;
+}
+
diff --git a/core/dynsections.js b/core/dynsections.js
index 85e18369095..ea0a7b39a1b 100644
--- a/core/dynsections.js
+++ b/core/dynsections.js
@@ -1,3 +1,26 @@
+/*
+ @licstart The following is the entire license notice for the
+ JavaScript code in this file.
+
+ Copyright (C) 1997-2017 by Dimitri van Heesch
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ @licend The above is the entire license notice
+ for the JavaScript code in this file
+ */
function toggleVisibility(linkObj)
{
var base = $(linkObj).attr('id');
@@ -15,7 +38,7 @@ function toggleVisibility(linkObj)
summary.hide();
$(linkObj).removeClass('closed').addClass('opened');
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
- }
+ }
return false;
}
@@ -94,4 +117,4 @@ function toggleInherit(id)
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
}
}
-
+/* @license-end */
diff --git a/core/environment__variables_8md.html b/core/environment__variables_8md.html
index e37c87f875b..8f87567a1e9 100644
--- a/core/environment__variables_8md.html
+++ b/core/environment__variables_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/environment_variables.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/epoll-polling-engine_8md.html b/core/epoll-polling-engine_8md.html
index 6b8df8a8bc4..86b5fc885d2 100644
--- a/core/epoll-polling-engine_8md.html
+++ b/core/epoll-polling-engine_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/core/epoll-polling-engine.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/fail__fast_8md.html b/core/fail__fast_8md.html
index d19e91bd429..7c346413272 100644
--- a/core/fail__fast_8md.html
+++ b/core/fail__fast_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/fail_fast.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/files.html b/core/files.html
index b612211bc24..16c97f8c00e 100644
--- a/core/files.html
+++ b/core/files.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: File List
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -65,72 +68,76 @@ $(function() {
Here is a list of all files with brief descriptions:
diff --git a/core/fork_8h.html b/core/fork_8h.html
index 92754821d35..8375d16306e 100644
--- a/core/fork_8h.html
+++ b/core/fork_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/fork.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/fork_8h_source.html b/core/fork_8h_source.html
index 0ffe13fb9f9..6821b77c9a4 100644
--- a/core/fork_8h_source.html
+++ b/core/fork_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/fork.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
fork.h
-
Go to the documentation of this file.
+
+
diff --git a/core/fork__support_8md.html b/core/fork__support_8md.html
index 08e494c7574..79b98cdea05 100644
--- a/core/fork__support_8md.html
+++ b/core/fork__support_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/fork_support.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/functions.html b/core/functions.html
index 43f282f1c07..ce25e521027 100644
--- a/core/functions.html
+++ b/core/functions.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Data Fields
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -349,6 +352,9 @@ $(function() {
peer_cert
: grpc_tls_server_authorization_check_arg
+peer_cert_full_chain
+: grpc_tls_server_authorization_check_arg
+
pointer
: grpc_arg::grpc_arg_value
@@ -526,9 +532,9 @@ $(function() {
diff --git a/core/functions_vars.html b/core/functions_vars.html
index 156348674db..48241e1732c 100644
--- a/core/functions_vars.html
+++ b/core/functions_vars.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Data Fields - Variables
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -349,6 +352,9 @@ $(function() {
peer_cert
: grpc_tls_server_authorization_check_arg
+peer_cert_full_chain
+: grpc_tls_server_authorization_check_arg
+
pointer
: grpc_arg::grpc_arg_value
@@ -526,9 +532,9 @@ $(function() {
diff --git a/core/g__stands__for_8md.html b/core/g__stands__for_8md.html
index cd7d9a1747b..e9df4184199 100644
--- a/core/g__stands__for_8md.html
+++ b/core/g__stands__for_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/g_stands_for.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/globals.html b/core/globals.html
index 8a4c672b371..e963fc545a5 100644
--- a/core/globals.html
+++ b/core/globals.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -61,7 +64,7 @@ $(function() {
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-
- _ -
diff --git a/core/globals_c.html b/core/globals_c.html
index 895230a7a1e..9a2e7e221bd 100644
--- a/core/globals_c.html
+++ b/core/globals_c.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -72,9 +75,9 @@ $(function() {
diff --git a/core/globals_defs.html b/core/globals_defs.html
index 471ee685f55..97d4da8859b 100644
--- a/core/globals_defs.html
+++ b/core/globals_defs.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -61,7 +64,7 @@ $(function() {
diff --git a/core/globals_defs_c.html b/core/globals_defs_c.html
index 4d8ff0b1ceb..50349a521e8 100644
--- a/core/globals_defs_c.html
+++ b/core/globals_defs_c.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -69,9 +72,9 @@ $(function() {
diff --git a/core/globals_defs_g.html b/core/globals_defs_g.html
index 508346ae52f..3bcec99f311 100644
--- a/core/globals_defs_g.html
+++ b/core/globals_defs_g.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -522,6 +525,15 @@ $(function() {
GRPC_ARG_TCP_READ_CHUNK_SIZE
: grpc_types.h
+GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED
+: grpc_types.h
+
+GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS
+: grpc_types.h
+
+GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD
+: grpc_types.h
+
GRPC_ARG_TSI_MAX_FRAME_SIZE
: grpc_types.h
@@ -540,6 +552,9 @@ $(function() {
GRPC_ARG_XDS_FALLBACK_TIMEOUT_MS
: grpc_types.h
+GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS
+: grpc_types.h
+
GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM
: compression_types.h
@@ -663,6 +678,9 @@ $(function() {
GRPC_TCP_DEFAULT_READ_SLICE_SIZE
: grpc_types.h
+GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME
+: grpc_security_constants.h
+
GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME
: grpc_security_constants.h
@@ -687,6 +705,9 @@ $(function() {
GRPC_X509_CN_PROPERTY_NAME
: grpc_security_constants.h
+GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME
+: grpc_security_constants.h
+
GRPC_X509_PEM_CERT_PROPERTY_NAME
: grpc_security_constants.h
@@ -700,9 +721,9 @@ $(function() {
diff --git a/core/globals_enum.html b/core/globals_enum.html
index d46bc8df914..5180d239e46 100644
--- a/core/globals_enum.html
+++ b/core/globals_enum.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -99,6 +102,9 @@ $(function() {
grpc_op_type
: grpc_types.h
+grpc_security_level
+: grpc_security_constants.h
+
grpc_server_register_method_payload_handling
: grpc.h
@@ -117,6 +123,9 @@ $(function() {
grpc_status_code
: status.h
+grpc_tls_server_verification_option
+: grpc_security_constants.h
+
grpc_workaround_list
: workaround_list.h
@@ -124,9 +133,9 @@ $(function() {
diff --git a/core/globals_eval.html b/core/globals_eval.html
index 079d67ff5dd..925155c01df 100644
--- a/core/globals_eval.html
+++ b/core/globals_eval.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -206,6 +209,9 @@ $(function() {
GRPC_CQ_PLUCK
: grpc_types.h
+GRPC_INTEGRITY_ONLY
+: grpc_security_constants.h
+
GRPC_MAX_WORKAROUND_ID
: workaround_list.h
@@ -236,12 +242,24 @@ $(function() {
GRPC_OP_SEND_STATUS_FROM_SERVER
: grpc_types.h
+GRPC_PRIVACY_AND_INTEGRITY
+: grpc_security_constants.h
+
GRPC_QUEUE_SHUTDOWN
: grpc_types.h
GRPC_QUEUE_TIMEOUT
: grpc_types.h
+GRPC_SECURITY_MAX
+: grpc_security_constants.h
+
+GRPC_SECURITY_MIN
+: grpc_security_constants.h
+
+GRPC_SECURITY_NONE
+: grpc_security_constants.h
+
GRPC_SLICE_REF_BOTH
: slice.h
@@ -344,6 +362,15 @@ $(function() {
GRPC_STATUS_UNKNOWN
: status.h
+GRPC_TLS_SERVER_VERIFICATION
+: grpc_security_constants.h
+
+GRPC_TLS_SKIP_ALL_SERVER_VERIFICATION
+: grpc_security_constants.h
+
+GRPC_TLS_SKIP_HOSTNAME_VERIFICATION
+: grpc_security_constants.h
+
GRPC_WORKAROUND_ID_CRONET_COMPRESSION
: workaround_list.h
@@ -365,9 +392,9 @@ $(function() {
diff --git a/core/globals_func.html b/core/globals_func.html
index c96a59069e4..d621308da43 100644
--- a/core/globals_func.html
+++ b/core/globals_func.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -126,7 +129,7 @@ $(function() {
: log.h
gpr_log_severity_string()
-: log.h
+: log.h
gpr_log_verbosity_init()
: log.h
@@ -291,7 +294,7 @@ $(function() {
: grpc_security.h
grpc_auth_context_peer_identity_property_name()
-: grpc_security.h
+: grpc_security.h
grpc_auth_context_peer_is_authenticated()
: grpc_security.h
@@ -306,7 +309,7 @@ $(function() {
: grpc_security.h
grpc_auth_property_iterator_next()
-: grpc_security.h
+: grpc_security.h
grpc_byte_buffer_copy()
: byte_buffer.h
@@ -354,7 +357,7 @@ $(function() {
: grpc.h
grpc_call_error_to_string()
-: grpc.h
+: grpc.h
grpc_call_get_peer()
: grpc.h
@@ -453,7 +456,7 @@ $(function() {
: grpc.h
grpc_completion_queue_factory_lookup()
-: grpc.h
+: grpc.h
grpc_completion_queue_next()
: grpc.h
@@ -510,7 +513,7 @@ $(function() {
: fork.h
grpc_g_stands_for()
-: grpc.h
+: grpc.h
grpc_google_compute_engine_credentials_create()
: grpc_security.h
@@ -564,7 +567,7 @@ $(function() {
: grpc.h
grpc_metadata_credentials_create_from_plugin()
-: grpc_security.h
+: grpc_security.h
grpc_postfork_child()
: fork.h
@@ -588,7 +591,7 @@ $(function() {
: grpc.h
grpc_resource_quota_arg_vtable()
-: grpc.h
+: grpc.h
grpc_resource_quota_create()
: grpc.h
@@ -848,6 +851,9 @@ $(function() {
grpc_tls_credential_reload_config_create()
: grpc_security.h
+grpc_tls_credentials_create()
+: grpc_security.h
+
grpc_tls_credentials_options_create()
: grpc_security.h
@@ -863,6 +869,9 @@ $(function() {
grpc_tls_credentials_options_set_server_authorization_check_config()
: grpc_security.h
+grpc_tls_credentials_options_set_server_verification_option()
+: grpc_security.h
+
grpc_tls_key_materials_config_create()
: grpc_security.h
@@ -878,25 +887,22 @@ $(function() {
grpc_tls_server_authorization_check_config_create()
: grpc_security.h
-grpc_tls_spiffe_credentials_create()
-: grpc_security.h
-
-grpc_tls_spiffe_server_credentials_create()
-: grpc_security.h
+ grpc_tls_server_credentials_create()
+: grpc_security.h
grpc_tracer_set_enabled()
: grpc.h
grpc_version_string()
-: grpc.h
+: grpc.h
diff --git a/core/globals_g.html b/core/globals_g.html
index 2d9e47c1f91..979609d2378 100644
--- a/core/globals_g.html
+++ b/core/globals_g.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -279,7 +282,7 @@ $(function() {
: log.h
gpr_log_severity_string()
-: log.h
+: log.h
gpr_log_verbosity_init()
: log.h
@@ -472,12 +475,12 @@ $(function() {
gpr_stats_inc()
: sync.h
-gpr_stats_init()
-: sync.h
-
GPR_STATS_INIT
: sync_generic.h
+gpr_stats_init()
+: sync.h
+
gpr_stats_read()
: sync.h
@@ -811,6 +814,15 @@ $(function() {
GRPC_ARG_TCP_READ_CHUNK_SIZE
: grpc_types.h
+GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED
+: grpc_types.h
+
+GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS
+: grpc_types.h
+
+GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD
+: grpc_types.h
+
GRPC_ARG_TSI_MAX_FRAME_SIZE
: grpc_types.h
@@ -832,6 +844,9 @@ $(function() {
GRPC_ARG_XDS_FALLBACK_TIMEOUT_MS
: grpc_types.h
+GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS
+: grpc_types.h
+
grpc_auth_context
: grpc_security.h
@@ -848,7 +863,7 @@ $(function() {
: grpc_security.h
grpc_auth_context_peer_identity_property_name()
-: grpc_security.h
+: grpc_security.h
grpc_auth_context_peer_is_authenticated()
: grpc_security.h
@@ -869,7 +884,7 @@ $(function() {
: grpc_security.h
grpc_auth_property_iterator_next()
-: grpc_security.h
+: grpc_security.h
GRPC_BB_RAW
: grpc_types.h
@@ -980,7 +995,7 @@ $(function() {
: grpc_types.h
grpc_call_error_to_string()
-: grpc.h
+: grpc.h
GRPC_CALL_ERROR_TOO_MANY_OPERATIONS
: grpc_types.h
@@ -1115,7 +1130,7 @@ $(function() {
: grpc_types.h
grpc_completion_queue_factory_lookup()
-: grpc.h
+: grpc.h
grpc_completion_queue_next()
: grpc.h
@@ -1277,7 +1292,7 @@ $(function() {
: fork.h
grpc_g_stands_for()
-: grpc.h
+: grpc.h
grpc_google_compute_engine_credentials_create()
: grpc_security.h
@@ -1330,6 +1345,9 @@ $(function() {
grpc_insecure_channel_create_from_fd()
: grpc_posix.h
+GRPC_INTEGRITY_ONLY
+: grpc_security_constants.h
+
grpc_is_binary_header()
: grpc.h
@@ -1373,7 +1391,7 @@ $(function() {
: grpc.h
grpc_metadata_credentials_create_from_plugin()
-: grpc_security.h
+: grpc_security.h
GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX
: grpc_security.h
@@ -1423,6 +1441,9 @@ $(function() {
grpc_prefork()
: fork.h
+GRPC_PRIVACY_AND_INTEGRITY
+: grpc_security_constants.h
+
grpc_process_auth_metadata_done_cb
: grpc_security.h
@@ -1463,7 +1484,7 @@ $(function() {
: grpc_types.h
grpc_resource_quota_arg_vtable()
-: grpc.h
+: grpc.h
grpc_resource_quota_create()
: grpc.h
@@ -1483,6 +1504,18 @@ $(function() {
grpc_secure_channel_create()
: grpc_security.h
+grpc_security_level
+: grpc_security_constants.h
+
+GRPC_SECURITY_MAX
+: grpc_security_constants.h
+
+GRPC_SECURITY_MIN
+: grpc_security_constants.h
+
+GRPC_SECURITY_NONE
+: grpc_security_constants.h
+
grpc_server
: grpc_types.h
@@ -1924,6 +1957,9 @@ $(function() {
grpc_tls_credential_reload_config_create()
: grpc_security.h
+grpc_tls_credentials_create()
+: grpc_security.h
+
grpc_tls_credentials_options
: grpc_security.h
@@ -1942,6 +1978,9 @@ $(function() {
grpc_tls_credentials_options_set_server_authorization_check_config()
: grpc_security.h
+grpc_tls_credentials_options_set_server_verification_option()
+: grpc_security.h
+
grpc_tls_key_materials_config
: grpc_security.h
@@ -1972,15 +2011,27 @@ $(function() {
grpc_tls_server_authorization_check_config_create()
: grpc_security.h
-grpc_tls_spiffe_credentials_create()
-: grpc_security.h
+ grpc_tls_server_credentials_create()
+: grpc_security.h
-grpc_tls_spiffe_server_credentials_create()
-: grpc_security.h
+ GRPC_TLS_SERVER_VERIFICATION
+: grpc_security_constants.h
+
+grpc_tls_server_verification_option
+: grpc_security_constants.h
+
+GRPC_TLS_SKIP_ALL_SERVER_VERIFICATION
+: grpc_security_constants.h
+
+GRPC_TLS_SKIP_HOSTNAME_VERIFICATION
+: grpc_security_constants.h
grpc_tracer_set_enabled()
: grpc.h
+GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME
+: grpc_security_constants.h
+
GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME
: grpc_security_constants.h
@@ -1991,7 +2042,7 @@ $(function() {
: port_platform.h
grpc_version_string()
-: grpc.h
+: grpc.h
GRPC_WORKAROUND_ID_CRONET_COMPRESSION
: workaround_list.h
@@ -2014,6 +2065,9 @@ $(function() {
GRPC_X509_CN_PROPERTY_NAME
: grpc_security_constants.h
+GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME
+: grpc_security_constants.h
+
GRPC_X509_PEM_CERT_PROPERTY_NAME
: grpc_security_constants.h
@@ -2027,9 +2081,9 @@ $(function() {
diff --git a/core/globals_l.html b/core/globals_l.html
index 6a94febf2c9..8aaa9bee646 100644
--- a/core/globals_l.html
+++ b/core/globals_l.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -69,9 +72,9 @@ $(function() {
diff --git a/core/globals_type.html b/core/globals_type.html
index 50f745726fa..d7e0fdd517b 100644
--- a/core/globals_type.html
+++ b/core/globals_type.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -236,9 +239,9 @@ $(function() {
diff --git a/core/globals_u.html b/core/globals_u.html
index b17e66e6325..892ffb63179 100644
--- a/core/globals_u.html
+++ b/core/globals_u.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Globals
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -69,9 +72,9 @@ $(function() {
diff --git a/core/gpr__slice_8h.html b/core/gpr__slice_8h.html
index a9ab58c2f3c..87f9e79bc40 100644
--- a/core/gpr__slice_8h.html
+++ b/core/gpr__slice_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/gpr_slice.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/gpr__slice_8h_source.html b/core/gpr__slice_8h_source.html
index e54988ce70c..796e7c1b774 100644
--- a/core/gpr__slice_8h_source.html
+++ b/core/gpr__slice_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/gpr_slice.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
gpr_slice.h
-
Go to the documentation of this file. 18 #ifndef GRPC_IMPL_CODEGEN_GPR_SLICE_H 19 #define GRPC_IMPL_CODEGEN_GPR_SLICE_H 28 #define GRPC_ALLOW_GPR_SLICE_FUNCTIONS 1 30 #ifdef GRPC_ALLOW_GPR_SLICE_FUNCTIONS 32 #define gpr_slice_refcount grpc_slice_refcount 33 #define gpr_slice grpc_slice 34 #define gpr_slice_buffer grpc_slice_buffer 36 #define gpr_slice_ref grpc_slice_ref 37 #define gpr_slice_unref grpc_slice_unref 38 #define gpr_slice_new grpc_slice_new 39 #define gpr_slice_new_with_user_data grpc_slice_new_with_user_data 40 #define gpr_slice_new_with_len grpc_slice_new_with_len 41 #define gpr_slice_malloc grpc_slice_malloc 42 #define gpr_slice_from_copied_string grpc_slice_from_copied_string 43 #define gpr_slice_from_copied_buffer grpc_slice_from_copied_buffer 44 #define gpr_slice_from_static_string grpc_slice_from_static_string 45 #define gpr_slice_sub grpc_slice_sub 46 #define gpr_slice_sub_no_ref grpc_slice_sub_no_ref 47 #define gpr_slice_split_tail grpc_slice_split_tail 48 #define gpr_slice_split_head grpc_slice_split_head 49 #define gpr_slice_cmp grpc_slice_cmp 50 #define gpr_slice_str_cmp grpc_slice_str_cmp 52 #define gpr_slice_buffer grpc_slice_buffer 53 #define gpr_slice_buffer_init grpc_slice_buffer_init 54 #define gpr_slice_buffer_destroy grpc_slice_buffer_destroy 55 #define gpr_slice_buffer_add grpc_slice_buffer_add 56 #define gpr_slice_buffer_add_indexed grpc_slice_buffer_add_indexed 57 #define gpr_slice_buffer_addn grpc_slice_buffer_addn 58 #define gpr_slice_buffer_tiny_add grpc_slice_buffer_tiny_add 59 #define gpr_slice_buffer_pop grpc_slice_buffer_pop 60 #define gpr_slice_buffer_reset_and_unref grpc_slice_buffer_reset_and_unref 61 #define gpr_slice_buffer_swap grpc_slice_buffer_swap 62 #define gpr_slice_buffer_move_into grpc_slice_buffer_move_into 63 #define gpr_slice_buffer_trim_end grpc_slice_buffer_trim_end 64 #define gpr_slice_buffer_move_first grpc_slice_buffer_move_first 65 #define gpr_slice_buffer_take_first grpc_slice_buffer_take_first
+Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
18 #ifndef GRPC_IMPL_CODEGEN_GPR_SLICE_H
+
19 #define GRPC_IMPL_CODEGEN_GPR_SLICE_H
+
+
+
28 #define GRPC_ALLOW_GPR_SLICE_FUNCTIONS 1
+
+
30 #ifdef GRPC_ALLOW_GPR_SLICE_FUNCTIONS
+
+
32 #define gpr_slice_refcount grpc_slice_refcount
+
33 #define gpr_slice grpc_slice
+
34 #define gpr_slice_buffer grpc_slice_buffer
+
+
36 #define gpr_slice_ref grpc_slice_ref
+
37 #define gpr_slice_unref grpc_slice_unref
+
38 #define gpr_slice_new grpc_slice_new
+
39 #define gpr_slice_new_with_user_data grpc_slice_new_with_user_data
+
40 #define gpr_slice_new_with_len grpc_slice_new_with_len
+
41 #define gpr_slice_malloc grpc_slice_malloc
+
42 #define gpr_slice_from_copied_string grpc_slice_from_copied_string
+
43 #define gpr_slice_from_copied_buffer grpc_slice_from_copied_buffer
+
44 #define gpr_slice_from_static_string grpc_slice_from_static_string
+
45 #define gpr_slice_sub grpc_slice_sub
+
46 #define gpr_slice_sub_no_ref grpc_slice_sub_no_ref
+
47 #define gpr_slice_split_tail grpc_slice_split_tail
+
48 #define gpr_slice_split_head grpc_slice_split_head
+
49 #define gpr_slice_cmp grpc_slice_cmp
+
50 #define gpr_slice_str_cmp grpc_slice_str_cmp
+
+
52 #define gpr_slice_buffer grpc_slice_buffer
+
53 #define gpr_slice_buffer_init grpc_slice_buffer_init
+
54 #define gpr_slice_buffer_destroy grpc_slice_buffer_destroy
+
55 #define gpr_slice_buffer_add grpc_slice_buffer_add
+
56 #define gpr_slice_buffer_add_indexed grpc_slice_buffer_add_indexed
+
57 #define gpr_slice_buffer_addn grpc_slice_buffer_addn
+
58 #define gpr_slice_buffer_tiny_add grpc_slice_buffer_tiny_add
+
59 #define gpr_slice_buffer_pop grpc_slice_buffer_pop
+
60 #define gpr_slice_buffer_reset_and_unref grpc_slice_buffer_reset_and_unref
+
61 #define gpr_slice_buffer_swap grpc_slice_buffer_swap
+
62 #define gpr_slice_buffer_move_into grpc_slice_buffer_move_into
+
63 #define gpr_slice_buffer_trim_end grpc_slice_buffer_trim_end
+
64 #define gpr_slice_buffer_move_first grpc_slice_buffer_move_first
+
65 #define gpr_slice_buffer_take_first grpc_slice_buffer_take_first
+
+
+
+
+
diff --git a/core/gpr__types_8h.html b/core/gpr__types_8h.html
index 066f0505075..cfd166c7f0a 100644
--- a/core/gpr__types_8h.html
+++ b/core/gpr__types_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/gpr_types.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/gpr__types_8h_source.html b/core/gpr__types_8h_source.html
index bfb76beeed9..3c5d8c0761a 100644
--- a/core/gpr__types_8h_source.html
+++ b/core/gpr__types_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/gpr_types.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
gpr_types.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_GPR_TYPES_H 20 #define GRPC_IMPL_CODEGEN_GPR_TYPES_H int32_t tv_nsec
Definition: gpr_types.h:49
-
struct gpr_timespec gpr_timespec
Analogous to struct timespec.
-
Unmeasurable clock type: no base, created by taking the difference between two times.
Definition: gpr_types.h:42
-
Monotonic clock.
Definition: gpr_types.h:33
-
gpr_clock_type clock_type
Against which clock was this time measured? (or GPR_TIMESPAN if this is a relative time measure) ...
Definition: gpr_types.h:52
-
Realtime clock.
Definition: gpr_types.h:36
-
int64_t tv_sec
Definition: gpr_types.h:48
-
Analogous to struct timespec.
Definition: gpr_types.h:47
-
gpr_clock_type
The clocks we support.
Definition: gpr_types.h:31
-
-
CPU cycle time obtained by rdtsc instruction on x86 platforms.
Definition: gpr_types.h:39
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_GPR_TYPES_H
+
20 #define GRPC_IMPL_CODEGEN_GPR_TYPES_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
int32_t tv_nsec
Definition: gpr_types.h:49
+
Unmeasurable clock type: no base, created by taking the difference between two times.
Definition: gpr_types.h:42
+
int64_t tv_sec
Definition: gpr_types.h:48
+
Monotonic clock.
Definition: gpr_types.h:33
+
struct gpr_timespec gpr_timespec
Analogous to struct timespec.
+
gpr_clock_type clock_type
Against which clock was this time measured? (or GPR_TIMESPAN if this is a relative time measure)
Definition: gpr_types.h:52
+
CPU cycle time obtained by rdtsc instruction on x86 platforms.
Definition: gpr_types.h:39
+
+
Analogous to struct timespec.
Definition: gpr_types.h:47
+
Realtime clock.
Definition: gpr_types.h:36
+
gpr_clock_type
The clocks we support.
Definition: gpr_types.h:31
diff --git a/core/graph_legend.html b/core/graph_legend.html
index 61158ef0f28..c98324a5391 100644
--- a/core/graph_legend.html
+++ b/core/graph_legend.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Graph Legend
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -64,11 +67,42 @@ $(function() {
This page explains how to interpret the graphs that are generated by doxygen.
-
Consider the following example:
/*! Invisible class because of truncation */
class Invisible { };
/*! Truncated class, inheritance relation is hidden */
class Truncated : public Invisible { };
/* Class not documented with doxygen comments */
class Undocumented { };
/*! Class that is inherited using public inheritance */
class PublicBase : public Truncated { };
/*! A template class */
template<class T> class Templ { };
/*! Class that is inherited using protected inheritance */
class ProtectedBase { };
/*! Class that is inherited using private inheritance */
class PrivateBase { };
/*! Class that is used by the Inherited class */
class Used { };
/*! Super class that inherits a number of other classes */
class Inherited : public PublicBase,
protected ProtectedBase,
private PrivateBase,
public Undocumented,
public Templ<int>
{
private:
Used *m_usedClass;
};
This will result in the following graph:
-
-
-
-The boxes in the above graph have the following meaning:
+
Consider the following example:
/*! Invisible class because of truncation */
+
class Invisible { };
+
+
/*! Truncated class, inheritance relation is hidden */
+
class Truncated : public Invisible { };
+
+
/* Class not documented with doxygen comments */
+
class Undocumented { };
+
+
/*! Class that is inherited using public inheritance */
+
class PublicBase : public Truncated { };
+
+
/*! A template class */
+
template<class T> class Templ { };
+
+
/*! Class that is inherited using protected inheritance */
+
class ProtectedBase { };
+
+
/*! Class that is inherited using private inheritance */
+
class PrivateBase { };
+
+
/*! Class that is used by the Inherited class */
+
class Used { };
+
+
/*! Super class that inherits a number of other classes */
+
class Inherited : public PublicBase,
+
protected ProtectedBase,
+
private PrivateBase,
+
public Undocumented,
+
public Templ<int>
+
{
+
private:
+
Used *m_usedClass;
+
};
+
This will result in the following graph:
+
The boxes in the above graph have the following meaning:
A filled gray box represents the struct or class for which the graph is generated.
@@ -95,9 +129,9 @@ A yellow dashed arrow denotes a relation between a template instance and the tem
diff --git a/core/graph_legend.md5 b/core/graph_legend.md5
index a06ed050cbb..3b4f8ab2896 100644
--- a/core/graph_legend.md5
+++ b/core/graph_legend.md5
@@ -1 +1 @@
-387ff8eb65306fa251338d3c9bd7bfff
\ No newline at end of file
+2779a1676ca72f29ac6dddfb5b5a4bb2
\ No newline at end of file
diff --git a/core/graph_legend.png b/core/graph_legend.png
index 322e694cd7e..60f91af4162 100644
Binary files a/core/graph_legend.png and b/core/graph_legend.png differ
diff --git a/core/group__grpc__arg__keys.html b/core/group__grpc__arg__keys.html
index df107c51658..e52b6a8582a 100644
--- a/core/group__grpc__arg__keys.html
+++ b/core/group__grpc__arg__keys.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: Grpc_arg_keys
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -72,179 +75,185 @@ $(function() {
#define GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM "grpc.default_compression_algorithm"
- Default compression algorithm for the channel. More...
+ Default compression algorithm for the channel. More...
#define GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level"
- Default compression level for the channel. More...
+ Default compression level for the channel. More...
#define GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET "grpc.compression_enabled_algorithms_bitset"
- Compression algorithms supported by the channel. More...
+ Compression algorithms supported by the channel. More...
#define GRPC_ARG_ENABLE_CENSUS "grpc.census"
- If non-zero, enable census for tracing and stats collection. More...
+ If non-zero, enable census for tracing and stats collection. More...
#define GRPC_ARG_ENABLE_LOAD_REPORTING "grpc.loadreporting"
- If non-zero, enable load reporting. More...
+ If non-zero, enable load reporting. More...
#define GRPC_ARG_MINIMAL_STACK "grpc.minimal_stack"
- Request that optional features default to off (regardless of what they usually default to) - to enable tight control over what gets enabled. More...
+ Request that optional features default to off (regardless of what they usually default to) - to enable tight control over what gets enabled. More...
#define GRPC_ARG_MAX_CONCURRENT_STREAMS "grpc.max_concurrent_streams"
- Maximum number of concurrent incoming streams to allow on a http2 connection. More...
+ Maximum number of concurrent incoming streams to allow on a http2 connection. More...
#define GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH "grpc.max_receive_message_length"
- Maximum message length that the channel can receive. More...
+ Maximum message length that the channel can receive. More...
#define GRPC_ARG_MAX_MESSAGE_LENGTH GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH
#define GRPC_ARG_MAX_SEND_MESSAGE_LENGTH "grpc.max_send_message_length"
- Maximum message length that the channel can send. More...
+ Maximum message length that the channel can send. More...
#define GRPC_ARG_MAX_CONNECTION_IDLE_MS "grpc.max_connection_idle_ms"
- Maximum time that a channel may have no outstanding rpcs, after which the server will close the connection. More...
+ Maximum time that a channel may have no outstanding rpcs, after which the server will close the connection. More...
#define GRPC_ARG_MAX_CONNECTION_AGE_MS "grpc.max_connection_age_ms"
- Maximum time that a channel may exist. More...
+ Maximum time that a channel may exist. More...
#define GRPC_ARG_MAX_CONNECTION_AGE_GRACE_MS "grpc.max_connection_age_grace_ms"
- Grace period after the channel reaches its max age. More...
+ Grace period after the channel reaches its max age. More...
#define GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS "grpc.client_idle_timeout_ms"
- Timeout after the last RPC finishes on the client channel at which the channel goes back into IDLE state. More...
+ Timeout after the last RPC finishes on the client channel at which the channel goes back into IDLE state. More...
#define GRPC_ARG_ENABLE_PER_MESSAGE_COMPRESSION "grpc.per_message_compression"
- Enable/disable support for per-message compression. More...
+ Enable/disable support for per-message compression. More...
#define GRPC_ARG_ENABLE_DEADLINE_CHECKS "grpc.enable_deadline_checking"
- Enable/disable support for deadline checking. More...
+ Enable/disable support for deadline checking. More...
#define GRPC_ARG_HTTP2_INITIAL_SEQUENCE_NUMBER "grpc.http2.initial_sequence_number"
- Initial stream ID for http2 transports. More...
+ Initial stream ID for http2 transports. More...
#define GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES "grpc.http2.lookahead_bytes"
- Amount to read ahead on individual streams. More...
+ Amount to read ahead on individual streams. More...
#define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER "grpc.http2.hpack_table_size.decoder"
- How much memory to use for hpack decoding. More...
+ How much memory to use for hpack decoding. More...
#define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_ENCODER "grpc.http2.hpack_table_size.encoder"
- How much memory to use for hpack encoding. More...
+ How much memory to use for hpack encoding. More...
#define GRPC_ARG_HTTP2_MAX_FRAME_SIZE "grpc.http2.max_frame_size"
- How big a frame are we willing to receive via HTTP2. More...
+ How big a frame are we willing to receive via HTTP2. More...
#define GRPC_ARG_HTTP2_BDP_PROBE "grpc.http2.bdp_probe"
- Should BDP probing be performed? More...
+ Should BDP probing be performed? More...
#define GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS "grpc.http2.min_time_between_pings_ms"
- Minimum time between sending successive ping frames without receiving any data frame, Int valued, milliseconds. More...
+ Minimum time between sending successive ping frames without receiving any data frame, Int valued, milliseconds. More...
#define GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS "grpc.http2.min_ping_interval_without_data_ms"
- Minimum allowed time between a server receiving successive ping frames without sending any data frame. More...
+ Minimum allowed time between a server receiving successive ping frames without sending any data frame. More...
#define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme"
- Channel arg to override the http2 :scheme header. More...
+ Channel arg to override the http2 :scheme header. More...
#define GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA "grpc.http2.max_pings_without_data"
- How many pings can we send before needing to send a data frame or header frame? (0 indicates that an infinite number of pings can be sent without sending a data frame or header frame) More...
+ How many pings can we send before needing to send a data frame or header frame? (0 indicates that an infinite number of pings can be sent without sending a data frame or header frame) More...
#define GRPC_ARG_HTTP2_MAX_PING_STRIKES "grpc.http2.max_ping_strikes"
- How many misbehaving pings the server can bear before sending goaway and closing the transport? (0 indicates that the server can bear an infinite number of misbehaving pings) More...
+ How many misbehaving pings the server can bear before sending goaway and closing the transport? (0 indicates that the server can bear an infinite number of misbehaving pings) More...
#define GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE "grpc.http2.write_buffer_size"
- How much data are we willing to queue up per stream if GRPC_WRITE_BUFFER_HINT is set? This is an upper bound. More...
+ How much data are we willing to queue up per stream if GRPC_WRITE_BUFFER_HINT is set? This is an upper bound. More...
#define GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY "grpc.http2.true_binary"
- Should we allow receipt of true-binary data on http2 connections? Defaults to on (1) More...
+ Should we allow receipt of true-binary data on http2 connections? Defaults to on (1) More...
#define GRPC_ARG_KEEPALIVE_TIME_MS "grpc.keepalive_time_ms"
- After a duration of this time the client/server pings its peer to see if the transport is still alive. More...
+ After a duration of this time the client/server pings its peer to see if the transport is still alive. More...
#define GRPC_ARG_KEEPALIVE_TIMEOUT_MS "grpc.keepalive_timeout_ms"
- After waiting for a duration of this time, if the keepalive ping sender does not receive the ping ack, it will close the transport. More...
+ After waiting for a duration of this time, if the keepalive ping sender does not receive the ping ack, it will close the transport. More...
#define GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS "grpc.keepalive_permit_without_calls"
- Is it permissible to send keepalive pings without any outstanding streams. More...
+ Is it permissible to send keepalive pings without any outstanding streams. More...
#define GRPC_ARG_DEFAULT_AUTHORITY "grpc.default_authority"
- Default authority to pass if none specified on call construction. More...
+ Default authority to pass if none specified on call construction. More...
#define GRPC_ARG_PRIMARY_USER_AGENT_STRING "grpc.primary_user_agent"
- Primary user agent: goes at the start of the user-agent metadata sent on each request. More...
+ Primary user agent: goes at the start of the user-agent metadata sent on each request. More...
#define GRPC_ARG_SECONDARY_USER_AGENT_STRING "grpc.secondary_user_agent"
- Secondary user agent: goes at the end of the user-agent metadata sent on each request. More...
+ Secondary user agent: goes at the end of the user-agent metadata sent on each request. More...
#define GRPC_ARG_MIN_RECONNECT_BACKOFF_MS "grpc.min_reconnect_backoff_ms"
- The minimum time between subsequent connection attempts, in ms. More...
+ The minimum time between subsequent connection attempts, in ms. More...
#define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS "grpc.max_reconnect_backoff_ms"
- The maximum time between subsequent connection attempts, in ms. More...
+ The maximum time between subsequent connection attempts, in ms. More...
#define GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS "grpc.initial_reconnect_backoff_ms"
- The time between the first and second connection attempts, in ms. More...
+ The time between the first and second connection attempts, in ms. More...
#define GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS "grpc.dns_min_time_between_resolutions_ms"
- Minimum amount of time between DNS resolutions, in ms. More...
+ Minimum amount of time between DNS resolutions, in ms. More...
#define GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS "grpc.server_handshake_timeout_ms"
- The timeout used on servers for finishing handshaking on an incoming connection. More...
+ The timeout used on servers for finishing handshaking on an incoming connection. More...
#define GRPC_SSL_TARGET_NAME_OVERRIDE_ARG "grpc.ssl_target_name_override"
- This should be used for testing only. More...
+ This should be used for testing only. More...
#define GRPC_SSL_SESSION_CACHE_ARG "grpc.ssl_session_cache"
- If non-zero, a pointer to a session cache (a pointer of type grpc_ssl_session_cache*). More...
+ If non-zero, a pointer to a session cache (a pointer of type grpc_ssl_session_cache*). More...
#define GRPC_ARG_TSI_MAX_FRAME_SIZE "grpc.tsi.max_frame_size"
- If non-zero, it will determine the maximum frame size used by TSI's frame protector. More...
+ If non-zero, it will determine the maximum frame size used by TSI's frame protector. More...
#define GRPC_ARG_MAX_METADATA_SIZE "grpc.max_metadata_size"
- Maximum metadata size, in bytes. More...
+ Maximum metadata size, in bytes. More...
#define GRPC_ARG_ALLOW_REUSEPORT "grpc.so_reuseport"
- If non-zero, allow the use of SO_REUSEPORT if it's available (default 1) More...
+ If non-zero, allow the use of SO_REUSEPORT if it's available (default 1) More...
#define GRPC_ARG_RESOURCE_QUOTA "grpc.resource_quota"
- If non-zero, a pointer to a buffer pool (a pointer of type grpc_resource_quota*). More...
+ If non-zero, a pointer to a buffer pool (a pointer of type grpc_resource_quota*). More...
#define GRPC_ARG_EXPAND_WILDCARD_ADDRS "grpc.expand_wildcard_addrs"
- If non-zero, expand wildcard addresses to a list of local addresses. More...
+ If non-zero, expand wildcard addresses to a list of local addresses. More...
#define GRPC_ARG_SERVICE_CONFIG "grpc.service_config"
- Service config data in JSON form. More...
+ Service config data in JSON form. More...
#define GRPC_ARG_SERVICE_CONFIG_DISABLE_RESOLUTION "grpc.service_config_disable_resolution"
- Disable looking up the service config via the name resolver. More...
+ Disable looking up the service config via the name resolver. More...
#define GRPC_ARG_LB_POLICY_NAME "grpc.lb_policy_name"
- LB policy name. More...
+ LB policy name. More...
#define GRPC_ARG_SOCKET_MUTATOR "grpc.socket_mutator"
- The grpc_socket_mutator instance that set the socket options. More...
+ The grpc_socket_mutator instance that set the socket options. More...
#define GRPC_ARG_SOCKET_FACTORY "grpc.socket_factory"
- The grpc_socket_factory instance to create and bind sockets. More...
+ The grpc_socket_factory instance to create and bind sockets. More...
#define GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE "grpc.max_channel_trace_event_memory_per_node"
- The maximum amount of memory used by trace events per channel trace node. More...
+ The maximum amount of memory used by trace events per channel trace node. More...
#define GRPC_ARG_ENABLE_CHANNELZ "grpc.enable_channelz"
- If non-zero, gRPC library will track stats and information at at per channel level. More...
+ If non-zero, gRPC library will track stats and information at at per channel level. More...
#define GRPC_ARG_USE_CRONET_PACKET_COALESCING "grpc.use_cronet_packet_coalescing"
- If non-zero, Cronet transport will coalesce packets to fewer frames when possible. More...
+ If non-zero, Cronet transport will coalesce packets to fewer frames when possible. More...
#define GRPC_ARG_TCP_READ_CHUNK_SIZE "grpc.experimental.tcp_read_chunk_size"
- Channel arg (integer) setting how large a slice to try and read from the wire each time recvmsg (or equivalent) is called. More...
+ Channel arg (integer) setting how large a slice to try and read from the wire each time recvmsg (or equivalent) is called. More...
#define GRPC_TCP_DEFAULT_READ_SLICE_SIZE 8192
- Note this is not a "channel arg" key. More...
+ Note this is not a "channel arg" key. More...
#define GRPC_ARG_TCP_MIN_READ_CHUNK_SIZE "grpc.experimental.tcp_min_read_chunk_size"
#define GRPC_ARG_TCP_MAX_READ_CHUNK_SIZE "grpc.experimental.tcp_max_read_chunk_size"
+#define GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED "grpc.experimental.tcp_tx_zerocopy_enabled"
+
+#define GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD "grpc.experimental.tcp_tx_zerocopy_send_bytes_threshold"
+
+#define GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS "grpc.experimental.tcp_tx_zerocopy_max_simultaneous_sends"
+
#define GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS "grpc.grpclb_call_timeout_ms"
#define GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS "grpc.grpclb_fallback_timeout_ms"
@@ -255,47 +264,49 @@ Macros
#define GRPC_ARG_XDS_FAILOVER_TIMEOUT_MS "grpc.xds_failover_timeout_ms"
+#define GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS "grpc.xds_resource_does_not_exist_timeout_ms"
+
#define GRPC_ARG_WORKAROUND_CRONET_COMPRESSION "grpc.workaround.cronet_compression"
- If non-zero, grpc server's cronet compression workaround will be enabled. More...
+ If non-zero, grpc server's cronet compression workaround will be enabled. More...
#define GRPC_ARG_OPTIMIZATION_TARGET "grpc.optimization_target"
- String defining the optimization target for a channel. More...
+ String defining the optimization target for a channel. More...
#define GRPC_ARG_ENABLE_RETRIES "grpc.enable_retries"
- If set to zero, disables retry behavior. More...
+ If set to zero, disables retry behavior. More...
#define GRPC_ARG_PER_RPC_RETRY_BUFFER_SIZE "grpc.per_rpc_retry_buffer_size"
- Per-RPC retry buffer size, in bytes. More...
+ Per-RPC retry buffer size, in bytes. More...
#define GRPC_ARG_MOBILE_LOG_CONTEXT "grpc.mobile_log_context"
- Channel arg that carries the bridged objective c object for custom metrics logging filter. More...
+ Channel arg that carries the bridged objective c object for custom metrics logging filter. More...
#define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER "grpc.disable_client_authority_filter"
- If non-zero, client authority filter is disabled for the channel. More...
+ If non-zero, client authority filter is disabled for the channel. More...
#define GRPC_ARG_ENABLE_HTTP_PROXY "grpc.enable_http_proxy"
- If set to zero, disables use of http proxies. More...
+ If set to zero, disables use of http proxies. More...
#define GRPC_ARG_SURFACE_USER_AGENT "grpc.surface_user_agent"
- If set to non zero, surfaces the user agent string to the server. More...
+ If set to non zero, surfaces the user agent string to the server. More...
#define GRPC_ARG_INHIBIT_HEALTH_CHECKING "grpc.inhibit_health_checking"
- If set, inhibits health checking (which may be enabled via the service config.) More...
+ If set, inhibits health checking (which may be enabled via the service config.) More...
#define GRPC_ARG_DNS_ENABLE_SRV_QUERIES "grpc.dns_enable_srv_queries"
- If set, the channel's resolver is allowed to query for SRV records. More...
+ If set, the channel's resolver is allowed to query for SRV records. More...
#define GRPC_ARG_DNS_ARES_QUERY_TIMEOUT_MS "grpc.dns_ares_query_timeout"
- If set, determines an upper bound on the number of milliseconds that the c-ares based DNS resolver will wait on queries before cancelling them. More...
+ If set, determines an upper bound on the number of milliseconds that the c-ares based DNS resolver will wait on queries before cancelling them. More...
#define GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL "grpc.use_local_subchannel_pool"
- If set, uses a local subchannel pool within the channel. More...
+ If set, uses a local subchannel pool within the channel. More...
#define GRPC_ARG_CHANNEL_POOL_DOMAIN "grpc.channel_pooling_domain"
- gRPC Objective-C channel pooling domain string. More...
+ gRPC Objective-C channel pooling domain string. More...
#define GRPC_ARG_CHANNEL_ID "grpc.channel_id"
- gRPC Objective-C channel pooling id. More...
+ gRPC Objective-C channel pooling id. More...
@@ -1218,7 +1229,7 @@ Macros
@@ -1382,6 +1393,48 @@ Macros
Channel arg (integer) setting how large a slice to try and read from the wire each time recvmsg (or equivalent) is called.
+
+
+
+◆ GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED
+
+
+
+
+
+ #define GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED "grpc.experimental.tcp_tx_zerocopy_enabled"
+
+
+
+
+
+
+
+◆ GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS
+
+
+
+
+
+ #define GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS "grpc.experimental.tcp_tx_zerocopy_max_simultaneous_sends"
+
+
+
+
+
+
+
+◆ GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD
+
+
+
+
+
+ #define GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD "grpc.experimental.tcp_tx_zerocopy_send_bytes_threshold"
+
+
+
+
@@ -1476,6 +1529,20 @@ Macros
+
+
+
+◆ GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS
+
+
+
+
+
+ #define GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS "grpc.xds_resource_does_not_exist_timeout_ms"
+
+
+
+
@@ -1583,9 +1650,9 @@ Macros
diff --git a/core/grpc-client-server-polling-engine-usage_8md.html b/core/grpc-client-server-polling-engine-usage_8md.html
index e1ca42fa321..3a7df1cc7e0 100644
--- a/core/grpc-client-server-polling-engine-usage_8md.html
+++ b/core/grpc-client-server-polling-engine-usage_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/core/grpc-client-server-polling-engine-usage.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/grpc-cq_8md.html b/core/grpc-cq_8md.html
index 7637c55100b..15715bc84a6 100644
--- a/core/grpc-cq_8md.html
+++ b/core/grpc-cq_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/core/grpc-cq.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/grpc-error_8md.html b/core/grpc-error_8md.html
index 7c2fc0e6f50..e283d26ddd6 100644
--- a/core/grpc-error_8md.html
+++ b/core/grpc-error_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/core/grpc-error.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/grpc-polling-engines_8md.html b/core/grpc-polling-engines_8md.html
index a5d05f7b475..b6e437a1b8a 100644
--- a/core/grpc-polling-engines_8md.html
+++ b/core/grpc-polling-engines_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/core/grpc-polling-engines.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/grpc_8h.html b/core/grpc_8h.html
index 4f9a9ea389c..a59c1844e28 100644
--- a/core/grpc_8h.html
+++ b/core/grpc_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
#define GRPC_MAX_COMPLETION_QUEUE_PLUCKERS 6
-
Maximum number of outstanding grpc_completion_queue_pluck executions per completion queue. More...
+
Maximum number of outstanding grpc_completion_queue_pluck executions per completion queue. More...
GRPCAPI void grpc_call_details_destroy (grpc_call_details *details)
GRPCAPI void grpc_register_plugin (void(*init)(void), void(*destroy)(void))
- Registers a plugin to be initialized and destroyed with the library. More...
+ Registers a plugin to be initialized and destroyed with the library. More...
GRPCAPI void grpc_init (void)
- Initialize the grpc library. More...
+ Initialize the grpc library. More...
GRPCAPI void grpc_shutdown (void)
- Shut down the grpc library. More...
+ Shut down the grpc library. More...
GRPCAPI int grpc_is_initialized (void)
- EXPERIMENTAL. More...
+ EXPERIMENTAL. More...
GRPCAPI void grpc_shutdown_blocking (void)
- EXPERIMENTAL. More...
+ EXPERIMENTAL. More...
-GRPCAPI const char * grpc_version_string (void)
- Return a string representing the current version of grpc. More...
-
-GRPCAPI const char * grpc_g_stands_for (void)
- Return a string specifying what the 'g' in gRPC stands for. More...
-
-GRPCAPI const grpc_completion_queue_factory * grpc_completion_queue_factory_lookup (const grpc_completion_queue_attributes *attributes)
- Returns the completion queue factory based on the attributes. More...
-
+const GRPCAPI char * grpc_version_string (void)
+ Return a string representing the current version of grpc. More...
+
+const GRPCAPI char * grpc_g_stands_for (void)
+ Return a string specifying what the 'g' in gRPC stands for. More...
+
+const GRPCAPI grpc_completion_queue_factory * grpc_completion_queue_factory_lookup (const grpc_completion_queue_attributes *attributes)
+ Returns the completion queue factory based on the attributes. More...
+
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_next (void *reserved)
- Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_NEXT and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More...
+ Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_NEXT and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More...
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_pluck (void *reserved)
- Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_PLUCK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More...
+ Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_PLUCK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More...
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_callback (grpc_experimental_completion_queue_functor *shutdown_callback, void *reserved)
- Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_CALLBACK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More...
+ Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_CALLBACK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More...
GRPCAPI grpc_completion_queue * grpc_completion_queue_create (const grpc_completion_queue_factory *factory, const grpc_completion_queue_attributes *attributes, void *reserved)
- Create a completion queue. More...
+ Create a completion queue. More...
GRPCAPI grpc_event grpc_completion_queue_next (grpc_completion_queue *cq, gpr_timespec deadline, void *reserved)
- Blocks until an event is available, the completion queue is being shut down, or deadline is reached. More...
+ Blocks until an event is available, the completion queue is being shut down, or deadline is reached. More...
GRPCAPI grpc_event grpc_completion_queue_pluck (grpc_completion_queue *cq, void *tag, gpr_timespec deadline, void *reserved)
- Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline is reached. More...
+ Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline is reached. More...
GRPCAPI void grpc_completion_queue_shutdown (grpc_completion_queue *cq)
- Begin destruction of a completion queue. More...
+ Begin destruction of a completion queue. More...
GRPCAPI void grpc_completion_queue_destroy (grpc_completion_queue *cq)
- Destroy a completion queue. More...
+ Destroy a completion queue. More...
GRPCAPI void grpc_completion_queue_thread_local_cache_init (grpc_completion_queue *cq)
- Initializes a thread local cache for cq . More...
+ Initializes a thread local cache for cq . More...
GRPCAPI int grpc_completion_queue_thread_local_cache_flush (grpc_completion_queue *cq, void **tag, int *ok)
- Flushes the thread local cache for cq . More...
+ Flushes the thread local cache for cq . More...
GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state (grpc_channel *channel, int try_to_connect)
- Check the connectivity state of a channel. More...
+ Check the connectivity state of a channel. More...
GRPCAPI int grpc_channel_num_external_connectivity_watchers (grpc_channel *channel)
- Number of active "external connectivity state watchers" attached to a channel. More...
+ Number of active "external connectivity state watchers" attached to a channel. More...
GRPCAPI void grpc_channel_watch_connectivity_state (grpc_channel *channel, grpc_connectivity_state last_observed_state, gpr_timespec deadline, grpc_completion_queue *cq, void *tag)
- Watch for a change in connectivity state. More...
+ Watch for a change in connectivity state. More...
GRPCAPI int grpc_channel_support_connectivity_watcher (grpc_channel *channel)
- Check whether a grpc channel supports connectivity watcher. More...
+ Check whether a grpc channel supports connectivity watcher. More...
GRPCAPI grpc_call * grpc_channel_create_call (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)
- Create a call given a grpc_channel, in order to call 'method'. More...
+ Create a call given a grpc_channel, in order to call 'method'. More...
GRPCAPI void grpc_channel_ping (grpc_channel *channel, grpc_completion_queue *cq, void *tag, void *reserved)
- Ping the channels peer (load balanced channels will select one sub-channel to ping); if the channel is not connected, posts a failed. More...
+ Ping the channels peer (load balanced channels will select one sub-channel to ping); if the channel is not connected, posts a failed. More...
GRPCAPI void * grpc_channel_register_call (grpc_channel *channel, const char *method, const char *host, void *reserved)
- Pre-register a method/host pair on a channel. More...
+ Pre-register a method/host pair on a channel. More...
GRPCAPI grpc_call * grpc_channel_create_registered_call (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)
- Create a call given a handle returned from grpc_channel_register_call. More...
+ Create a call given a handle returned from grpc_channel_register_call. More...
GRPCAPI void * grpc_call_arena_alloc (grpc_call *call, size_t size)
- Allocate memory in the grpc_call arena: this memory is automatically discarded at call completion. More...
+ Allocate memory in the grpc_call arena: this memory is automatically discarded at call completion. More...
GRPCAPI grpc_call_error grpc_call_start_batch (grpc_call *call, const grpc_op *ops, size_t nops, void *tag, void *reserved)
- Start a batch of operations defined in the array ops; when complete, post a completion of type 'tag' to the completion queue bound to the call. More...
+ Start a batch of operations defined in the array ops; when complete, post a completion of type 'tag' to the completion queue bound to the call. More...
GRPCAPI char * grpc_call_get_peer (grpc_call *call)
- Returns a newly allocated string representing the endpoint to which this call is communicating with. More...
+ Returns a newly allocated string representing the endpoint to which this call is communicating with. More...
GRPCAPI void grpc_census_call_set_context (grpc_call *call, struct census_context *context)
- Set census context for a call; Must be called before first call to grpc_call_start_batch() . More...
+ Set census context for a call; Must be called before first call to grpc_call_start_batch() . More...
GRPCAPI struct census_context * grpc_census_call_get_context (grpc_call *call)
- Retrieve the calls current census context. More...
+ Retrieve the calls current census context. More...
GRPCAPI char * grpc_channel_get_target (grpc_channel *channel)
- Return a newly allocated string representing the target a channel was created for. More...
+ Return a newly allocated string representing the target a channel was created for. More...
GRPCAPI void grpc_channel_get_info (grpc_channel *channel, const grpc_channel_info *channel_info)
- Request info about the channel. More...
+ Request info about the channel. More...
GRPCAPI void grpc_channel_reset_connect_backoff (grpc_channel *channel)
- EXPERIMENTAL. More...
+ EXPERIMENTAL. More...
GRPCAPI grpc_channel * grpc_insecure_channel_create (const char *target, const grpc_channel_args *args, void *reserved)
- Create a client channel to 'target'. More...
+ Create a client channel to 'target'. More...
GRPCAPI grpc_channel * grpc_lame_client_channel_create (const char *target, grpc_status_code error_code, const char *error_message)
- Create a lame client: this client fails every operation attempted on it. More...
+ Create a lame client: this client fails every operation attempted on it. More...
GRPCAPI void grpc_channel_destroy (grpc_channel *channel)
- Close and destroy a grpc channel. More...
+ Close and destroy a grpc channel. More...
GRPCAPI grpc_call_error grpc_call_cancel (grpc_call *call, void *reserved)
- Error handling for grpc_call Most grpc_call functions return a grpc_error. More...
+ Error handling for grpc_call Most grpc_call functions return a grpc_error. More...
GRPCAPI grpc_call_error grpc_call_cancel_with_status (grpc_call *call, grpc_status_code status, const char *description, void *reserved)
- Cancel an RPC. More...
+ Cancel an RPC. More...
GRPCAPI void grpc_call_ref (grpc_call *call)
- Ref a call. More...
+ Ref a call. More...
GRPCAPI void grpc_call_unref (grpc_call *call)
- Unref a call. More...
+ Unref a call. More...
GRPCAPI grpc_call_error grpc_server_request_call (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)
- Request notification of a new call. More...
+ Request notification of a new call. More...
GRPCAPI void * grpc_server_register_method (grpc_server *server, const char *method, const char *host, grpc_server_register_method_payload_handling payload_handling, uint32_t flags)
- Registers a method in the server. More...
+ Registers a method in the server. More...
GRPCAPI grpc_call_error grpc_server_request_registered_call (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)
- Request notification of a new pre-registered call. More...
+ Request notification of a new pre-registered call. More...
GRPCAPI grpc_server * grpc_server_create (const grpc_channel_args *args, void *reserved)
- Create a server. More...
+ Create a server. More...
GRPCAPI void grpc_server_register_completion_queue (grpc_server *server, grpc_completion_queue *cq, void *reserved)
- Register a completion queue with the server. More...
+ Register a completion queue with the server. More...
GRPCAPI int grpc_server_add_insecure_http2_port (grpc_server *server, const char *addr)
- Add a HTTP2 over plaintext over tcp listener. More...
+ Add a HTTP2 over plaintext over tcp listener. More...
GRPCAPI void grpc_server_start (grpc_server *server)
- Start a server - tells all listeners to start listening. More...
+ Start a server - tells all listeners to start listening. More...
GRPCAPI void grpc_server_shutdown_and_notify (grpc_server *server, grpc_completion_queue *cq, void *tag)
- Begin shutting down a server. More...
+ Begin shutting down a server. More...
GRPCAPI void grpc_server_cancel_all_calls (grpc_server *server)
- Cancel all in-progress calls. More...
+ Cancel all in-progress calls. More...
GRPCAPI void grpc_server_destroy (grpc_server *server)
- Destroy a server. More...
+ Destroy a server. More...
GRPCAPI int grpc_tracer_set_enabled (const char *name, int enabled)
- Enable or disable a tracer. More...
+ Enable or disable a tracer. More...
GRPCAPI int grpc_header_key_is_legal (grpc_slice slice)
- Check whether a metadata key is legal (will be accepted by core) More...
+ Check whether a metadata key is legal (will be accepted by core) More...
GRPCAPI int grpc_header_nonbin_value_is_legal (grpc_slice slice)
- Check whether a non-binary metadata value is legal (will be accepted by core) More...
+ Check whether a non-binary metadata value is legal (will be accepted by core) More...
GRPCAPI int grpc_is_binary_header (grpc_slice slice)
- Check whether a metadata key corresponds to a binary value. More...
+ Check whether a metadata key corresponds to a binary value. More...
-GRPCAPI const char * grpc_call_error_to_string (grpc_call_error error)
- Convert grpc_call_error values to a string. More...
-
+const GRPCAPI char * grpc_call_error_to_string (grpc_call_error error)
+ Convert grpc_call_error values to a string. More...
+
GRPCAPI grpc_resource_quota * grpc_resource_quota_create (const char *trace_name)
- Create a buffer pool. More...
+ Create a buffer pool. More...
GRPCAPI void grpc_resource_quota_ref (grpc_resource_quota *resource_quota)
- Add a reference to a buffer pool. More...
+ Add a reference to a buffer pool. More...
GRPCAPI void grpc_resource_quota_unref (grpc_resource_quota *resource_quota)
- Drop a reference to a buffer pool. More...
+ Drop a reference to a buffer pool. More...
GRPCAPI void grpc_resource_quota_resize (grpc_resource_quota *resource_quota, size_t new_size)
- Update the size of a buffer pool. More...
+ Update the size of a buffer pool. More...
GRPCAPI void grpc_resource_quota_set_max_threads (grpc_resource_quota *resource_quota, int new_max_threads)
- Update the size of the maximum number of threads allowed. More...
+ Update the size of the maximum number of threads allowed. More...
-GRPCAPI const grpc_arg_pointer_vtable * grpc_resource_quota_arg_vtable (void)
- Fetch a vtable for a grpc_channel_arg that points to a grpc_resource_quota. More...
-
+const GRPCAPI grpc_arg_pointer_vtable * grpc_resource_quota_arg_vtable (void)
+ Fetch a vtable for a grpc_channel_arg that points to a grpc_resource_quota. More...
+
GRPCAPI char * grpc_channelz_get_top_channels (intptr_t start_channel_id)
- Channelz is under active development. More...
+ Channelz is under active development. More...
GRPCAPI char * grpc_channelz_get_servers (intptr_t start_server_id)
@@ -490,14 +493,14 @@ Functions
-
-◆ grpc_call_error_to_string()
+
+◆ grpc_call_error_to_string()
- GRPCAPI const char* grpc_call_error_to_string
+ const GRPCAPI char* grpc_call_error_to_string
(
grpc_call_error
error )
@@ -527,7 +530,7 @@ Functions
Returns a newly allocated string representing the endpoint to which this call is communicating with.
-
The string is in the uri format accepted by grpc_channel_create. The returned string should be disposed of with gpr_free() .
+
The string is in the uri format accepted by grpc_channel_create. The returned string should be disposed of with gpr_free() .
WARNING: this value is never authenticated or subject to any security related code. It must not be used for any authentication related functionality. Instead, use grpc_auth_context.
@@ -827,7 +830,7 @@ Functions
@@ -1373,14 +1376,14 @@ Functions
-
-◆ grpc_completion_queue_factory_lookup()
+
+◆ grpc_completion_queue_factory_lookup()
- GRPCAPI const grpc_completion_queue_factory * grpc_completion_queue_factory_lookup
+ const GRPCAPI grpc_completion_queue_factory * grpc_completion_queue_factory_lookup
(
const grpc_completion_queue_attributes *
attributes )
@@ -1427,7 +1430,7 @@ Functions
Blocks until an event is available, the completion queue is being shut down, or deadline is reached.
-
Returns a grpc_event with type GRPC_QUEUE_TIMEOUT on timeout, otherwise a grpc_event describing the event that occurred.
+
Returns a grpc_event with type GRPC_QUEUE_TIMEOUT on timeout, otherwise a grpc_event describing the event that occurred.
Callers must not call grpc_completion_queue_next and grpc_completion_queue_pluck simultaneously on the same completion queue.
@@ -1471,7 +1474,7 @@ Functions
Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline is reached.
-
Returns a grpc_event with type GRPC_QUEUE_TIMEOUT on timeout, otherwise a grpc_event describing the event that occurred.
+
Returns a grpc_event with type GRPC_QUEUE_TIMEOUT on timeout, otherwise a grpc_event describing the event that occurred.
Callers must not call grpc_completion_queue_next and grpc_completion_queue_pluck simultaneously on the same completion queue.
Completion queues support a maximum of GRPC_MAX_COMPLETION_QUEUE_PLUCKERS concurrently executing plucks at any time.
@@ -1557,14 +1560,14 @@ Functions
-
-◆ grpc_g_stands_for()
+
+◆ grpc_g_stands_for()
- GRPCAPI const char* grpc_g_stands_for
+ const GRPCAPI char* grpc_g_stands_for
(
void
)
@@ -1634,7 +1637,7 @@ Functions
Initialize the grpc library.
-
After it's called, a matching invocation to grpc_shutdown() is expected.
+
After it's called, a matching invocation to grpc_shutdown() is expected.
It is not safe to call any other grpc functions before calling this. (To avoid overhead, little checking is done, and some things may work. We do not warrant that they will continue to do so in future revisions of this library).
@@ -1672,7 +1675,7 @@ Functions
Create a client channel to 'target'.
-
Additional channel level configuration MAY be provided by grpc_channel_args , though the expectation is that most clients will want to simply pass NULL. The user data in 'args' need only live through the invocation of this function. However, if any args of the 'pointer' type are passed, then the referenced vtable must be maintained by the caller until grpc_channel_destroy terminates. See grpc_channel_args definition for more on this.
+
Additional channel level configuration MAY be provided by grpc_channel_args , though the expectation is that most clients will want to simply pass NULL. The user data in 'args' need only live through the invocation of this function. However, if any args of the 'pointer' type are passed, then the referenced vtable must be maintained by the caller until grpc_channel_destroy terminates. See grpc_channel_args definition for more on this.
@@ -1816,18 +1819,18 @@ Functions
Registers a plugin to be initialized and destroyed with the library.
-
The init and destroy functions will be invoked as part of grpc_init() and grpc_shutdown() , respectively. Note that these functions can be invoked an arbitrary number of times (and hence so will init and destroy ). It is safe to pass NULL to either argument. Plugins are destroyed in the reverse order they were initialized.
+
The init and destroy functions will be invoked as part of grpc_init() and grpc_shutdown() , respectively. Note that these functions can be invoked an arbitrary number of times (and hence so will init and destroy ). It is safe to pass NULL to either argument. Plugins are destroyed in the reverse order they were initialized.
-
-◆ grpc_resource_quota_arg_vtable()
+
+◆ grpc_resource_quota_arg_vtable()
- GRPCAPI const grpc_arg_pointer_vtable * grpc_resource_quota_arg_vtable
+ const GRPCAPI grpc_arg_pointer_vtable * grpc_resource_quota_arg_vtable
(
void
)
@@ -2039,7 +2042,7 @@ Functions
Create a server.
-
Additional configuration for each incoming channel can be specified with args. If no additional configuration is needed, args can be NULL. The user data in 'args' need only live through the invocation of this function. However, if any args of the 'pointer' type are passed, then the referenced vtable must be maintained by the caller until grpc_server_destroy terminates. See grpc_channel_args definition for more on this.
+
Additional configuration for each incoming channel can be specified with args. If no additional configuration is needed, args can be NULL. The user data in 'args' need only live through the invocation of this function. However, if any args of the 'pointer' type are passed, then the referenced vtable must be maintained by the caller until grpc_server_destroy terminates. See grpc_channel_args definition for more on this.
@@ -2358,7 +2361,7 @@ Functions
Shut down the grpc library.
-
Before it's called, there should haven been a matching invocation to grpc_init() .
+
Before it's called, there should haven been a matching invocation to grpc_init() .
The last call to grpc_shutdown will initiate cleaning up of grpc library internals, which can happen in another thread. Once the clean-up is done, no memory is used by grpc, nor are any instructions executing within the grpc library. Prior to calling, all application owned grpc objects must have been destroyed.
@@ -2416,14 +2419,14 @@ Functions
-
-◆ grpc_version_string()
+
+◆ grpc_version_string()
- GRPCAPI const char* grpc_version_string
+ const GRPCAPI char* grpc_version_string
(
void
)
@@ -2439,9 +2442,9 @@ Functions
diff --git a/core/grpc_8h_source.html b/core/grpc_8h_source.html
index ec6b297551f..e9fbaeadf2c 100644
--- a/core/grpc_8h_source.html
+++ b/core/grpc_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
grpc.h
-
Go to the documentation of this file. 156 #define GRPC_MAX_COMPLETION_QUEUE_PLUCKERS 6 225 void * tag,
void * reserved);
231 const char * method,
const char * host,
266 const grpc_op * ops,
size_t nops,
267 void * tag,
void * reserved);
317 const char * target,
grpc_status_code error_code,
const char * error_message);
347 const char * description,
388 grpc_server * server,
const char * method,
const char * host,
389 grpc_server_register_method_payload_handling payload_handling,
521 intptr_t start_socket_id,
522 intptr_t max_results);
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
-
GRPCAPI grpc_call_error grpc_call_cancel_with_status(grpc_call *call, grpc_status_code status, const char *description, void *reserved)
Cancel an RPC.
-
GRPCAPI void grpc_server_shutdown_and_notify(grpc_server *server, grpc_completion_queue *cq, void *tag)
Begin shutting down a server.
-
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_next(void *reserved)
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_NEXT and grpc_cq...
-
GRPCAPI grpc_event grpc_completion_queue_next(grpc_completion_queue *cq, gpr_timespec deadline, void *reserved)
Blocks until an event is available, the completion queue is being shut down, or deadline is reached...
-
struct grpc_completion_queue_factory grpc_completion_queue_factory
The completion queue factory structure is opaque to the callers of grpc.
Definition: grpc_types.h:762
-
An array of arguments that can be passed around.
Definition: grpc_types.h:132
-
Definition: grpc_types.h:85
-
Read the initial payload as a byte buffer.
Definition: grpc.h:377
-
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
-
-
grpc_server_register_method_payload_handling
How to handle payloads for a registered method.
Definition: grpc.h:373
-
-
-
GRPCAPI void grpc_server_register_completion_queue(grpc_server *server, grpc_completion_queue *cq, void *reserved)
Register a completion queue with the server.
-
GRPCAPI const char * grpc_g_stands_for(void)
Return a string specifying what the 'g' in gRPC stands for.
-
GRPCAPI int grpc_is_initialized(void)
EXPERIMENTAL.
-
GRPCAPI const char * grpc_version_string(void)
Return a string representing the current version of grpc.
-
The result of an operation.
Definition: grpc_types.h:514
-
GRPCAPI void grpc_channel_ping(grpc_channel *channel, grpc_completion_queue *cq, void *tag, void *reserved)
Ping the channels peer (load balanced channels will select one sub-channel to ping); if the channel i...
-
GRPCAPI int grpc_channel_num_external_connectivity_watchers(grpc_channel *channel)
Number of active "external connectivity state watchers" attached to a channel.
-
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...
Definition: slice.h:60
-
GRPCAPI grpc_completion_queue * grpc_completion_queue_create(const grpc_completion_queue_factory *factory, const grpc_completion_queue_attributes *attributes, void *reserved)
Create a completion queue.
-
GRPCAPI grpc_call_error grpc_call_cancel(grpc_call *call, void *reserved)
Error handling for grpc_call Most grpc_call functions return a grpc_error.
-
GRPCAPI void grpc_call_details_destroy(grpc_call_details *details)
-
GRPCAPI void grpc_resource_quota_unref(grpc_resource_quota *resource_quota)
Drop a reference to a buffer pool.
-
GRPCAPI void grpc_server_start(grpc_server *server)
Start a server - tells all listeners to start listening.
-
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
-
GRPCAPI char * grpc_channelz_get_top_channels(intptr_t start_channel_id)
Channelz is under active development.
-
GRPCAPI char * grpc_channelz_get_subchannel(intptr_t subchannel_id)
-
-
GRPCAPI const grpc_arg_pointer_vtable * grpc_resource_quota_arg_vtable(void)
Fetch a vtable for a grpc_channel_arg that points to a grpc_resource_quota.
-
Definition: grpc_types.h:535
-
Definition: grpc_types.h:40
-
Don't try to read the payload.
Definition: grpc.h:375
-
GRPCAPI grpc_call_error grpc_server_request_call(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)
Request notification of a new call.
-
GRPCAPI char * grpc_call_get_peer(grpc_call *call)
Returns a newly allocated string representing the endpoint to which this call is communicating with...
-
-
GRPCAPI void grpc_server_cancel_all_calls(grpc_server *server)
Cancel all in-progress calls.
-
GRPCAPI char * grpc_channelz_get_server(intptr_t server_id)
-
GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state(grpc_channel *channel, int try_to_connect)
Check the connectivity state of a channel.
-
Definition: grpc_types.h:742
-
grpc_call_error
Result of a grpc call.
Definition: grpc_types.h:407
-
GRPCAPI char * grpc_channel_get_target(grpc_channel *channel)
Return a newly allocated string representing the target a channel was created for.
-
GRPCAPI int grpc_is_binary_header(grpc_slice slice)
Check whether a metadata key corresponds to a binary value.
-
GRPCAPI char * grpc_channelz_get_channel(intptr_t channel_id)
-
GRPCAPI void grpc_channel_reset_connect_backoff(grpc_channel *channel)
EXPERIMENTAL.
-
grpc_connectivity_state
Connectivity state of a channel.
Definition: connectivity_state.h:27
-
GRPCAPI void grpc_channel_get_info(grpc_channel *channel, const grpc_channel_info *channel_info)
Request info about the channel.
-
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_callback(grpc_experimental_completion_queue_functor *shutdown_callback, void *reserved)
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_CALLBACK and grp...
-
GRPCAPI void grpc_call_details_init(grpc_call_details *details)
-
GRPCAPI grpc_channel * grpc_lame_client_channel_create(const char *target, grpc_status_code error_code, const char *error_message)
Create a lame client: this client fails every operation attempted on it.
-
GRPCAPI void * grpc_server_register_method(grpc_server *server, const char *method, const char *host, grpc_server_register_method_payload_handling payload_handling, uint32_t flags)
Registers a method in the server.
-
GRPCAPI grpc_call * grpc_channel_create_registered_call(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)
Create a call given a handle returned from grpc_channel_register_call.
-
GRPCAPI void grpc_resource_quota_ref(grpc_resource_quota *resource_quota)
Add a reference to a buffer pool.
-
GRPCAPI void grpc_server_destroy(grpc_server *server)
Destroy a server.
-
GRPCAPI grpc_call * grpc_channel_create_call(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)
Create a call given a grpc_channel, in order to call 'method'.
-
GRPCAPI void grpc_metadata_array_init(grpc_metadata_array *array)
-
GRPCAPI struct census_context * grpc_census_call_get_context(grpc_call *call)
Retrieve the calls current census context.
-
GRPCAPI void grpc_completion_queue_destroy(grpc_completion_queue *cq)
Destroy a completion queue.
-
GRPCAPI grpc_resource_quota * grpc_resource_quota_create(const char *trace_name)
Create a buffer pool.
-
GRPCAPI void grpc_channel_destroy(grpc_channel *channel)
Close and destroy a grpc channel.
-
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) ...
Definition: grpc_types.h:590
-
GRPCAPI int grpc_server_add_insecure_http2_port(grpc_server *server, const char *addr)
Add a HTTP2 over plaintext over tcp listener.
-
GRPCAPI const grpc_completion_queue_factory * grpc_completion_queue_factory_lookup(const grpc_completion_queue_attributes *attributes)
Returns the completion queue factory based on the attributes.
-
GRPCAPI void grpc_completion_queue_shutdown(grpc_completion_queue *cq)
Begin destruction of a completion queue.
-
GRPCAPI char * grpc_channelz_get_servers(intptr_t start_server_id)
-
GRPCAPI void grpc_init(void)
Initialize the grpc library.
-
GRPCAPI void grpc_shutdown_blocking(void)
EXPERIMENTAL.
-
-
-
GRPCAPI void grpc_metadata_array_destroy(grpc_metadata_array *array)
-
GRPCAPI grpc_channel * grpc_insecure_channel_create(const char *target, const grpc_channel_args *args, void *reserved)
Create a client channel to 'target'.
-
GRPCAPI grpc_call_error grpc_call_start_batch(grpc_call *call, const grpc_op *ops, size_t nops, void *tag, void *reserved)
Start a batch of operations defined in the array ops; when complete, post a completion of type 'tag' ...
-
GRPCAPI void grpc_shutdown(void)
Shut down the grpc library.
-
GRPCAPI void grpc_call_ref(grpc_call *call)
Ref a call.
-
GRPCAPI void grpc_channel_watch_connectivity_state(grpc_channel *channel, grpc_connectivity_state last_observed_state, gpr_timespec deadline, grpc_completion_queue *cq, void *tag)
Watch for a change in connectivity state.
-
GRPCAPI void * grpc_channel_register_call(grpc_channel *channel, const char *method, const char *host, void *reserved)
Pre-register a method/host pair on a channel.
-
GRPCAPI void * grpc_call_arena_alloc(grpc_call *call, size_t size)
Allocate memory in the grpc_call arena: this memory is automatically discarded at call completion...
-
GRPCAPI grpc_server * grpc_server_create(const grpc_channel_args *args, void *reserved)
Create a server.
-
-
GRPCAPI int grpc_header_nonbin_value_is_legal(grpc_slice slice)
Check whether a non-binary metadata value is legal (will be accepted by core)
-
-
Information requested from the channel.
Definition: grpc_types.h:668
-
GRPCAPI void grpc_call_unref(grpc_call *call)
Unref a call.
-
GRPCAPI int grpc_header_key_is_legal(grpc_slice slice)
Check whether a metadata key is legal (will be accepted by core)
-
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:677
-
GRPCAPI void grpc_resource_quota_set_max_threads(grpc_resource_quota *resource_quota, int new_max_threads)
Update the size of the maximum number of threads allowed.
-
Analogous to struct timespec.
Definition: gpr_types.h:47
-
GRPCAPI grpc_event grpc_completion_queue_pluck(grpc_completion_queue *cq, void *tag, gpr_timespec deadline, void *reserved)
Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline...
-
GRPCAPI void grpc_census_call_set_context(grpc_call *call, struct census_context *context)
Set census context for a call; Must be called before first call to grpc_call_start_batch().
-
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_pluck(void *reserved)
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_PLUCK and grpc_c...
-
GRPCAPI void grpc_completion_queue_thread_local_cache_init(grpc_completion_queue *cq)
Initializes a thread local cache for cq.
-
GRPCAPI grpc_call_error grpc_server_request_registered_call(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)
Request notification of a new pre-registered call.
-
struct grpc_completion_queue grpc_completion_queue
Completion Queues enable notification of the completion of asynchronous actions.
Definition: grpc_types.h:56
-
GRPCAPI char * grpc_channelz_get_server_sockets(intptr_t server_id, intptr_t start_socket_id, intptr_t max_results)
-
grpc_status_code
Definition: status.h:26
-
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues...
Definition: grpc_types.h:722
-
GRPCAPI int grpc_completion_queue_thread_local_cache_flush(grpc_completion_queue *cq, void **tag, int *ok)
Flushes the thread local cache for cq.
-
GRPCAPI int grpc_tracer_set_enabled(const char *name, int enabled)
Enable or disable a tracer.
-
GRPCAPI void grpc_register_plugin(void(*init)(void), void(*destroy)(void))
Registers a plugin to be initialized and destroyed with the library.
-
GRPCAPI void grpc_resource_quota_resize(grpc_resource_quota *resource_quota, size_t new_size)
Update the size of a buffer pool.
-
-
GRPCAPI const char * grpc_call_error_to_string(grpc_call_error error)
Convert grpc_call_error values to a string.
-
GRPCAPI int grpc_channel_support_connectivity_watcher(grpc_channel *channel)
Check whether a grpc channel supports connectivity watcher.
-
GRPCAPI char * grpc_channelz_get_socket(intptr_t socket_id)
-
struct census_context census_context
A Census Context is a handle used by Census to represent the current tracing and stats collection inf...
Definition: census.h:34
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
156 #define GRPC_MAX_COMPLETION_QUEUE_PLUCKERS 6
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
225 void * tag,
void * reserved);
+
+
+
231 const char * method,
const char * host,
+
+
+
+
+
+
+
+
+
+
+
266 const grpc_op * ops,
size_t nops,
+
267 void * tag,
void * reserved);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
317 const char * target,
grpc_status_code error_code,
const char * error_message);
+
+
+
+
+
+
+
+
347 const char * description,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
388 grpc_server * server,
const char * method,
const char * host,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
521 intptr_t start_socket_id,
+
522 intptr_t max_results);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
GRPCAPI char * grpc_channelz_get_top_channels(intptr_t start_channel_id)
Channelz is under active development.
+
struct census_context census_context
A Census Context is a handle used by Census to represent the current tracing and stats collection inf...
Definition: census.h:34
+
Don't try to read the payload.
Definition: grpc.h:375
+
GRPCAPI int grpc_channel_support_connectivity_watcher(grpc_channel *channel)
Check whether a grpc channel supports connectivity watcher.
+
grpc_call_error
Result of a grpc call.
Definition: grpc_types.h:426
+
GRPCAPI grpc_call_error grpc_call_cancel(grpc_call *call, void *reserved)
Error handling for grpc_call Most grpc_call functions return a grpc_error.
+
GRPCAPI void grpc_call_details_destroy(grpc_call_details *details)
+
GRPCAPI void grpc_call_details_init(grpc_call_details *details)
+
GRPCAPI void * grpc_call_arena_alloc(grpc_call *call, size_t size)
Allocate memory in the grpc_call arena: this memory is automatically discarded at call completion.
+
GRPCAPI void grpc_channel_get_info(grpc_channel *channel, const grpc_channel_info *channel_info)
Request info about the channel.
+
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_callback(grpc_experimental_completion_queue_functor *shutdown_callback, void *reserved)
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_CALLBACK and grp...
+
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_pluck(void *reserved)
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_PLUCK and grpc_c...
+
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:696
+
GRPCAPI void grpc_channel_reset_connect_backoff(grpc_channel *channel)
EXPERIMENTAL.
+
GRPCAPI void grpc_shutdown_blocking(void)
EXPERIMENTAL.
+
GRPCAPI void grpc_census_call_set_context(grpc_call *call, struct census_context *context)
Set census context for a call; Must be called before first call to grpc_call_start_batch().
+
GRPCAPI int grpc_header_key_is_legal(grpc_slice slice)
Check whether a metadata key is legal (will be accepted by core)
+
GRPCAPI char * grpc_call_get_peer(grpc_call *call)
Returns a newly allocated string representing the endpoint to which this call is communicating with.
+
+
Definition: grpc_types.h:554
+
GRPCAPI char * grpc_channelz_get_server(intptr_t server_id)
+
GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state(grpc_channel *channel, int try_to_connect)
Check the connectivity state of a channel.
+
GRPCAPI grpc_channel * grpc_lame_client_channel_create(const char *target, grpc_status_code error_code, const char *error_message)
Create a lame client: this client fails every operation attempted on it.
+
GRPCAPI int grpc_completion_queue_thread_local_cache_flush(grpc_completion_queue *cq, void **tag, int *ok)
Flushes the thread local cache for cq.
+
+
GRPCAPI grpc_server * grpc_server_create(const grpc_channel_args *args, void *reserved)
Create a server.
+
GRPCAPI char * grpc_channel_get_target(grpc_channel *channel)
Return a newly allocated string representing the target a channel was created for.
+
GRPCAPI void grpc_server_register_completion_queue(grpc_server *server, grpc_completion_queue *cq, void *reserved)
Register a completion queue with the server.
+
GRPCAPI grpc_resource_quota * grpc_resource_quota_create(const char *trace_name)
Create a buffer pool.
+
GRPCAPI grpc_call_error grpc_server_request_registered_call(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)
Request notification of a new pre-registered call.
+
GRPCAPI void grpc_call_ref(grpc_call *call)
Ref a call.
+
GRPCAPI grpc_completion_queue * grpc_completion_queue_create(const grpc_completion_queue_factory *factory, const grpc_completion_queue_attributes *attributes, void *reserved)
Create a completion queue.
+
Definition: grpc_types.h:85
+
An array of arguments that can be passed around.
Definition: grpc_types.h:132
+
grpc_server_register_method_payload_handling
How to handle payloads for a registered method.
Definition: grpc.h:373
+
GRPCAPI char * grpc_channelz_get_servers(intptr_t start_server_id)
+
GRPCAPI void * grpc_channel_register_call(grpc_channel *channel, const char *method, const char *host, void *reserved)
Pre-register a method/host pair on a channel.
+
+
GRPCAPI int grpc_header_nonbin_value_is_legal(grpc_slice slice)
Check whether a non-binary metadata value is legal (will be accepted by core)
+
GRPCAPI void grpc_metadata_array_destroy(grpc_metadata_array *array)
+
GRPCAPI void grpc_completion_queue_thread_local_cache_init(grpc_completion_queue *cq)
Initializes a thread local cache for cq.
+
GRPCAPI grpc_call_error grpc_server_request_call(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)
Request notification of a new call.
+
const GRPCAPI char * grpc_version_string(void)
Return a string representing the current version of grpc.
+
GRPCAPI char * grpc_channelz_get_socket(intptr_t socket_id)
+
GRPCAPI int grpc_channel_num_external_connectivity_watchers(grpc_channel *channel)
Number of active "external connectivity state watchers" attached to a channel.
+
GRPCAPI grpc_channel * grpc_insecure_channel_create(const char *target, const grpc_channel_args *args, void *reserved)
Create a client channel to 'target'.
+
GRPCAPI void grpc_resource_quota_set_max_threads(grpc_resource_quota *resource_quota, int new_max_threads)
Update the size of the maximum number of threads allowed.
+
const GRPCAPI grpc_arg_pointer_vtable * grpc_resource_quota_arg_vtable(void)
Fetch a vtable for a grpc_channel_arg that points to a grpc_resource_quota.
+
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues.
Definition: grpc_types.h:741
+
const GRPCAPI grpc_completion_queue_factory * grpc_completion_queue_factory_lookup(const grpc_completion_queue_attributes *attributes)
Returns the completion queue factory based on the attributes.
+
GRPCAPI void grpc_call_unref(grpc_call *call)
Unref a call.
+
The result of an operation.
Definition: grpc_types.h:533
+
grpc_connectivity_state
Connectivity state of a channel.
Definition: connectivity_state.h:27
+
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
+
Definition: grpc_types.h:40
+
+
GRPCAPI char * grpc_channelz_get_subchannel(intptr_t subchannel_id)
+
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments)
Definition: grpc_types.h:609
+
+
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1].
Definition: slice.h:60
+
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
+
GRPCAPI void grpc_server_destroy(grpc_server *server)
Destroy a server.
+
GRPCAPI void grpc_register_plugin(void(*init)(void), void(*destroy)(void))
Registers a plugin to be initialized and destroyed with the library.
+
Definition: grpc_types.h:761
+
+
GRPCAPI void grpc_server_cancel_all_calls(grpc_server *server)
Cancel all in-progress calls.
+
GRPCAPI grpc_call * grpc_channel_create_registered_call(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)
Create a call given a handle returned from grpc_channel_register_call.
+
struct grpc_completion_queue_factory grpc_completion_queue_factory
The completion queue factory structure is opaque to the callers of grpc.
Definition: grpc_types.h:781
+
GRPCAPI grpc_call * grpc_channel_create_call(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)
Create a call given a grpc_channel, in order to call 'method'.
+
GRPCAPI char * grpc_channelz_get_channel(intptr_t channel_id)
+
GRPCAPI grpc_event grpc_completion_queue_pluck(grpc_completion_queue *cq, void *tag, gpr_timespec deadline, void *reserved)
Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline...
+
GRPCAPI int grpc_is_initialized(void)
EXPERIMENTAL.
+
GRPCAPI void grpc_resource_quota_resize(grpc_resource_quota *resource_quota, size_t new_size)
Update the size of a buffer pool.
+
GRPCAPI void grpc_completion_queue_destroy(grpc_completion_queue *cq)
Destroy a completion queue.
+
GRPCAPI void grpc_resource_quota_unref(grpc_resource_quota *resource_quota)
Drop a reference to a buffer pool.
+
GRPCAPI char * grpc_channelz_get_server_sockets(intptr_t server_id, intptr_t start_socket_id, intptr_t max_results)
+
grpc_status_code
Definition: status.h:26
+
GRPCAPI void grpc_server_shutdown_and_notify(grpc_server *server, grpc_completion_queue *cq, void *tag)
Begin shutting down a server.
+
GRPCAPI int grpc_is_binary_header(grpc_slice slice)
Check whether a metadata key corresponds to a binary value.
+
struct grpc_completion_queue grpc_completion_queue
Completion Queues enable notification of the completion of asynchronous actions.
Definition: grpc_types.h:56
+
GRPCAPI grpc_event grpc_completion_queue_next(grpc_completion_queue *cq, gpr_timespec deadline, void *reserved)
Blocks until an event is available, the completion queue is being shut down, or deadline is reached.
+
GRPCAPI void grpc_completion_queue_shutdown(grpc_completion_queue *cq)
Begin destruction of a completion queue.
+
GRPCAPI void grpc_channel_destroy(grpc_channel *channel)
Close and destroy a grpc channel.
+
const GRPCAPI char * grpc_call_error_to_string(grpc_call_error error)
Convert grpc_call_error values to a string.
+
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
+
+
GRPCAPI void grpc_channel_watch_connectivity_state(grpc_channel *channel, grpc_connectivity_state last_observed_state, gpr_timespec deadline, grpc_completion_queue *cq, void *tag)
Watch for a change in connectivity state.
+
GRPCAPI int grpc_server_add_insecure_http2_port(grpc_server *server, const char *addr)
Add a HTTP2 over plaintext over tcp listener.
+
Read the initial payload as a byte buffer.
Definition: grpc.h:377
+
GRPCAPI int grpc_tracer_set_enabled(const char *name, int enabled)
Enable or disable a tracer.
+
GRPCAPI void grpc_resource_quota_ref(grpc_resource_quota *resource_quota)
Add a reference to a buffer pool.
+
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_next(void *reserved)
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_NEXT and grpc_cq...
+
GRPCAPI struct census_context * grpc_census_call_get_context(grpc_call *call)
Retrieve the calls current census context.
+
Analogous to struct timespec.
Definition: gpr_types.h:47
+
GRPCAPI void grpc_channel_ping(grpc_channel *channel, grpc_completion_queue *cq, void *tag, void *reserved)
Ping the channels peer (load balanced channels will select one sub-channel to ping); if the channel i...
+
GRPCAPI void grpc_init(void)
Initialize the grpc library.
+
GRPCAPI void grpc_server_start(grpc_server *server)
Start a server - tells all listeners to start listening.
+
const GRPCAPI char * grpc_g_stands_for(void)
Return a string specifying what the 'g' in gRPC stands for.
+
+
Information requested from the channel.
Definition: grpc_types.h:687
+
GRPCAPI grpc_call_error grpc_call_start_batch(grpc_call *call, const grpc_op *ops, size_t nops, void *tag, void *reserved)
Start a batch of operations defined in the array ops; when complete, post a completion of type 'tag' ...
+
GRPCAPI void grpc_shutdown(void)
Shut down the grpc library.
+
GRPCAPI grpc_call_error grpc_call_cancel_with_status(grpc_call *call, grpc_status_code status, const char *description, void *reserved)
Cancel an RPC.
+
+
GRPCAPI void grpc_metadata_array_init(grpc_metadata_array *array)
+
GRPCAPI void * grpc_server_register_method(grpc_server *server, const char *method, const char *host, grpc_server_register_method_payload_handling payload_handling, uint32_t flags)
Registers a method in the server.
+
diff --git a/core/grpc__posix_8h.html b/core/grpc__posix_8h.html
index 49aa097491c..f88ea6bfbeb 100644
--- a/core/grpc__posix_8h.html
+++ b/core/grpc__posix_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc_posix.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -163,9 +166,9 @@ Functions
diff --git a/core/grpc__posix_8h_source.html b/core/grpc__posix_8h_source.html
index 1dad4f7fa8f..67868786ba5 100644
--- a/core/grpc__posix_8h_source.html
+++ b/core/grpc__posix_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc_posix.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
grpc_posix.h
-
Go to the documentation of this file. 19 #ifndef GRPC_GRPC_POSIX_H 20 #define GRPC_GRPC_POSIX_H 53 void * reserved,
int fd);
GRPCAPI grpc_channel * grpc_insecure_channel_create_from_fd(const char *target, int fd, const grpc_channel_args *args)
Create a client channel to 'target' using file descriptor 'fd'.
-
An array of arguments that can be passed around.
Definition: grpc_types.h:132
-
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
-
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
-
-
GRPCAPI void grpc_server_add_insecure_channel_from_fd(grpc_server *server, void *reserved, int fd)
Add the connected communication channel based on file descriptor 'fd' to the 'server'.
-
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_GRPC_POSIX_H
+
20 #define GRPC_GRPC_POSIX_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
53 void * reserved,
int fd);
+
+
+
+
+
+
+
An array of arguments that can be passed around.
Definition: grpc_types.h:132
+
+
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
+
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
+
+
GRPCAPI void grpc_server_add_insecure_channel_from_fd(grpc_server *server, void *reserved, int fd)
Add the connected communication channel based on file descriptor 'fd' to the 'server'.
+
GRPCAPI grpc_channel * grpc_insecure_channel_create_from_fd(const char *target, int fd, const grpc_channel_args *args)
Create a client channel to 'target' using file descriptor 'fd'.
+
diff --git a/core/grpc__release__schedule_8md.html b/core/grpc__release__schedule_8md.html
index 5a1ff174776..9b3e5ab9c14 100644
--- a/core/grpc__release__schedule_8md.html
+++ b/core/grpc__release__schedule_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/grpc_release_schedule.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/grpc__security_8h.html b/core/grpc__security_8h.html
index ac4254e7ef1..11949c004f4 100644
--- a/core/grpc__security_8h.html
+++ b/core/grpc__security_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc_security.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
Object that holds a private key / certificate chain pair in PEM format. More...
struct verify_peer_options
-
Deprecated in favor of grpc_ssl_verify_peer_options . More...
+
Deprecated in favor of grpc_ssl_verify_peer_options . More...
struct grpc_ssl_verify_peer_options
Object that holds additional peer-verification options on a secure channel. More...
@@ -117,267 +120,270 @@ Data Structures
#define GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX 4
-
Maximum number of metadata entries returnable by a credentials plugin via a synchronous return. More...
+
Maximum number of metadata entries returnable by a credentials plugin via a synchronous return. More...
typedef struct grpc_auth_context grpc_auth_context
- — Authentication Context. More...
+ — Authentication Context. More...
typedef struct grpc_auth_property_iterator grpc_auth_property_iterator
typedef struct grpc_auth_property grpc_auth_property
- value, if not NULL, is guaranteed to be NULL terminated. More...
+ value, if not NULL, is guaranteed to be NULL terminated. More...
typedef struct grpc_ssl_session_cache grpc_ssl_session_cache
- — SSL Session Cache. More...
+ — SSL Session Cache. More...
typedef struct grpc_channel_credentials grpc_channel_credentials
- — grpc_channel_credentials object. More...
+ — grpc_channel_credentials object. More...
typedef grpc_ssl_roots_override_result (* grpc_ssl_roots_override_callback ) (char **pem_root_certs)
- Callback for getting the SSL roots override from the application. More...
+ Callback for getting the SSL roots override from the application. More...
typedef struct grpc_call_credentials grpc_call_credentials
- — grpc_call_credentials object. More...
+ — grpc_call_credentials object. More...
typedef void(* grpc_credentials_plugin_metadata_cb ) (void *user_data, const grpc_metadata *creds_md, size_t num_creds_md, grpc_status_code status, const char *error_details)
- Callback function to be called by the metadata credentials plugin implementation when the metadata is ready. More...
+ Callback function to be called by the metadata credentials plugin implementation when the metadata is ready. More...
typedef struct grpc_server_credentials grpc_server_credentials
- — grpc_server_credentials object. More...
+ — grpc_server_credentials object. More...
typedef struct grpc_ssl_server_certificate_config grpc_ssl_server_certificate_config
- Server certificate config object holds the server's public certificates and associated private keys, as well as any CA certificates needed for client certificate validation (if applicable). More...
+ Server certificate config object holds the server's public certificates and associated private keys, as well as any CA certificates needed for client certificate validation (if applicable). More...
typedef grpc_ssl_certificate_config_reload_status (* grpc_ssl_server_certificate_config_callback ) (void *user_data, grpc_ssl_server_certificate_config **config)
- Callback to retrieve updated SSL server certificates, private keys, and trusted CAs (for client authentication). More...
+ Callback to retrieve updated SSL server certificates, private keys, and trusted CAs (for client authentication). More...
typedef struct grpc_ssl_server_credentials_options grpc_ssl_server_credentials_options
typedef void(* grpc_process_auth_metadata_done_cb ) (void *user_data, const grpc_metadata *consumed_md, size_t num_consumed_md, const grpc_metadata *response_md, size_t num_response_md, grpc_status_code status, const char *error_details)
- — Auth Metadata Processing — More...
+ — Auth Metadata Processing — More...
typedef struct grpc_alts_credentials_options grpc_alts_credentials_options
- — ALTS channel/server credentials — More...
+ — ALTS channel/server credentials — More...
typedef struct grpc_tls_key_materials_config grpc_tls_key_materials_config
- — SPIFFE and HTTPS-based TLS channel/server credentials — It is used for experimental purpose for now and subject to change. More...
+ — TLS channel/server credentials — It is used for experimental purpose for now and subject to change. More...
typedef struct grpc_tls_credential_reload_config grpc_tls_credential_reload_config
- Config for TLS credential reload. More...
+ Config for TLS credential reload. More...
typedef struct grpc_tls_server_authorization_check_config grpc_tls_server_authorization_check_config
- Config for TLS server authorization check. More...
+ Config for TLS server authorization check. More...
typedef struct grpc_tls_credentials_options grpc_tls_credentials_options
- TLS credentials options. More...
+ TLS credentials options. More...
typedef struct grpc_tls_credential_reload_arg grpc_tls_credential_reload_arg
- — TLS credential reload config. More...
+ — TLS credential reload config. More...
typedef void(* grpc_tls_on_credential_reload_done_cb ) (grpc_tls_credential_reload_arg *arg)
- A callback function provided by gRPC to handle the result of credential reload. More...
+ A callback function provided by gRPC to handle the result of credential reload. More...
typedef struct grpc_tls_server_authorization_check_arg grpc_tls_server_authorization_check_arg
- — TLS server authorization check config. More...
+ — TLS server authorization check config. More...
typedef void(* grpc_tls_on_server_authorization_check_done_cb ) (grpc_tls_server_authorization_check_arg *arg)
- callback function provided by gRPC used to handle the result of server authorization check. More...
+ callback function provided by gRPC used to handle the result of server authorization check. More...
-GRPCAPI const grpc_auth_property * grpc_auth_property_iterator_next (grpc_auth_property_iterator *it)
- Returns NULL when the iterator is at the end. More...
-
+const GRPCAPI grpc_auth_property * grpc_auth_property_iterator_next (grpc_auth_property_iterator *it)
+ Returns NULL when the iterator is at the end. More...
+
GRPCAPI grpc_auth_property_iterator grpc_auth_context_property_iterator (const grpc_auth_context *ctx)
- Iterates over the auth context. More...
+ Iterates over the auth context. More...
GRPCAPI grpc_auth_property_iterator grpc_auth_context_peer_identity (const grpc_auth_context *ctx)
- Gets the peer identity. More...
+ Gets the peer identity. More...
GRPCAPI grpc_auth_property_iterator grpc_auth_context_find_properties_by_name (const grpc_auth_context *ctx, const char *name)
- Finds a property in the context. More...
+ Finds a property in the context. More...
-GRPCAPI const char * grpc_auth_context_peer_identity_property_name (const grpc_auth_context *ctx)
- Gets the name of the property that indicates the peer identity. More...
-
+const GRPCAPI char * grpc_auth_context_peer_identity_property_name (const grpc_auth_context *ctx)
+ Gets the name of the property that indicates the peer identity. More...
+
GRPCAPI int grpc_auth_context_peer_is_authenticated (const grpc_auth_context *ctx)
- Returns 1 if the peer is authenticated, 0 otherwise. More...
+ Returns 1 if the peer is authenticated, 0 otherwise. More...
GRPCAPI grpc_auth_context * grpc_call_auth_context (grpc_call *call)
- Gets the auth context from the call. More...
+ Gets the auth context from the call. More...
GRPCAPI void grpc_auth_context_release (grpc_auth_context *context)
- Releases the auth context returned from grpc_call_auth_context. More...
+ Releases the auth context returned from grpc_call_auth_context. More...
GRPCAPI void grpc_auth_context_add_property (grpc_auth_context *ctx, const char *name, const char *value, size_t value_length)
- – The following auth context methods should only be called by a server metadata processor to set properties extracted from auth metadata. More...
+ – The following auth context methods should only be called by a server metadata More...
GRPCAPI void grpc_auth_context_add_cstring_property (grpc_auth_context *ctx, const char *name, const char *value)
- Add a C string property. More...
+ Add a C string property. More...
GRPCAPI int grpc_auth_context_set_peer_identity_property_name (grpc_auth_context *ctx, const char *name)
- Sets the property name. More...
+ Sets the property name. More...
GRPCAPI grpc_ssl_session_cache * grpc_ssl_session_cache_create_lru (size_t capacity)
- Create LRU cache for client-side SSL sessions with the given capacity. More...
+ Create LRU cache for client-side SSL sessions with the given capacity. More...
GRPCAPI void grpc_ssl_session_cache_destroy (grpc_ssl_session_cache *cache)
- Destroy SSL session cache. More...
+ Destroy SSL session cache. More...
GRPCAPI grpc_arg grpc_ssl_session_cache_create_channel_arg (grpc_ssl_session_cache *cache)
- Create a channel arg with the given cache object. More...
+ Create a channel arg with the given cache object. More...
GRPCAPI void grpc_channel_credentials_release (grpc_channel_credentials *creds)
- Releases a channel credentials object. More...
+ Releases a channel credentials object. More...
GRPCAPI grpc_channel_credentials * grpc_google_default_credentials_create (void)
- Creates default credentials to connect to a google gRPC service. More...
+ Creates default credentials to connect to a google gRPC service. More...
GRPCAPI void grpc_set_ssl_roots_override_callback (grpc_ssl_roots_override_callback cb)
- Setup a callback to override the default TLS/SSL roots. More...
+ Setup a callback to override the default TLS/SSL roots. More...
GRPCAPI grpc_channel_credentials * grpc_ssl_credentials_create (const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair, const verify_peer_options *verify_options, void *reserved)
- Deprecated in favor of grpc_ssl_server_credentials_create_ex. More...
+ Deprecated in favor of grpc_ssl_server_credentials_create_ex. More...
GRPCAPI grpc_channel_credentials * grpc_ssl_credentials_create_ex (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)
GRPCAPI void grpc_call_credentials_release (grpc_call_credentials *creds)
- Releases a call credentials object. More...
+ Releases a call credentials object. More...
GRPCAPI grpc_channel_credentials * grpc_composite_channel_credentials_create (grpc_channel_credentials *channel_creds, grpc_call_credentials *call_creds, void *reserved)
- Creates a composite channel credentials object. More...
+ Creates a composite channel credentials object. More...
GRPCAPI grpc_call_credentials * grpc_composite_call_credentials_create (grpc_call_credentials *creds1, grpc_call_credentials *creds2, void *reserved)
- Creates a composite call credentials object. More...
+ Creates a composite call credentials object. More...
GRPCAPI grpc_call_credentials * grpc_google_compute_engine_credentials_create (void *reserved)
- Creates a compute engine credentials object for connecting to Google. More...
+ Creates a compute engine credentials object for connecting to Google. More...
GRPCAPI gpr_timespec grpc_max_auth_token_lifetime (void)
GRPCAPI grpc_call_credentials * grpc_service_account_jwt_access_credentials_create (const char *json_key, gpr_timespec token_lifetime, void *reserved)
- Creates a JWT credentials object. More...
+ Creates a JWT credentials object. More...
GRPCAPI grpc_call_credentials * grpc_google_refresh_token_credentials_create (const char *json_refresh_token, void *reserved)
- Creates an Oauth2 Refresh Token credentials object for connecting to Google. More...
+ Creates an Oauth2 Refresh Token credentials object for connecting to Google. More...
GRPCAPI grpc_call_credentials * grpc_access_token_credentials_create (const char *access_token, void *reserved)
- Creates an Oauth2 Access Token credentials with an access token that was acquired by an out of band mechanism. More...
+ Creates an Oauth2 Access Token credentials with an access token that was acquired by an out of band mechanism. More...
GRPCAPI grpc_call_credentials * grpc_google_iam_credentials_create (const char *authorization_token, const char *authority_selector, void *reserved)
- Creates an IAM credentials object for connecting to Google. More...
+ Creates an IAM credentials object for connecting to Google. More...
GRPCAPI grpc_call_credentials * grpc_sts_credentials_create (const grpc_sts_credentials_options *options, void *reserved)
- Creates an STS credentials following the STS Token Exchanged specifed in the IETF draft https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 . More...
+ Creates an STS credentials following the STS Token Exchanged specifed in the IETF draft https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 . More...
-GRPCAPI grpc_call_credentials * grpc_metadata_credentials_create_from_plugin (grpc_metadata_credentials_plugin plugin, void *reserved)
- Creates a credentials object from a plugin. More...
-
+GRPCAPI grpc_call_credentials * grpc_metadata_credentials_create_from_plugin (grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void *reserved)
+ Creates a credentials object from a plugin with a specified minimum security level. More...
+
GRPCAPI grpc_channel * grpc_secure_channel_create (grpc_channel_credentials *creds, const char *target, const grpc_channel_args *args, void *reserved)
- — Secure channel creation. More...
+ — Secure channel creation. More...
GRPCAPI void grpc_server_credentials_release (grpc_server_credentials *creds)
- Releases a server_credentials object. More...
+ Releases a server_credentials object. More...
GRPCAPI grpc_ssl_server_certificate_config * grpc_ssl_server_certificate_config_create (const char *pem_root_certs, const grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs)
- Creates a grpc_ssl_server_certificate_config object. More...
+ Creates a grpc_ssl_server_certificate_config object. More...
GRPCAPI void grpc_ssl_server_certificate_config_destroy (grpc_ssl_server_certificate_config *config)
- Destroys a grpc_ssl_server_certificate_config object. More...
+ Destroys a grpc_ssl_server_certificate_config object. More...
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create (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)
- Deprecated in favor of grpc_ssl_server_credentials_create_ex. More...
+ Deprecated in favor of grpc_ssl_server_credentials_create_ex. More...
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create_ex (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)
- Deprecated in favor of grpc_ssl_server_credentials_create_with_options. More...
+ Deprecated in favor of grpc_ssl_server_credentials_create_with_options. More...
GRPCAPI grpc_ssl_server_credentials_options * grpc_ssl_server_credentials_create_options_using_config (grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config *certificate_config)
- Creates an options object using a certificate config. More...
+ Creates an options object using a certificate config. More...
GRPCAPI grpc_ssl_server_credentials_options * grpc_ssl_server_credentials_create_options_using_config_fetcher (grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void *user_data)
- Creates an options object using a certificate config fetcher. More...
+ Creates an options object using a certificate config fetcher. More...
GRPCAPI void grpc_ssl_server_credentials_options_destroy (grpc_ssl_server_credentials_options *options)
- Destroys a grpc_ssl_server_credentials_options object. More...
+ Destroys a grpc_ssl_server_credentials_options object. More...
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create_with_options (grpc_ssl_server_credentials_options *options)
- Creates an SSL server_credentials object using the provided options struct. More...
+ Creates an SSL server_credentials object using the provided options struct. More...
GRPCAPI int grpc_server_add_secure_http2_port (grpc_server *server, const char *addr, grpc_server_credentials *creds)
- — Server-side secure ports. More...
+ — Server-side secure ports. More...
GRPCAPI grpc_call_error grpc_call_set_credentials (grpc_call *call, grpc_call_credentials *creds)
- — Call specific credentials. More...
+ — Call specific credentials. More...
GRPCAPI void grpc_server_credentials_set_auth_metadata_processor (grpc_server_credentials *creds, grpc_auth_metadata_processor processor)
GRPCAPI grpc_alts_credentials_options * grpc_alts_credentials_client_options_create (void)
- This method creates a grpc ALTS credentials client options instance. More...
+ This method creates a grpc ALTS credentials client options instance. More...
GRPCAPI grpc_alts_credentials_options * grpc_alts_credentials_server_options_create (void)
- This method creates a grpc ALTS credentials server options instance. More...
+ This method creates a grpc ALTS credentials server options instance. More...
GRPCAPI void grpc_alts_credentials_client_options_add_target_service_account (grpc_alts_credentials_options *options, const char *service_account)
- This method adds a target service account to grpc client's ALTS credentials options instance. More...
+ This method adds a target service account to grpc client's ALTS credentials options instance. More...
GRPCAPI void grpc_alts_credentials_options_destroy (grpc_alts_credentials_options *options)
- This method destroys a grpc_alts_credentials_options instance by de-allocating all of its occupied memory. More...
+ This method destroys a grpc_alts_credentials_options instance by de-allocating all of its occupied memory. More...
GRPCAPI grpc_channel_credentials * grpc_alts_credentials_create (const grpc_alts_credentials_options *options)
- This method creates an ALTS channel credential object. More...
+ This method creates an ALTS channel credential object. More...
GRPCAPI grpc_server_credentials * grpc_alts_server_credentials_create (const grpc_alts_credentials_options *options)
- This method creates an ALTS server credential object. More...
+ This method creates an ALTS server credential object. More...
GRPCAPI grpc_channel_credentials * grpc_local_credentials_create (grpc_local_connect_type type)
- — Local channel/server credentials — More...
+ — Local channel/server credentials — More...
GRPCAPI grpc_server_credentials * grpc_local_server_credentials_create (grpc_local_connect_type type)
- This method creates a local server credential object. More...
+ This method creates a local server credential object. More...
GRPCAPI grpc_tls_credentials_options * grpc_tls_credentials_options_create (void)
- Create an empty TLS credentials options. More...
+ Create an empty TLS credentials options. More...
GRPCAPI int grpc_tls_credentials_options_set_cert_request_type (grpc_tls_credentials_options *options, grpc_ssl_client_certificate_request_type type)
- Set grpc_ssl_client_certificate_request_type field in credentials options with the provided type. More...
+ Set grpc_ssl_client_certificate_request_type field in credentials options with the provided type. More...
+GRPCAPI int grpc_tls_credentials_options_set_server_verification_option (grpc_tls_credentials_options *options, grpc_tls_server_verification_option server_verification_option)
+ Set grpc_tls_server_verification_option field in credentials options with the provided server_verification_option. More...
+
GRPCAPI int grpc_tls_credentials_options_set_key_materials_config (grpc_tls_credentials_options *options, grpc_tls_key_materials_config *config)
- Set grpc_tls_key_materials_config field in credentials options with the provided config struct whose ownership is transferred. More...
+ Set grpc_tls_key_materials_config field in credentials options with the provided config struct whose ownership is transferred. More...
GRPCAPI int grpc_tls_credentials_options_set_credential_reload_config (grpc_tls_credentials_options *options, grpc_tls_credential_reload_config *config)
- Set grpc_tls_credential_reload_config field in credentials options with the provided config struct whose ownership is transferred. More...
+ Set grpc_tls_credential_reload_config field in credentials options with the provided config struct whose ownership is transferred. More...
GRPCAPI int grpc_tls_credentials_options_set_server_authorization_check_config (grpc_tls_credentials_options *options, grpc_tls_server_authorization_check_config *config)
- Set grpc_tls_server_authorization_check_config field in credentials options with the provided config struct whose ownership is transferred. More...
+ Set grpc_tls_server_authorization_check_config field in credentials options with the provided config struct whose ownership is transferred. More...
GRPCAPI grpc_tls_key_materials_config * grpc_tls_key_materials_config_create (void)
- — TLS key materials config. More...
+ — TLS key materials config. More...
GRPCAPI int grpc_tls_key_materials_config_set_key_materials (grpc_tls_key_materials_config *config, const char *pem_root_certs, const grpc_ssl_pem_key_cert_pair **pem_key_cert_pairs, size_t num_key_cert_pairs)
- Set grpc_tls_key_materials_config instance with provided a TLS certificate. More...
+ Set grpc_tls_key_materials_config instance with provided a TLS certificate. More...
GRPCAPI int grpc_tls_key_materials_config_set_version (grpc_tls_key_materials_config *config, int version)
- Set grpc_tls_key_materials_config instance with a provided version number, which is used to keep track of the version of key materials. More...
+ Set grpc_tls_key_materials_config instance with a provided version number, which is used to keep track of the version of key materials. More...
GRPCAPI int grpc_tls_key_materials_config_get_version (grpc_tls_key_materials_config *config)
- Get the version number of a grpc_tls_key_materials_config instance. More...
+ Get the version number of a grpc_tls_key_materials_config instance. More...
GRPCAPI grpc_tls_credential_reload_config * grpc_tls_credential_reload_config_create (const void *config_user_data, int(*schedule)(void *config_user_data, grpc_tls_credential_reload_arg *arg), void(*cancel)(void *config_user_data, grpc_tls_credential_reload_arg *arg), void(*destruct)(void *config_user_data))
- Create a grpc_tls_credential_reload_config instance. More...
+ Create a grpc_tls_credential_reload_config instance. More...
GRPCAPI grpc_tls_server_authorization_check_config * grpc_tls_server_authorization_check_config_create (const void *config_user_data, int(*schedule)(void *config_user_data, grpc_tls_server_authorization_check_arg *arg), void(*cancel)(void *config_user_data, grpc_tls_server_authorization_check_arg *arg), void(*destruct)(void *config_user_data))
- Create a grpc_tls_server_authorization_check_config instance. More...
+ Create a grpc_tls_server_authorization_check_config instance. More...
-grpc_channel_credentials * grpc_tls_spiffe_credentials_create (grpc_tls_credentials_options *options)
- — SPIFFE channel/server credentials — More...
-
-grpc_server_credentials * grpc_tls_spiffe_server_credentials_create (grpc_tls_credentials_options *options)
- This method creates a TLS server credential object. More...
-
+grpc_channel_credentials * grpc_tls_credentials_create (grpc_tls_credentials_options *options)
+ This method creates a TLS channel credential object. More...
+
+grpc_server_credentials * grpc_tls_server_credentials_create (grpc_tls_credentials_options *options)
+ This method creates a TLS server credential object. More...
+
@@ -427,8 +433,8 @@ Functions
— Authentication Context.
-
-
+
—
+
@@ -474,7 +480,8 @@ Functions
— grpc_call_credentials object.
-
A call credentials object represents a way to authenticate on a particular call. These credentials can be composed with a channel credentials object so that they are sent with every call on this channel.
+
A call credentials object represents a way to authenticate on a particular call. These credentials can be composed with a channel credentials object so that they are sent with every call on this channel.
+
@@ -491,8 +498,9 @@ Functions
— grpc_channel_credentials object.
-
-
A channel credentials object represents a way to authenticate a client on a channel.
+
—
+
A channel credentials object represents a way to authenticate a client on a channel.
+
@@ -554,8 +562,9 @@ Functions
— grpc_server_credentials object.
-
-
A server credentials object represents a way to authenticate a server.
+
—
+
A server credentials object represents a way to authenticate a server.
+
@@ -589,7 +598,7 @@ Functions
@@ -641,7 +650,7 @@ Functions
— SSL Session Cache.
-
+
—
A SSL session cache object represents a way to cache client sessions between connections. Only ticket-based resumption is supported.
@@ -659,8 +668,7 @@ Functions
— TLS credential reload config.
-
-
It is used for experimental purpose for now and subject to change.
+
— It is used for experimental purpose for now and subject to change.
@@ -710,7 +718,7 @@ Functions
-
— SPIFFE and HTTPS-based TLS channel/server credentials — It is used for experimental purpose for now and subject to change.
+
— TLS channel/server credentials — It is used for experimental purpose for now and subject to change.
Config for TLS key materials. It is used for experimental purpose for now and subject to change.
@@ -762,8 +770,7 @@ Functions
— TLS server authorization check config.
-
-
It is used for experimental purpose for now and subject to change.
+
— It is used for experimental purpose for now and subject to change.
@@ -888,7 +895,7 @@ Functions
This method creates an ALTS channel credential object.
-
It is used for experimental purpose for now and subject to change.
+
The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY. It is used for experimental purpose for now and subject to change.
options: grpc ALTS credentials options instance for client.
@@ -1040,8 +1047,10 @@ Functions
-
– The following auth context methods should only be called by a server metadata processor to set properties extracted from auth metadata.
-
– Add a property.
+
– The following auth context methods should only be called by a server metadata
+
+processor to set properties extracted from auth metadata.
+
Add a property.
@@ -1097,14 +1106,14 @@ Functions
-
-◆ grpc_auth_context_peer_identity_property_name()
+
+◆ grpc_auth_context_peer_identity_property_name()
- GRPCAPI const char* grpc_auth_context_peer_identity_property_name
+ const GRPCAPI char* grpc_auth_context_peer_identity_property_name
(
const grpc_auth_context *
ctx )
@@ -1209,14 +1218,14 @@ Functions
-
-◆ grpc_auth_property_iterator_next()
+
+◆ grpc_auth_property_iterator_next()
- GRPCAPI const grpc_auth_property * grpc_auth_property_iterator_next
+ const GRPCAPI grpc_auth_property * grpc_auth_property_iterator_next
(
grpc_auth_property_iterator *
it )
@@ -1298,8 +1307,7 @@ Functions
— Call specific credentials.
-
-
Sets a credentials to a call. Can only be called on the client side before grpc_call_start_batch.
+
— Sets a credentials to a call. Can only be called on the client side before grpc_call_start_batch.
@@ -1393,6 +1401,7 @@ Functions
Creates a composite channel credentials object.
+
The security level of resulting connection is determined by channel_creds.
@@ -1434,7 +1443,7 @@ Functions
Creates default credentials to connect to a google gRPC service.
-
WARNING: Do NOT use this credentials to connect to a non-google service as this could result in an oauth2 token leak.
+
WARNING: Do NOT use this credentials to connect to a non-google service as this could result in an oauth2 token leak. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
@@ -1524,7 +1533,7 @@ Functions
— Local channel/server credentials —
-
This method creates a local channel credential object. It is used for experimental purpose for now and subject to change.
+
This method creates a local channel credential object. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY for UDS and GRPC_SECURITY_NONE for LOCAL_TCP. It is used for experimental purpose for now and subject to change.
type: local connection type
@@ -1575,8 +1584,8 @@ Functions
-
-◆ grpc_metadata_credentials_create_from_plugin()
+
+◆ grpc_metadata_credentials_create_from_plugin()
-
Creates a credentials object from a plugin.
+
Creates a credentials object from a plugin with a specified minimum security level.
@@ -1644,8 +1659,7 @@ Functions
— Secure channel creation.
-
-
Creates a secure channel using the passed-in credentials. Additional channel level configuration MAY be provided by grpc_channel_args , though the expectation is that most clients will want to simply pass NULL. The user data in 'args' need only live through the invocation of this function. However, if any args of the 'pointer' type are passed, then the referenced vtable must be maintained by the caller until grpc_channel_destroy terminates. See grpc_channel_args definition for more on this.
+
— Creates a secure channel using the passed-in credentials. Additional channel level configuration MAY be provided by grpc_channel_args , though the expectation is that most clients will want to simply pass NULL. The user data in 'args' need only live through the invocation of this function. However, if any args of the 'pointer' type are passed, then the referenced vtable must be maintained by the caller until grpc_channel_destroy terminates. See grpc_channel_args definition for more on this.
@@ -1682,8 +1696,7 @@ Functions
— Server-side secure ports.
-
-
Add a HTTP2 over an encrypted link over tcp listener. Returns bound port number on success, 0 on failure. REQUIRES: server not started
+
— Add a HTTP2 over an encrypted link over tcp listener. Returns bound port number on success, 0 on failure. REQUIRES: server not started
@@ -1771,7 +1784,8 @@ Functions
Creates a JWT credentials object.
May return NULL if the input is invalid.
json_key is the JSON key string containing the client's private key.
-token_lifetime is the lifetime of each Json Web Token (JWT) created with this credentials. It should not exceed grpc_max_auth_token_lifetime or will be cropped to this value.
+token_lifetime is the lifetime of each Json Web Token (JWT) created with this credentials. It should not exceed grpc_max_auth_token_lifetime or will be cropped to this value.
+
@@ -1836,12 +1850,12 @@ Functions
Deprecated in favor of grpc_ssl_server_credentials_create_ex.
-
It will be removed after all of its call sites are migrated to grpc_ssl_server_credentials_create_ex. Creates an SSL credentials object.
+It will be removed after all of its call sites are migrated to grpc_ssl_server_credentials_create_ex. Creates an SSL credentials object. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
pem_root_certs is the NULL-terminated string containing the PEM encoding of the server root certificates. If this parameter is NULL, the implementation will first try to dereference the file pointed by the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable, and if that fails, try to get the roots set by grpc_override_ssl_default_roots. Eventually, if all these fail, it will try to get the roots from a well-known place on disk (in the grpc install directory).
gRPC has implemented root cache if the underlying OpenSSL library supports it. The gRPC root certificates cache is only applicable on the default root certificates, which is used when this parameter is nullptr. If user provides their own pem_root_certs, when creating an SSL credential object, gRPC would not be able to cache it, and each subchannel will generate a copy of the root store. So it is recommended to avoid providing large room pem with pem_root_certs parameter to avoid excessive memory consumption, particularly on mobile platforms such as iOS.
pem_key_cert_pair is a pointer on the object containing client's private key and certificate chain. This parameter can be NULL if the client does not have such a key/cert pair.
-verify_options is an optional verify_peer_options object which holds additional options controlling how peer certificates are verified. For example, you can supply a callback which receives the peer's certificate with which you can do additional verification. Can be NULL, in which case verification will retain default behavior. Any settings in verify_options are copied during this call, so the verify_options object can be released afterwards.
+verify_options is an optional verify_peer_options object which holds additional options controlling how peer certificates are verified. For example, you can supply a callback which receives the peer's certificate with which you can do additional verification. Can be NULL, in which case verification will retain default behavior. Any settings in verify_options are copied during this call, so the verify_options object can be released afterwards.
@@ -1923,7 +1937,7 @@ Functions
pem_roots_cert is the NULL-terminated string containing the PEM encoding of the client root certificates. This parameter may be NULL if the server does not want the client to be authenticated with SSL.
pem_key_cert_pairs is an array private key / certificate chains of the server. This parameter cannot be NULL.
num_key_cert_pairs indicates the number of items in the private_key_files and cert_chain_files parameters. It must be at least 1.
-It is the caller's responsibility to free this object via grpc_ssl_server_certificate_config_destroy() .
+It is the caller's responsibility to free this object via grpc_ssl_server_certificate_config_destroy() .
@@ -2304,6 +2318,32 @@ Functions
destruct is a pointer to an application-provided callback used to clean up any data associated with the config. It is used for experimental purpose for now and subject to change.
+
+
+
+◆ grpc_tls_credentials_create()
+
+
+
+
+
This method creates a TLS channel credential object.
+
It takes ownership of the options parameter. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY.
+
+options: grpc TLS credentials options instance.
+
+
It returns the created credential object.
+
It is used for experimental purpose for now and subject to change.
+
@@ -2449,6 +2489,37 @@ Functions
Set grpc_tls_server_authorization_check_config field in credentials options with the provided config struct whose ownership is transferred.
Both parameters should not be NULL. It returns 1 on success and 0 on failure. It is used for experimental purpose for now and subject to change.
+
+
+
+◆ grpc_tls_credentials_options_set_server_verification_option()
+
+
+
+
+
Set grpc_tls_server_verification_option field in credentials options with the provided server_verification_option.
+
options should not be NULL. This should be called only on the client side. If grpc_tls_server_verification_option is not GRPC_TLS_SERVER_VERIFICATION, use of a customer server authorization check (grpc_tls_server_authorization_check_config) will be mandatory. It returns 1 on success and 0 on failure. It is used for experimental purpose for now and subject to change.
+
@@ -2468,8 +2539,7 @@ Functions
— TLS key materials config.
-
-
It is used for experimental purpose for now and subject to change. Create an empty grpc_tls_key_materials_config instance. It is used for experimental purpose for now and subject to change.
+
— It is used for experimental purpose for now and subject to change. Create an empty grpc_tls_key_materials_config instance. It is used for experimental purpose for now and subject to change.
@@ -2616,40 +2686,14 @@ Functions
-
-◆ grpc_tls_spiffe_credentials_create()
+
+◆ grpc_tls_server_credentials_create()
-
-
— SPIFFE channel/server credentials —
-
This method creates a TLS SPIFFE channel credential object. It takes ownership of the options parameter.
-
-options: grpc TLS credentials options instance.
-
-
It returns the created credential object.
-
It is used for experimental purpose for now and subject to change.
-
-
-
-
-◆ grpc_tls_spiffe_server_credentials_create()
-
-
-
-
-
- grpc_server_credentials * grpc_tls_spiffe_server_credentials_create
+ grpc_server_credentials * grpc_tls_server_credentials_create
(
grpc_tls_credentials_options *
options )
@@ -2671,9 +2715,9 @@ Functions
diff --git a/core/grpc__security_8h_source.html b/core/grpc__security_8h_source.html
index 2fff372771c..5057ed7f6c6 100644
--- a/core/grpc__security_8h_source.html
+++ b/core/grpc__security_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc_security.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
grpc_security.h
-
Go to the documentation of this file. 19 #ifndef GRPC_GRPC_SECURITY_H 20 #define GRPC_GRPC_SECURITY_H 90 const char *
name ,
const char * value,
145 char ** pem_root_certs);
177 int (*verify_peer_callback)(
const char * target_name,
const char * peer_pem,
185 void (*verify_peer_destruct)(
void * userdata);
197 int (*verify_peer_callback)(
const char * target_name,
const char * peer_pem,
205 void (*verify_peer_destruct)(
void * userdata);
319 const char * json_refresh_token,
void * reserved);
324 const char * access_token,
void * reserved);
328 const char * authorization_token,
const char * authority_selector,
368 void * user_data,
const grpc_metadata * creds_md,
size_t num_creds_md,
391 #define GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX 4 422 const char ** error_details);
425 void (*destroy)(
void * state);
481 const char * pem_root_certs,
483 size_t num_key_cert_pairs);
513 size_t num_key_cert_pairs,
int force_client_auth,
void * reserved);
521 size_t num_key_cert_pairs,
587 void * user_data,
const grpc_metadata * consumed_md,
size_t num_consumed_md,
600 void (*destroy)(
void * state);
779 size_t num_key_cert_pairs);
833 void (*destroy_context)(
void *
ctx );
858 const void * config_user_data,
859 int (*schedule)(
void * config_user_data,
862 void (*destruct)(
void * config_user_data));
909 void (*destroy_context)(
void *
ctx );
934 const void * config_user_data,
935 int (*schedule)(
void * config_user_data,
937 void (*cancel)(
void * config_user_data,
939 void (*destruct)(
void * config_user_data));
grpc_ssl_certificate_config_reload_status
Callback results for dynamically loading a SSL certificate config.
Definition: grpc_security_constants.h:53
-
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
-
const char * actor_token_path
Definition: grpc_security.h:345
-
GRPCAPI grpc_auth_property_iterator grpc_auth_context_find_properties_by_name(const grpc_auth_context *ctx, const char *name)
Finds a property in the context.
-
GRPCAPI void grpc_auth_context_add_cstring_property(grpc_auth_context *ctx, const char *name, const char *value)
Add a C string property.
-
grpc_tls_credential_reload_config * config
Definition: grpc_security.h:831
-
const char * peer_cert
Definition: grpc_security.h:904
-
GRPCAPI grpc_auth_property_iterator grpc_auth_context_property_iterator(const grpc_auth_context *ctx)
Iterates over the auth context.
-
size_t value_length
Definition: grpc_security.h:46
-
struct grpc_server_credentials grpc_server_credentials
— grpc_server_credentials object.
Definition: grpc_security.h:455
-
GRPCAPI grpc_call_error grpc_call_set_credentials(grpc_call *call, grpc_call_credentials *creds)
— Call specific credentials.
-
GRPCAPI grpc_ssl_session_cache * grpc_ssl_session_cache_create_lru(size_t capacity)
Create LRU cache for client-side SSL sessions with the given capacity.
-
GRPCAPI int grpc_tls_credentials_options_set_key_materials_config(grpc_tls_credentials_options *options, grpc_tls_key_materials_config *config)
Set grpc_tls_key_materials_config field in credentials options with the provided config struct whose ...
-
GRPCAPI int grpc_tls_credentials_options_set_cert_request_type(grpc_tls_credentials_options *options, grpc_ssl_client_certificate_request_type type)
Set grpc_ssl_client_certificate_request_type field in credentials options with the provided type...
-
struct grpc_tls_credential_reload_config grpc_tls_credential_reload_config
Config for TLS credential reload.
Definition: grpc_security.h:710
-
A struct containing all information necessary to schedule/cancel a server authorization check request...
Definition: grpc_security.h:899
-
struct grpc_ssl_session_cache grpc_ssl_session_cache
— SSL Session Cache.
Definition: grpc_security.h:108
-
An array of arguments that can be passed around.
Definition: grpc_types.h:132
-
char * value
Definition: grpc_security.h:45
-
GRPCAPI grpc_channel_credentials * grpc_composite_channel_credentials_create(grpc_channel_credentials *channel_creds, grpc_call_credentials *call_creds, void *reserved)
Creates a composite channel credentials object.
-
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
-
GRPCAPI grpc_channel_credentials * grpc_local_credentials_create(grpc_local_connect_type type)
— Local channel/server credentials —
-
GRPCAPI grpc_call_credentials * grpc_service_account_jwt_access_credentials_create(const char *json_key, gpr_timespec token_lifetime, void *reserved)
Creates a JWT credentials object.
-
GRPCAPI void grpc_server_credentials_set_auth_metadata_processor(grpc_server_credentials *creds, grpc_auth_metadata_processor processor)
-
GRPCAPI grpc_channel_credentials * grpc_ssl_credentials_create(const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair, const verify_peer_options *verify_options, void *reserved)
Deprecated in favor of grpc_ssl_server_credentials_create_ex.
-
-
GRPCAPI void grpc_ssl_server_certificate_config_destroy(grpc_ssl_server_certificate_config *config)
Destroys a grpc_ssl_server_certificate_config object.
-
const char * method_name
The method name of the RPC being called (not fully qualified).
Definition: grpc_security.h:380
-
A struct containing all information necessary to schedule/cancel a credential reload request...
Definition: grpc_security.h:825
-
GRPCAPI grpc_channel_credentials * grpc_alts_credentials_create(const grpc_alts_credentials_options *options)
This method creates an ALTS channel credential object.
-
grpc_ssl_roots_override_result(* grpc_ssl_roots_override_callback)(char **pem_root_certs)
Callback for getting the SSL roots override from the application.
Definition: grpc_security.h:144
-
-
GRPCAPI grpc_tls_credentials_options * grpc_tls_credentials_options_create(void)
Create an empty TLS credentials options.
-
grpc_ssl_certificate_config_reload_status status
Definition: grpc_security.h:829
-
GRPCAPI int grpc_tls_key_materials_config_set_version(grpc_tls_key_materials_config *config, int version)
Set grpc_tls_key_materials_config instance with a provided version number, which is used to keep trac...
-
const char * private_key
private_key is the NULL-terminated string containing the PEM encoding of the client's private key...
Definition: grpc_security.h:159
-
grpc_tls_on_server_authorization_check_done_cb cb
Definition: grpc_security.h:900
-
GRPCAPI void grpc_alts_credentials_client_options_add_target_service_account(grpc_alts_credentials_options *options, const char *service_account)
This method adds a target service account to grpc client's ALTS credentials options instance...
-
GRPCAPI grpc_alts_credentials_options * grpc_alts_credentials_server_options_create(void)
This method creates a grpc ALTS credentials server options instance.
-
GRPCAPI grpc_call_credentials * grpc_google_refresh_token_credentials_create(const char *json_refresh_token, void *reserved)
Creates an Oauth2 Refresh Token credentials object for connecting to Google.
-
void * verify_peer_callback_userdata
Arbitrary userdata that will be passed as the last argument to verify_peer_callback.
Definition: grpc_security.h:181
-
const char * token_exchange_service_uri
Definition: grpc_security.h:338
-
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
-
void(* grpc_credentials_plugin_metadata_cb)(void *user_data, const grpc_metadata *creds_md, size_t num_creds_md, grpc_status_code status, const char *error_details)
Callback function to be called by the metadata credentials plugin implementation when the metadata is...
Definition: grpc_security.h:367
-
const char * error_details
Definition: grpc_security.h:906
-
A single argument...
Definition: grpc_types.h:103
-
-
-
GRPCAPI int grpc_tls_credentials_options_set_server_authorization_check_config(grpc_tls_credentials_options *options, grpc_tls_server_authorization_check_config *config)
Set grpc_tls_server_authorization_check_config field in credentials options with the provided config ...
-
char * name
Definition: grpc_security.h:44
-
void * reserved
Reserved for future use.
Definition: grpc_security.h:386
-
GRPCAPI grpc_channel * grpc_secure_channel_create(grpc_channel_credentials *creds, const char *target, const grpc_channel_args *args, void *reserved)
— Secure channel creation.
-
GRPCAPI void grpc_auth_context_add_property(grpc_auth_context *ctx, const char *name, const char *value, size_t value_length)
– The following auth context methods should only be called by a server metadata processor to set pro...
-
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create_with_options(grpc_ssl_server_credentials_options *options)
Creates an SSL server_credentials object using the provided options struct.
-
GRPCAPI grpc_channel_credentials * grpc_google_default_credentials_create(void)
Creates default credentials to connect to a google gRPC service.
-
void(* grpc_process_auth_metadata_done_cb)(void *user_data, const grpc_metadata *consumed_md, size_t num_consumed_md, const grpc_metadata *response_md, size_t num_response_md, grpc_status_code status, const char *error_details)
— Auth Metadata Processing —
Definition: grpc_security.h:586
-
GRPCAPI void grpc_set_ssl_roots_override_callback(grpc_ssl_roots_override_callback cb)
Setup a callback to override the default TLS/SSL roots.
-
grpc_call_error
Result of a grpc call.
Definition: grpc_types.h:407
-
struct grpc_ssl_server_credentials_options grpc_ssl_server_credentials_options
Definition: grpc_security.h:525
-
void * context
Definition: grpc_security.h:908
-
GRPCAPI grpc_auth_context * grpc_call_auth_context(grpc_call *call)
Gets the auth context from the call.
-
GRPCAPI int grpc_tls_credentials_options_set_credential_reload_config(grpc_tls_credentials_options *options, grpc_tls_credential_reload_config *config)
Set grpc_tls_credential_reload_config field in credentials options with the provided config struct wh...
-
GRPCAPI int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr, grpc_server_credentials *creds)
— Server-side secure ports.
-
const grpc_auth_context * ctx
Definition: grpc_security.h:37
-
GRPCAPI void grpc_ssl_server_credentials_options_destroy(grpc_ssl_server_credentials_options *options)
Destroys a grpc_ssl_server_credentials_options object.
-
GRPCAPI void grpc_ssl_session_cache_destroy(grpc_ssl_session_cache *cache)
Destroy SSL session cache.
-
GRPCAPI const grpc_auth_property * grpc_auth_property_iterator_next(grpc_auth_property_iterator *it)
Returns NULL when the iterator is at the end.
-
const char * service_url
The fully qualifed service url.
Definition: grpc_security.h:375
-
const char * name
Definition: grpc_security.h:39
-
GRPCAPI void grpc_call_credentials_release(grpc_call_credentials *creds)
Releases a call credentials object.
-
size_t index
Definition: grpc_security.h:38
-
void(* grpc_tls_on_server_authorization_check_done_cb)(grpc_tls_server_authorization_check_arg *arg)
callback function provided by gRPC used to handle the result of server authorization check...
Definition: grpc_security.h:874
-
#define GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX
Maximum number of metadata entries returnable by a credentials plugin via a synchronous return...
Definition: grpc_security.h:391
-
const char * scope
Definition: grpc_security.h:341
-
Definition: grpc_security.h:36
-
grpc_status_code status
Definition: grpc_security.h:905
-
struct grpc_tls_server_authorization_check_config grpc_tls_server_authorization_check_config
Config for TLS server authorization check.
Definition: grpc_security.h:715
-
struct grpc_call_credentials grpc_call_credentials
— grpc_call_credentials object.
Definition: grpc_security.h:278
-
struct grpc_tls_credentials_options grpc_tls_credentials_options
TLS credentials options.
Definition: grpc_security.h:720
-
GRPCAPI grpc_tls_key_materials_config * grpc_tls_key_materials_config_create(void)
— TLS key materials config.
-
Object that holds additional peer-verification options on a secure channel.
Definition: grpc_security.h:190
-
Object that holds a private key / certificate chain pair in PEM format.
Definition: grpc_security.h:156
-
const grpc_auth_context * channel_auth_context
The auth_context of the channel which gives the server's identity.
Definition: grpc_security.h:383
-
-
struct grpc_auth_context grpc_auth_context
— Authentication Context.
Definition: grpc_security.h:34
-
struct grpc_auth_property_iterator grpc_auth_property_iterator
-
const char * requested_token_type
Definition: grpc_security.h:342
-
const char * error_details
Definition: grpc_security.h:830
-
GRPCAPI grpc_auth_property_iterator grpc_auth_context_peer_identity(const grpc_auth_context *ctx)
Gets the peer identity.
-
GRPCAPI grpc_ssl_server_credentials_options * grpc_ssl_server_credentials_create_options_using_config_fetcher(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void *user_data)
Creates an options object using a certificate config fetcher.
-
void(* grpc_tls_on_credential_reload_done_cb)(grpc_tls_credential_reload_arg *arg)
A callback function provided by gRPC to handle the result of credential reload.
Definition: grpc_security.h:805
-
GRPCAPI grpc_channel_credentials * grpc_ssl_credentials_create_ex(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)
-
struct grpc_ssl_server_certificate_config grpc_ssl_server_certificate_config
Server certificate config object holds the server's public certificates and associated private keys...
Definition: grpc_security.h:466
-
GRPCAPI grpc_tls_server_authorization_check_config * grpc_tls_server_authorization_check_config_create(const void *config_user_data, int(*schedule)(void *config_user_data, grpc_tls_server_authorization_check_arg *arg), void(*cancel)(void *config_user_data, grpc_tls_server_authorization_check_arg *arg), void(*destruct)(void *config_user_data))
Create a grpc_tls_server_authorization_check_config instance.
-
grpc_ssl_client_certificate_request_type
Definition: grpc_security_constants.h:59
-
const char * cert_chain
cert_chain is the NULL-terminated string containing the PEM encoding of the client's certificate chai...
Definition: grpc_security.h:163
-
GRPCAPI grpc_alts_credentials_options * grpc_alts_credentials_client_options_create(void)
This method creates a grpc ALTS credentials client options instance.
-
grpc_tls_server_authorization_check_config * config
Definition: grpc_security.h:907
-
GRPCAPI grpc_server_credentials * grpc_local_server_credentials_create(grpc_local_connect_type type)
This method creates a local server credential object.
-
GRPCAPI grpc_tls_credential_reload_config * grpc_tls_credential_reload_config_create(const void *config_user_data, int(*schedule)(void *config_user_data, grpc_tls_credential_reload_arg *arg), void(*cancel)(void *config_user_data, grpc_tls_credential_reload_arg *arg), void(*destruct)(void *config_user_data))
Create a grpc_tls_credential_reload_config instance.
-
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create(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)
Deprecated in favor of grpc_ssl_server_credentials_create_ex.
-
grpc_ssl_roots_override_result
Results for the SSL roots override callback.
Definition: grpc_security_constants.h:46
-
-
-
struct grpc_channel_credentials grpc_channel_credentials
— grpc_channel_credentials object.
Definition: grpc_security.h:127
-
-
void * cb_user_data
Definition: grpc_security.h:901
-
GRPCAPI void grpc_server_credentials_release(grpc_server_credentials *creds)
Releases a server_credentials object.
-
grpc_tls_on_credential_reload_done_cb cb
Definition: grpc_security.h:826
-
void * cb_user_data
Definition: grpc_security.h:827
-
GRPCAPI grpc_call_credentials * grpc_google_compute_engine_credentials_create(void *reserved)
Creates a compute engine credentials object for connecting to Google.
-
value, if not NULL, is guaranteed to be NULL terminated.
Definition: grpc_security.h:43
-
GRPCAPI grpc_call_credentials * grpc_composite_call_credentials_create(grpc_call_credentials *creds1, grpc_call_credentials *creds2, void *reserved)
Creates a composite call credentials object.
-
GRPCAPI grpc_call_credentials * grpc_metadata_credentials_create_from_plugin(grpc_metadata_credentials_plugin plugin, void *reserved)
Creates a credentials object from a plugin.
-
GRPCAPI grpc_call_credentials * grpc_google_iam_credentials_create(const char *authorization_token, const char *authority_selector, void *reserved)
Creates an IAM credentials object for connecting to Google.
-
const char * resource
Definition: grpc_security.h:339
-
struct grpc_auth_property grpc_auth_property
value, if not NULL, is guaranteed to be NULL terminated.
-
-
const char * subject_token_path
Definition: grpc_security.h:343
-
const char * actor_token_type
Definition: grpc_security.h:346
-
int success
Definition: grpc_security.h:902
-
GRPCAPI void grpc_auth_context_release(grpc_auth_context *context)
Releases the auth context returned from grpc_call_auth_context.
-
void * context
Definition: grpc_security.h:832
-
GRPCAPI int grpc_auth_context_set_peer_identity_property_name(grpc_auth_context *ctx, const char *name)
Sets the property name.
-
GRPCAPI grpc_call_credentials * grpc_access_token_credentials_create(const char *access_token, void *reserved)
Creates an Oauth2 Access Token credentials with an access token that was acquired by an out of band m...
-
Options for creating STS Oauth Token Exchange credentials following the IETF draft https://tools...
Definition: grpc_security.h:337
-
Deprecated in favor of grpc_ssl_verify_peer_options.
Definition: grpc_security.h:170
-
GRPCAPI const char * grpc_auth_context_peer_identity_property_name(const grpc_auth_context *ctx)
Gets the name of the property that indicates the peer identity.
-
GRPCAPI grpc_arg grpc_ssl_session_cache_create_channel_arg(grpc_ssl_session_cache *cache)
Create a channel arg with the given cache object.
-
Analogous to struct timespec.
Definition: gpr_types.h:47
-
struct grpc_tls_key_materials_config grpc_tls_key_materials_config
— SPIFFE and HTTPS-based TLS channel/server credentials — It is used for experimental purpose for n...
Definition: grpc_security.h:706
-
grpc_server_credentials * grpc_tls_spiffe_server_credentials_create(grpc_tls_credentials_options *options)
This method creates a TLS server credential object.
-
GRPCAPI grpc_ssl_server_certificate_config * grpc_ssl_server_certificate_config_create(const char *pem_root_certs, const grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs)
Creates a grpc_ssl_server_certificate_config object.
-
struct grpc_alts_credentials_options grpc_alts_credentials_options
— ALTS channel/server credentials —
Definition: grpc_security.h:617
-
GRPCAPI void grpc_alts_credentials_options_destroy(grpc_alts_credentials_options *options)
This method destroys a grpc_alts_credentials_options instance by de-allocating all of its occupied me...
-
grpc_ssl_certificate_config_reload_status(* grpc_ssl_server_certificate_config_callback)(void *user_data, grpc_ssl_server_certificate_config **config)
Callback to retrieve updated SSL server certificates, private keys, and trusted CAs (for client authe...
Definition: grpc_security.h:496
-
GRPCAPI grpc_call_credentials * grpc_sts_credentials_create(const grpc_sts_credentials_options *options, void *reserved)
Creates an STS credentials following the STS Token Exchanged specifed in the IETF draft https://tools...
-
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create_ex(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)
Deprecated in favor of grpc_ssl_server_credentials_create_with_options.
-
-
grpc_status_code
Definition: status.h:26
-
GRPCAPI gpr_timespec grpc_max_auth_token_lifetime(void)
-
const char * target_name
Definition: grpc_security.h:903
-
void * verify_peer_callback_userdata
Arbitrary userdata that will be passed as the last argument to verify_peer_callback.
Definition: grpc_security.h:201
-
GRPCAPI int grpc_tls_key_materials_config_get_version(grpc_tls_key_materials_config *config)
Get the version number of a grpc_tls_key_materials_config instance.
-
GRPCAPI grpc_ssl_server_credentials_options * grpc_ssl_server_credentials_create_options_using_config(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config *certificate_config)
Creates an options object using a certificate config.
-
-
GRPCAPI int grpc_tls_key_materials_config_set_key_materials(grpc_tls_key_materials_config *config, const char *pem_root_certs, const grpc_ssl_pem_key_cert_pair **pem_key_cert_pairs, size_t num_key_cert_pairs)
Set grpc_tls_key_materials_config instance with provided a TLS certificate.
-
grpc_local_connect_type
Type of local connections for which local channel/server credentials will be applied.
Definition: grpc_security_constants.h:112
-
GRPCAPI int grpc_auth_context_peer_is_authenticated(const grpc_auth_context *ctx)
Returns 1 if the peer is authenticated, 0 otherwise.
-
Context that can be used by metadata credentials plugin in order to create auth related metadata...
Definition: grpc_security.h:373
-
grpc_channel_credentials * grpc_tls_spiffe_credentials_create(grpc_tls_credentials_options *options)
— SPIFFE channel/server credentials —
-
const char * audience
Definition: grpc_security.h:340
-
grpc_tls_key_materials_config * key_materials_config
Definition: grpc_security.h:828
-
GRPCAPI void grpc_channel_credentials_release(grpc_channel_credentials *creds)
Releases a channel credentials object.
-
const char * subject_token_type
Definition: grpc_security.h:344
-
GRPCAPI grpc_server_credentials * grpc_alts_server_credentials_create(const grpc_alts_credentials_options *options)
This method creates an ALTS server credential object.
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_GRPC_SECURITY_H
+
20 #define GRPC_GRPC_SECURITY_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
90 const char * name,
const char * value,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
146 char ** pem_root_certs);
+
+
+
+
+
+
+
+
+
+
+
+
178 int (*verify_peer_callback)(
const char * target_name,
const char * peer_pem,
+
+
+
186 void (*verify_peer_destruct)(
void * userdata);
+
+
+
+
198 int (*verify_peer_callback)(
const char * target_name,
const char * peer_pem,
+
+
+
206 void (*verify_peer_destruct)(
void * userdata);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
323 const char * json_refresh_token,
void * reserved);
+
+
+
328 const char * access_token,
void * reserved);
+
+
+
332 const char * authorization_token,
const char * authority_selector,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
372 void * user_data,
const grpc_metadata * creds_md,
size_t num_creds_md,
+
+
+
+
+
+
+
+
+
+
+
+
+
395 #define GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX 4
+
+
+
+
+
+
+
+
426 const char ** error_details);
+
+
429 void (*destroy)(
void * state);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
487 const char * pem_root_certs,
+
+
489 size_t num_key_cert_pairs);
+
+
+
+
+
+
+
+
+
+
+
519 size_t num_key_cert_pairs,
int force_client_auth,
void * reserved);
+
+
+
+
527 size_t num_key_cert_pairs,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
593 void * user_data,
const grpc_metadata * consumed_md,
size_t num_consumed_md,
+
+
+
+
+
+
+
+
606 void (*destroy)(
void * state);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
801 size_t num_key_cert_pairs);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
880 const void * config_user_data,
+
881 int (*schedule)(
void * config_user_data,
+
+
+
884 void (*destruct)(
void * config_user_data));
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
957 const void * config_user_data,
+
958 int (*schedule)(
void * config_user_data,
+
+
960 void (*cancel)(
void * config_user_data,
+
+
962 void (*destruct)(
void * config_user_data));
+
+
+
+
+
+
+
+
+
+
+
+
+
A single argument...
Definition: grpc_types.h:103
+
const char * name
Definition: grpc_security.h:39
+
GRPCAPI void grpc_alts_credentials_options_destroy(grpc_alts_credentials_options *options)
This method destroys a grpc_alts_credentials_options instance by de-allocating all of its occupied me...
+
#define GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX
Maximum number of metadata entries returnable by a credentials plugin via a synchronous return.
Definition: grpc_security.h:395
+
grpc_call_error
Result of a grpc call.
Definition: grpc_types.h:426
+
GRPCAPI grpc_channel_credentials * grpc_ssl_credentials_create_ex(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)
+
void * verify_peer_callback_userdata
Arbitrary userdata that will be passed as the last argument to verify_peer_callback.
Definition: grpc_security.h:182
+
grpc_tls_key_materials_config * key_materials_config
Definition: grpc_security.h:850
+
struct grpc_tls_server_authorization_check_config grpc_tls_server_authorization_check_config
Config for TLS server authorization check.
Definition: grpc_security.h:724
+
struct grpc_ssl_server_certificate_config grpc_ssl_server_certificate_config
Server certificate config object holds the server's public certificates and associated private keys,...
Definition: grpc_security.h:472
+
void(* grpc_credentials_plugin_metadata_cb)(void *user_data, const grpc_metadata *creds_md, size_t num_creds_md, grpc_status_code status, const char *error_details)
Callback function to be called by the metadata credentials plugin implementation when the metadata is...
Definition: grpc_security.h:371
+
GRPCAPI void grpc_server_credentials_release(grpc_server_credentials *creds)
Releases a server_credentials object.
+
Object that holds additional peer-verification options on a secure channel.
Definition: grpc_security.h:191
+
struct grpc_auth_context grpc_auth_context
— Authentication Context.
Definition: grpc_security.h:34
+
struct grpc_auth_property_iterator grpc_auth_property_iterator
+
const char * subject_token_path
Definition: grpc_security.h:347
+
const char * private_key
private_key is the NULL-terminated string containing the PEM encoding of the client's private key.
Definition: grpc_security.h:160
+
struct grpc_auth_property grpc_auth_property
value, if not NULL, is guaranteed to be NULL terminated.
+
GRPCAPI grpc_ssl_server_credentials_options * grpc_ssl_server_credentials_create_options_using_config(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config *certificate_config)
Creates an options object using a certificate config.
+
GRPCAPI grpc_server_credentials * grpc_local_server_credentials_create(grpc_local_connect_type type)
This method creates a local server credential object.
+
void * verify_peer_callback_userdata
Arbitrary userdata that will be passed as the last argument to verify_peer_callback.
Definition: grpc_security.h:202
+
GRPCAPI grpc_tls_server_authorization_check_config * grpc_tls_server_authorization_check_config_create(const void *config_user_data, int(*schedule)(void *config_user_data, grpc_tls_server_authorization_check_arg *arg), void(*cancel)(void *config_user_data, grpc_tls_server_authorization_check_arg *arg), void(*destruct)(void *config_user_data))
Create a grpc_tls_server_authorization_check_config instance.
+
const char * resource
Definition: grpc_security.h:343
+
Options for creating STS Oauth Token Exchange credentials following the IETF draft https://tools....
Definition: grpc_security.h:341
+
+
grpc_ssl_certificate_config_reload_status
Callback results for dynamically loading a SSL certificate config.
Definition: grpc_security_constants.h:55
+
const char * audience
Definition: grpc_security.h:344
+
grpc_ssl_certificate_config_reload_status status
Definition: grpc_security.h:851
+
const char * service_url
The fully qualifed service url.
Definition: grpc_security.h:379
+
GRPCAPI grpc_call_credentials * grpc_google_iam_credentials_create(const char *authorization_token, const char *authority_selector, void *reserved)
Creates an IAM credentials object for connecting to Google.
+
grpc_tls_server_authorization_check_config * config
Definition: grpc_security.h:930
+
grpc_tls_credential_reload_config * config
Definition: grpc_security.h:853
+
void(* grpc_process_auth_metadata_done_cb)(void *user_data, const grpc_metadata *consumed_md, size_t num_consumed_md, const grpc_metadata *response_md, size_t num_response_md, grpc_status_code status, const char *error_details)
— Auth Metadata Processing —
Definition: grpc_security.h:592
+
GRPCAPI void grpc_ssl_server_credentials_options_destroy(grpc_ssl_server_credentials_options *options)
Destroys a grpc_ssl_server_credentials_options object.
+
GRPCAPI int grpc_auth_context_peer_is_authenticated(const grpc_auth_context *ctx)
Returns 1 if the peer is authenticated, 0 otherwise.
+
void(* destroy_context)(void *ctx)
Definition: grpc_security.h:932
+
const char * peer_cert_full_chain
Definition: grpc_security.h:927
+
GRPCAPI grpc_call_credentials * grpc_metadata_credentials_create_from_plugin(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void *reserved)
Creates a credentials object from a plugin with a specified minimum security level.
+
GRPCAPI grpc_call_credentials * grpc_google_compute_engine_credentials_create(void *reserved)
Creates a compute engine credentials object for connecting to Google.
+
GRPCAPI void grpc_call_credentials_release(grpc_call_credentials *creds)
Releases a call credentials object.
+
grpc_channel_credentials * grpc_tls_credentials_create(grpc_tls_credentials_options *options)
This method creates a TLS channel credential object.
+
const char * peer_cert
Definition: grpc_security.h:926
+
GRPCAPI grpc_call_credentials * grpc_composite_call_credentials_create(grpc_call_credentials *creds1, grpc_call_credentials *creds2, void *reserved)
Creates a composite call credentials object.
+
GRPCAPI grpc_ssl_server_certificate_config * grpc_ssl_server_certificate_config_create(const char *pem_root_certs, const grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs)
Creates a grpc_ssl_server_certificate_config object.
+
const char * cert_chain
cert_chain is the NULL-terminated string containing the PEM encoding of the client's certificate chai...
Definition: grpc_security.h:164
+
An array of arguments that can be passed around.
Definition: grpc_types.h:132
+
GRPCAPI grpc_ssl_session_cache * grpc_ssl_session_cache_create_lru(size_t capacity)
Create LRU cache for client-side SSL sessions with the given capacity.
+
GRPCAPI void grpc_auth_context_release(grpc_auth_context *context)
Releases the auth context returned from grpc_call_auth_context.
+
GRPCAPI void grpc_server_credentials_set_auth_metadata_processor(grpc_server_credentials *creds, grpc_auth_metadata_processor processor)
+
GRPCAPI int grpc_tls_credentials_options_set_key_materials_config(grpc_tls_credentials_options *options, grpc_tls_key_materials_config *config)
Set grpc_tls_key_materials_config field in credentials options with the provided config struct whose ...
+
GRPCAPI grpc_call_credentials * grpc_access_token_credentials_create(const char *access_token, void *reserved)
Creates an Oauth2 Access Token credentials with an access token that was acquired by an out of band m...
+
struct grpc_tls_credential_reload_config grpc_tls_credential_reload_config
Config for TLS credential reload.
Definition: grpc_security.h:719
+
void * reserved
Reserved for future use.
Definition: grpc_security.h:390
+
grpc_server_credentials * grpc_tls_server_credentials_create(grpc_tls_credentials_options *options)
This method creates a TLS server credential object.
+
const GRPCAPI grpc_auth_property * grpc_auth_property_iterator_next(grpc_auth_property_iterator *it)
Returns NULL when the iterator is at the end.
+
GRPCAPI grpc_channel_credentials * grpc_ssl_credentials_create(const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair, const verify_peer_options *verify_options, void *reserved)
Deprecated in favor of grpc_ssl_server_credentials_create_ex.
+
void(* destroy_context)(void *ctx)
Definition: grpc_security.h:855
+
GRPCAPI grpc_call_credentials * grpc_service_account_jwt_access_credentials_create(const char *json_key, gpr_timespec token_lifetime, void *reserved)
Creates a JWT credentials object.
+
void * context
Definition: grpc_security.h:931
+
GRPCAPI int grpc_auth_context_set_peer_identity_property_name(grpc_auth_context *ctx, const char *name)
Sets the property name.
+
+
const char * method_name
The method name of the RPC being called (not fully qualified).
Definition: grpc_security.h:384
+
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create_ex(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)
Deprecated in favor of grpc_ssl_server_credentials_create_with_options.
+
const char * error_details
Definition: grpc_security.h:852
+
const grpc_auth_context * ctx
Definition: grpc_security.h:37
+
GRPCAPI grpc_alts_credentials_options * grpc_alts_credentials_client_options_create(void)
This method creates a grpc ALTS credentials client options instance.
+
GRPCAPI int grpc_tls_credentials_options_set_server_verification_option(grpc_tls_credentials_options *options, grpc_tls_server_verification_option server_verification_option)
Set grpc_tls_server_verification_option field in credentials options with the provided server_verific...
+
GRPCAPI grpc_call_credentials * grpc_sts_credentials_create(const grpc_sts_credentials_options *options, void *reserved)
Creates an STS credentials following the STS Token Exchanged specifed in the IETF draft https://tools...
+
GRPCAPI grpc_tls_credential_reload_config * grpc_tls_credential_reload_config_create(const void *config_user_data, int(*schedule)(void *config_user_data, grpc_tls_credential_reload_arg *arg), void(*cancel)(void *config_user_data, grpc_tls_credential_reload_arg *arg), void(*destruct)(void *config_user_data))
Create a grpc_tls_credential_reload_config instance.
+
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create(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)
Deprecated in favor of grpc_ssl_server_credentials_create_ex.
+
const char * actor_token_path
Definition: grpc_security.h:349
+
grpc_tls_on_server_authorization_check_done_cb cb
Definition: grpc_security.h:922
+
GRPCAPI void grpc_channel_credentials_release(grpc_channel_credentials *creds)
Releases a channel credentials object.
+
GRPCAPI gpr_timespec grpc_max_auth_token_lifetime(void)
+
const char * scope
Definition: grpc_security.h:345
+
GRPCAPI void grpc_alts_credentials_client_options_add_target_service_account(grpc_alts_credentials_options *options, const char *service_account)
This method adds a target service account to grpc client's ALTS credentials options instance.
+
char * name
Definition: grpc_security.h:44
+
Definition: grpc_security.h:36
+
+
grpc_ssl_roots_override_result
Results for the SSL roots override callback.
Definition: grpc_security_constants.h:48
+
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
+
size_t value_length
Definition: grpc_security.h:46
+
GRPCAPI int grpc_tls_key_materials_config_get_version(grpc_tls_key_materials_config *config)
Get the version number of a grpc_tls_key_materials_config instance.
+
GRPCAPI grpc_server_credentials * grpc_alts_server_credentials_create(const grpc_alts_credentials_options *options)
This method creates an ALTS server credential object.
+
void * cb_user_data
Definition: grpc_security.h:849
+
GRPCAPI void grpc_auth_context_add_cstring_property(grpc_auth_context *ctx, const char *name, const char *value)
Add a C string property.
+
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
+
grpc_ssl_client_certificate_request_type
Definition: grpc_security_constants.h:61
+
+
GRPCAPI grpc_auth_context * grpc_call_auth_context(grpc_call *call)
Gets the auth context from the call.
+
GRPCAPI int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr, grpc_server_credentials *creds)
— Server-side secure ports.
+
char * value
Definition: grpc_security.h:45
+
GRPCAPI int grpc_tls_key_materials_config_set_key_materials(grpc_tls_key_materials_config *config, const char *pem_root_certs, const grpc_ssl_pem_key_cert_pair **pem_key_cert_pairs, size_t num_key_cert_pairs)
Set grpc_tls_key_materials_config instance with provided a TLS certificate.
+
struct grpc_ssl_session_cache grpc_ssl_session_cache
— SSL Session Cache.
Definition: grpc_security.h:108
+
GRPCAPI grpc_channel_credentials * grpc_google_default_credentials_create(void)
Creates default credentials to connect to a google gRPC service.
+
GRPCAPI grpc_channel_credentials * grpc_composite_channel_credentials_create(grpc_channel_credentials *channel_creds, grpc_call_credentials *call_creds, void *reserved)
Creates a composite channel credentials object.
+
grpc_tls_server_verification_option
Definition: grpc_security_constants.h:121
+
const char * token_exchange_service_uri
Definition: grpc_security.h:342
+
grpc_tls_on_credential_reload_done_cb cb
Definition: grpc_security.h:848
+
struct grpc_tls_key_materials_config grpc_tls_key_materials_config
— TLS channel/server credentials — It is used for experimental purpose for now and subject to change.
Definition: grpc_security.h:715
+
Deprecated in favor of grpc_ssl_verify_peer_options.
Definition: grpc_security.h:171
+
grpc_ssl_roots_override_result(* grpc_ssl_roots_override_callback)(char **pem_root_certs)
Callback for getting the SSL roots override from the application.
Definition: grpc_security.h:145
+
value, if not NULL, is guaranteed to be NULL terminated.
Definition: grpc_security.h:43
+
GRPCAPI grpc_auth_property_iterator grpc_auth_context_property_iterator(const grpc_auth_context *ctx)
Iterates over the auth context.
+
GRPCAPI grpc_call_error grpc_call_set_credentials(grpc_call *call, grpc_call_credentials *creds)
— Call specific credentials.
+
struct grpc_tls_credentials_options grpc_tls_credentials_options
TLS credentials options.
Definition: grpc_security.h:729
+
void(* grpc_tls_on_server_authorization_check_done_cb)(grpc_tls_server_authorization_check_arg *arg)
callback function provided by gRPC used to handle the result of server authorization check.
Definition: grpc_security.h:896
+
GRPCAPI grpc_channel_credentials * grpc_alts_credentials_create(const grpc_alts_credentials_options *options)
This method creates an ALTS channel credential object.
+
grpc_security_level
Definition: grpc_security_constants.h:113
+
A struct containing all information necessary to schedule/cancel a credential reload request.
Definition: grpc_security.h:847
+
GRPCAPI grpc_alts_credentials_options * grpc_alts_credentials_server_options_create(void)
This method creates a grpc ALTS credentials server options instance.
+
grpc_status_code status
Definition: grpc_security.h:928
+
GRPCAPI grpc_call_credentials * grpc_google_refresh_token_credentials_create(const char *json_refresh_token, void *reserved)
Creates an Oauth2 Refresh Token credentials object for connecting to Google.
+
+
GRPCAPI grpc_tls_credentials_options * grpc_tls_credentials_options_create(void)
Create an empty TLS credentials options.
+
GRPCAPI grpc_ssl_server_credentials_options * grpc_ssl_server_credentials_create_options_using_config_fetcher(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void *user_data)
Creates an options object using a certificate config fetcher.
+
const grpc_auth_context * channel_auth_context
The auth_context of the channel which gives the server's identity.
Definition: grpc_security.h:387
+
grpc_ssl_certificate_config_reload_status(* grpc_ssl_server_certificate_config_callback)(void *user_data, grpc_ssl_server_certificate_config **config)
Callback to retrieve updated SSL server certificates, private keys, and trusted CAs (for client authe...
Definition: grpc_security.h:502
+
void * context
Definition: grpc_security.h:854
+
const char * error_details
Definition: grpc_security.h:929
+
GRPCAPI grpc_auth_property_iterator grpc_auth_context_peer_identity(const grpc_auth_context *ctx)
Gets the peer identity.
+
grpc_status_code
Definition: status.h:26
+
const char * requested_token_type
Definition: grpc_security.h:346
+
GRPCAPI int grpc_tls_credentials_options_set_server_authorization_check_config(grpc_tls_credentials_options *options, grpc_tls_server_authorization_check_config *config)
Set grpc_tls_server_authorization_check_config field in credentials options with the provided config ...
+
GRPCAPI void grpc_set_ssl_roots_override_callback(grpc_ssl_roots_override_callback cb)
Setup a callback to override the default TLS/SSL roots.
+
+
+
GRPCAPI grpc_channel * grpc_secure_channel_create(grpc_channel_credentials *creds, const char *target, const grpc_channel_args *args, void *reserved)
— Secure channel creation.
+
struct grpc_channel_credentials grpc_channel_credentials
— grpc_channel_credentials object.
Definition: grpc_security.h:127
+
GRPCAPI int grpc_tls_key_materials_config_set_version(grpc_tls_key_materials_config *config, int version)
Set grpc_tls_key_materials_config instance with a provided version number, which is used to keep trac...
+
GRPCAPI void grpc_auth_context_add_property(grpc_auth_context *ctx, const char *name, const char *value, size_t value_length)
– The following auth context methods should only be called by a server metadata
+
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
+
+
struct grpc_ssl_server_credentials_options grpc_ssl_server_credentials_options
Definition: grpc_security.h:531
+
A struct containing all information necessary to schedule/cancel a server authorization check request...
Definition: grpc_security.h:921
+
const GRPCAPI char * grpc_auth_context_peer_identity_property_name(const grpc_auth_context *ctx)
Gets the name of the property that indicates the peer identity.
+
void * cb_user_data
Definition: grpc_security.h:923
+
GRPCAPI void grpc_ssl_session_cache_destroy(grpc_ssl_session_cache *cache)
Destroy SSL session cache.
+
GRPCAPI grpc_server_credentials * grpc_ssl_server_credentials_create_with_options(grpc_ssl_server_credentials_options *options)
Creates an SSL server_credentials object using the provided options struct.
+
GRPCAPI grpc_auth_property_iterator grpc_auth_context_find_properties_by_name(const grpc_auth_context *ctx, const char *name)
Finds a property in the context.
+
const char * actor_token_type
Definition: grpc_security.h:350
+
size_t index
Definition: grpc_security.h:38
+
GRPCAPI int grpc_tls_credentials_options_set_cert_request_type(grpc_tls_credentials_options *options, grpc_ssl_client_certificate_request_type type)
Set grpc_ssl_client_certificate_request_type field in credentials options with the provided type.
+
Analogous to struct timespec.
Definition: gpr_types.h:47
+
const char * target_name
Definition: grpc_security.h:925
+
struct grpc_server_credentials grpc_server_credentials
— grpc_server_credentials object.
Definition: grpc_security.h:461
+
Context that can be used by metadata credentials plugin in order to create auth related metadata.
Definition: grpc_security.h:377
+
const char * subject_token_type
Definition: grpc_security.h:348
+
grpc_local_connect_type
Type of local connections for which local channel/server credentials will be applied.
Definition: grpc_security_constants.h:139
+
GRPCAPI int grpc_tls_credentials_options_set_credential_reload_config(grpc_tls_credentials_options *options, grpc_tls_credential_reload_config *config)
Set grpc_tls_credential_reload_config field in credentials options with the provided config struct wh...
+
Object that holds a private key / certificate chain pair in PEM format.
Definition: grpc_security.h:157
+
+
GRPCAPI grpc_arg grpc_ssl_session_cache_create_channel_arg(grpc_ssl_session_cache *cache)
Create a channel arg with the given cache object.
+
int success
Definition: grpc_security.h:924
+
GRPCAPI void grpc_ssl_server_certificate_config_destroy(grpc_ssl_server_certificate_config *config)
Destroys a grpc_ssl_server_certificate_config object.
+
GRPCAPI grpc_channel_credentials * grpc_local_credentials_create(grpc_local_connect_type type)
— Local channel/server credentials —
+
GRPCAPI grpc_tls_key_materials_config * grpc_tls_key_materials_config_create(void)
— TLS key materials config.
+
+
void(* grpc_tls_on_credential_reload_done_cb)(grpc_tls_credential_reload_arg *arg)
A callback function provided by gRPC to handle the result of credential reload.
Definition: grpc_security.h:827
+
+
struct grpc_call_credentials grpc_call_credentials
— grpc_call_credentials object.
Definition: grpc_security.h:281
+
struct grpc_alts_credentials_options grpc_alts_credentials_options
— ALTS channel/server credentials —
Definition: grpc_security.h:623
diff --git a/core/grpc__security__constants_8h.html b/core/grpc__security__constants_8h.html
index a5671380431..4a0e1ab737c 100644
--- a/core/grpc__security__constants_8h.html
+++ b/core/grpc__security__constants_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc_security_constants.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
#define GRPC_X509_PEM_CERT_PROPERTY_NAME "x509_pem_cert"
+
#define GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME "x509_pem_cert_chain"
+
#define GRPC_SSL_SESSION_REUSED_PROPERTY "ssl_session_reused"
+
#define GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME "security_level"
+
#define GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR "GRPC_DEFAULT_SSL_ROOTS_FILE_PATH"
-
Environment variable that points to the default SSL roots file. More...
+
Environment variable that points to the default SSL roots file. More...
#define GRPC_GOOGLE_CREDENTIALS_ENV_VAR "GOOGLE_APPLICATION_CREDENTIALS"
-
Environment variable that points to the google default application credentials json key or refresh token. More...
+
Environment variable that points to the google default application credentials json key or refresh token. More...
enum grpc_ssl_roots_override_result { GRPC_SSL_ROOTS_OVERRIDE_OK ,
GRPC_SSL_ROOTS_OVERRIDE_FAIL_PERMANENTLY ,
GRPC_SSL_ROOTS_OVERRIDE_FAIL
- } Results for the SSL roots override callback. More...
-
+ }
+ Results for the SSL roots override callback. More...
enum grpc_ssl_certificate_config_reload_status { GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_UNCHANGED ,
GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_NEW ,
GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_FAIL
- } Callback results for dynamically loading a SSL certificate config. More...
-
+ }
+ Callback results for dynamically loading a SSL certificate config. More...
enum grpc_ssl_client_certificate_request_type {
GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE ,
@@ -118,10 +125,25 @@ Enumerations
}
+enum grpc_security_level {
+ GRPC_SECURITY_MIN ,
+GRPC_SECURITY_NONE = GRPC_SECURITY_MIN,
+GRPC_INTEGRITY_ONLY ,
+GRPC_PRIVACY_AND_INTEGRITY ,
+
+ GRPC_SECURITY_MAX = GRPC_PRIVACY_AND_INTEGRITY
+
+ }
+
+enum grpc_tls_server_verification_option { GRPC_TLS_SERVER_VERIFICATION ,
+GRPC_TLS_SKIP_HOSTNAME_VERIFICATION ,
+GRPC_TLS_SKIP_ALL_SERVER_VERIFICATION
+ }
+
enum grpc_local_connect_type { UDS = 0,
LOCAL_TCP
- } Type of local connections for which local channel/server credentials will be applied. More...
-
+ }
+ Type of local connections for which local channel/server credentials will be applied. More...
@@ -138,7 +160,8 @@ Enumerations
Environment variable that points to the default SSL roots file.
-
This file must be a PEM encoded file with all the roots such as the one that can be downloaded from https://pki.google.com/roots.pem .
+
This file must be a PEM encoded file with all the roots such as the one that can be downloaded from https://pki.google.com/roots.pem .
+
@@ -185,6 +208,20 @@ Enumerations
+
+
+
+◆ GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME
+
+
+
+
+
+ #define GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME "security_level"
+
+
+
+
@@ -213,6 +250,20 @@ Enumerations
+
+
+
+◆ GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME
+
+
+
+
+
+ #define GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME "x509_pem_cert_chain"
+
+
+
+
@@ -263,6 +314,27 @@ Enumerations
LOCAL_TCP
+
+
+
+◆ grpc_security_level
+
+
+
+
+Enumerator GRPC_SECURITY_MIN
+ GRPC_SECURITY_NONE
+ GRPC_INTEGRITY_ONLY
+ GRPC_PRIVACY_AND_INTEGRITY
+ GRPC_SECURITY_MAX
+
+
@@ -341,14 +413,37 @@ Enumerations
+
+
+
+◆ grpc_tls_server_verification_option
+
+
+
+
+Enumerator GRPC_TLS_SERVER_VERIFICATION Default option: performs server certificate verification and hostname verification.
+
+ GRPC_TLS_SKIP_HOSTNAME_VERIFICATION Performs server certificate verification, but skips hostname verification Client is responsible for verifying server's identity via server authorization check callback.
+
+ GRPC_TLS_SKIP_ALL_SERVER_VERIFICATION Skips both server certificate and hostname verification.
+Client is responsible for verifying server's identity and server's certificate via server authorization check callback.
+
+
+
diff --git a/core/grpc__security__constants_8h_source.html b/core/grpc__security__constants_8h_source.html
index 13614016320..b252d5d4703 100644
--- a/core/grpc__security__constants_8h_source.html
+++ b/core/grpc__security__constants_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/grpc_security_constants.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
grpc_security_constants.h
-
Go to the documentation of this file. 19 #ifndef GRPC_GRPC_SECURITY_CONSTANTS_H 20 #define GRPC_GRPC_SECURITY_CONSTANTS_H 26 #define GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME "transport_security_type" 27 #define GRPC_SSL_TRANSPORT_SECURITY_TYPE "ssl" 29 #define GRPC_X509_CN_PROPERTY_NAME "x509_common_name" 30 #define GRPC_X509_SAN_PROPERTY_NAME "x509_subject_alternative_name" 31 #define GRPC_X509_PEM_CERT_PROPERTY_NAME "x509_pem_cert" 32 #define GRPC_SSL_SESSION_REUSED_PROPERTY "ssl_session_reused" 37 #define GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR \ 38 "GRPC_DEFAULT_SSL_ROOTS_FILE_PATH" 43 #define GRPC_GOOGLE_CREDENTIALS_ENV_VAR "GOOGLE_APPLICATION_CREDENTIALS" grpc_ssl_certificate_config_reload_status
Callback results for dynamically loading a SSL certificate config.
Definition: grpc_security_constants.h:53
-
Server requests client certificate and enforces that the client presents a certificate.
Definition: grpc_security_constants.h:105
-
Definition: grpc_security_constants.h:112
-
Definition: grpc_security_constants.h:56
-
Definition: grpc_security_constants.h:48
-
Definition: grpc_security_constants.h:54
-
Do not try fallback options.
Definition: grpc_security_constants.h:49
-
Definition: grpc_security_constants.h:112
-
grpc_ssl_client_certificate_request_type
Definition: grpc_security_constants.h:59
-
Server requests client certificate and enforces that the client presents a certificate.
Definition: grpc_security_constants.h:95
-
Definition: grpc_security_constants.h:55
-
grpc_ssl_roots_override_result
Results for the SSL roots override callback.
Definition: grpc_security_constants.h:46
-
Definition: grpc_security_constants.h:47
-
Server requests client certificate but does not enforce that the client presents a certificate...
Definition: grpc_security_constants.h:85
-
Server requests client certificate but does not enforce that the client presents a certificate...
Definition: grpc_security_constants.h:74
-
Server does not request client certificate.
Definition: grpc_security_constants.h:64
-
grpc_local_connect_type
Type of local connections for which local channel/server credentials will be applied.
Definition: grpc_security_constants.h:112
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_GRPC_SECURITY_CONSTANTS_H
+
20 #define GRPC_GRPC_SECURITY_CONSTANTS_H
+
+
+
+
+
+
26 #define GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME "transport_security_type"
+
27 #define GRPC_SSL_TRANSPORT_SECURITY_TYPE "ssl"
+
+
29 #define GRPC_X509_CN_PROPERTY_NAME "x509_common_name"
+
30 #define GRPC_X509_SAN_PROPERTY_NAME "x509_subject_alternative_name"
+
31 #define GRPC_X509_PEM_CERT_PROPERTY_NAME "x509_pem_cert"
+
32 #define GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME "x509_pem_cert_chain"
+
33 #define GRPC_SSL_SESSION_REUSED_PROPERTY "ssl_session_reused"
+
34 #define GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME "security_level"
+
+
39 #define GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR \
+
40 "GRPC_DEFAULT_SSL_ROOTS_FILE_PATH"
+
+
45 #define GRPC_GOOGLE_CREDENTIALS_ENV_VAR "GOOGLE_APPLICATION_CREDENTIALS"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Definition: grpc_security_constants.h:114
+
grpc_ssl_certificate_config_reload_status
Callback results for dynamically loading a SSL certificate config.
Definition: grpc_security_constants.h:55
+
Server requests client certificate but does not enforce that the client presents a certificate.
Definition: grpc_security_constants.h:87
+
Performs server certificate verification, but skips hostname verification Client is responsible for v...
Definition: grpc_security_constants.h:128
+
Definition: grpc_security_constants.h:139
+
Server requests client certificate but does not enforce that the client presents a certificate.
Definition: grpc_security_constants.h:76
+
Definition: grpc_security_constants.h:115
+
Do not try fallback options.
Definition: grpc_security_constants.h:51
+
Definition: grpc_security_constants.h:56
+
Definition: grpc_security_constants.h:57
+
grpc_ssl_roots_override_result
Results for the SSL roots override callback.
Definition: grpc_security_constants.h:48
+
Definition: grpc_security_constants.h:49
+
Definition: grpc_security_constants.h:58
+
grpc_ssl_client_certificate_request_type
Definition: grpc_security_constants.h:61
+
Definition: grpc_security_constants.h:116
+
grpc_tls_server_verification_option
Definition: grpc_security_constants.h:121
+
Definition: grpc_security_constants.h:139
+
grpc_security_level
Definition: grpc_security_constants.h:113
+
Server requests client certificate and enforces that the client presents a certificate.
Definition: grpc_security_constants.h:97
+
Server does not request client certificate.
Definition: grpc_security_constants.h:66
+
Default option: performs server certificate verification and hostname verification.
Definition: grpc_security_constants.h:124
+
Definition: grpc_security_constants.h:117
+
Server requests client certificate and enforces that the client presents a certificate.
Definition: grpc_security_constants.h:107
+
Skips both server certificate and hostname verification.
Definition: grpc_security_constants.h:132
+
Definition: grpc_security_constants.h:50
+
grpc_local_connect_type
Type of local connections for which local channel/server credentials will be applied.
Definition: grpc_security_constants.h:139
+
Definition: grpc_security_constants.h:118
diff --git a/core/grpc__types_8h.html b/core/grpc__types_8h.html
index c291ed485c5..265aac4e929 100644
--- a/core/grpc__types_8h.html
+++ b/core/grpc__types_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/grpc_types.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
#define GRPC_ARG_TCP_MAX_READ_CHUNK_SIZE "grpc.experimental.tcp_max_read_chunk_size"
+
#define GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED "grpc.experimental.tcp_tx_zerocopy_enabled"
+
+
#define GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD "grpc.experimental.tcp_tx_zerocopy_send_bytes_threshold"
+
+
#define GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS "grpc.experimental.tcp_tx_zerocopy_max_simultaneous_sends"
+
#define GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS "grpc.grpclb_call_timeout_ms"
#define GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS "grpc.grpclb_fallback_timeout_ms"
@@ -321,6 +330,8 @@ Macros
#define GRPC_ARG_XDS_FAILOVER_TIMEOUT_MS "grpc.xds_failover_timeout_ms"
+
#define GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS "grpc.xds_resource_does_not_exist_timeout_ms"
+
#define GRPC_ARG_WORKAROUND_CRONET_COMPRESSION "grpc.workaround.cronet_compression"
If non-zero, grpc server's cronet compression workaround will be enabled. More...
@@ -364,39 +375,39 @@ Macros
gRPC Objective-C channel pooling id. More...
#define GRPC_DEFAULT_MAX_SEND_MESSAGE_LENGTH -1
-
Default send/receive message size limits in bytes. More...
+
Default send/receive message size limits in bytes. More...
#define GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH (4 * 1024 * 1024)
#define GRPC_WRITE_BUFFER_HINT (0x00000001u)
-
Write Flags: More...
+
Write Flags: More...
#define GRPC_WRITE_NO_COMPRESS (0x00000002u)
-
Force compression to be disabled for a particular write (start_write/add_metadata). More...
+
Force compression to be disabled for a particular write (start_write/add_metadata). More...
#define GRPC_WRITE_THROUGH (0x00000004u)
-
Force this message to be written to the socket before completing it. More...
+
Force this message to be written to the socket before completing it. More...
#define GRPC_WRITE_USED_MASK (GRPC_WRITE_BUFFER_HINT | GRPC_WRITE_NO_COMPRESS | GRPC_WRITE_THROUGH )
-
Mask of all valid flags. More...
+
Mask of all valid flags. More...
#define GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST (0x00000010u)
-
Initial metadata flags. More...
+
Initial metadata flags. More...
#define GRPC_INITIAL_METADATA_WAIT_FOR_READY (0x00000020u)
-
Signal that the call should not return UNAVAILABLE before it has started. More...
+
Signal that the call should not return UNAVAILABLE before it has started. More...
#define GRPC_INITIAL_METADATA_CACHEABLE_REQUEST (0x00000040u)
-
Signal that the call is cacheable. More...
+
Signal that the call is cacheable. More...
#define GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET (0x00000080u)
-
Signal that GRPC_INITIAL_METADATA_WAIT_FOR_READY was explicitly set by the calling application. More...
+
Signal that GRPC_INITIAL_METADATA_WAIT_FOR_READY was explicitly set by the calling application. More...
#define GRPC_INITIAL_METADATA_CORKED (0x00000100u)
-
Signal that the initial metadata should be corked. More...
+
Signal that the initial metadata should be corked. More...
#define GRPC_INITIAL_METADATA_USED_MASK
-
Mask of all valid flags. More...
+
Mask of all valid flags. More...
#define GRPC_CQ_CURRENT_VERSION 2
@@ -408,52 +419,52 @@ Typedefs
typedef struct grpc_byte_buffer grpc_byte_buffer
typedef struct grpc_completion_queue grpc_completion_queue
-
Completion Queues enable notification of the completion of asynchronous actions. More...
+
Completion Queues enable notification of the completion of asynchronous actions. More...
typedef struct grpc_alarm grpc_alarm
-
An alarm associated with a completion queue. More...
+
An alarm associated with a completion queue. More...
typedef struct grpc_channel grpc_channel
-
The Channel interface allows creation of Call objects. More...
+
The Channel interface allows creation of Call objects. More...
typedef struct grpc_server grpc_server
-
A server listens to some port and responds to request calls. More...
+
A server listens to some port and responds to request calls. More...
typedef struct grpc_call grpc_call
-
A Call represents an RPC. More...
+
A Call represents an RPC. More...
typedef struct grpc_socket_mutator grpc_socket_mutator
-
The Socket Mutator interface allows changes on socket options. More...
+
The Socket Mutator interface allows changes on socket options. More...
typedef struct grpc_socket_factory grpc_socket_factory
-
The Socket Factory interface creates and binds sockets. More...
+
The Socket Factory interface creates and binds sockets. More...
typedef struct grpc_arg_pointer_vtable grpc_arg_pointer_vtable
typedef enum grpc_call_error grpc_call_error
-
Result of a grpc call. More...
+
Result of a grpc call. More...
typedef struct grpc_metadata grpc_metadata
-
A single metadata element. More...
+
A single metadata element. More...
typedef enum grpc_completion_type grpc_completion_type
-
The type of completion (for grpc_event ) More...
+
The type of completion (for grpc_event ) More...
typedef struct grpc_event grpc_event
-
The result of an operation. More...
+
The result of an operation. More...
typedef struct grpc_op grpc_op
-
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) More...
+
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) More...
typedef struct grpc_resource_quota grpc_resource_quota
typedef struct grpc_experimental_completion_queue_functor grpc_experimental_completion_queue_functor
-
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues. More...
+
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues. More...
typedef struct grpc_completion_queue_attributes grpc_completion_queue_attributes
typedef struct grpc_completion_queue_factory grpc_completion_queue_factory
-
The completion queue factory structure is opaque to the callers of grpc. More...
+
The completion queue factory structure is opaque to the callers of grpc. More...
enum grpc_arg_type { GRPC_ARG_STRING ,
GRPC_ARG_INTEGER ,
GRPC_ARG_POINTER
- } Type specifier for grpc_arg . More...
-
+ }
+ Type specifier for grpc_arg . More...
enum grpc_call_error {
GRPC_CALL_OK = 0,
@@ -488,14 +499,14 @@ Enumerations
GRPC_CALL_ERROR_PAYLOAD_TYPE_MISMATCH ,
GRPC_CALL_ERROR_COMPLETION_QUEUE_SHUTDOWN
- } Result of a grpc call. More...
-
+ }
+ Result of a grpc call. More...
enum grpc_completion_type { GRPC_QUEUE_SHUTDOWN ,
GRPC_QUEUE_TIMEOUT ,
GRPC_OP_COMPLETE
- } The type of completion (for grpc_event ) More...
-
+ }
+ The type of completion (for grpc_event ) More...
enum grpc_op_type {
GRPC_OP_SEND_INITIAL_METADATA = 0,
@@ -513,14 +524,14 @@ Enumerations
enum grpc_cq_polling_type { GRPC_CQ_DEFAULT_POLLING ,
GRPC_CQ_NON_LISTENING ,
GRPC_CQ_NON_POLLING
- } Completion queues internally MAY maintain a set of file descriptors in a structure called 'pollset'. More...
-
+ }
+ Completion queues internally MAY maintain a set of file descriptors in a structure called 'pollset'. More...
enum grpc_cq_completion_type { GRPC_CQ_NEXT ,
GRPC_CQ_PLUCK ,
GRPC_CQ_CALLBACK
- } Specifies the type of APIs to use to pop events from the completion queue. More...
-
+ }
+ Specifies the type of APIs to use to pop events from the completion queue. More...
@@ -644,8 +655,11 @@ Enumerations
-
Value: GRPC_INITIAL_METADATA_WAIT_FOR_READY | \
GRPC_INITIAL_METADATA_CACHEABLE_REQUEST | \
GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET | \
#define GRPC_WRITE_THROUGH
Force this message to be written to the socket before completing it.
Definition: grpc_types.h:458
-
#define GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST
Initial metadata flags.
Definition: grpc_types.h:465
+
Value:
+
GRPC_INITIAL_METADATA_WAIT_FOR_READY | \
+
GRPC_INITIAL_METADATA_CACHEABLE_REQUEST | \
+
GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET | \
+
Mask of all valid flags.
@@ -902,7 +916,7 @@ Enumerations
@@ -1047,7 +1061,7 @@ Enumerations
-
Type specifier for grpc_arg .
+
Type specifier for grpc_arg .
Enumerator GRPC_ARG_STRING
GRPC_ARG_INTEGER
@@ -1137,7 +1151,7 @@ Enumerations
-
The type of completion (for grpc_event )
+
The type of completion (for grpc_event )
Enumerator GRPC_QUEUE_SHUTDOWN Shutting down.
@@ -1163,7 +1177,7 @@ Enumerations
Specifies the type of APIs to use to pop events from the completion queue.
-Enumerator GRPC_CQ_NEXT Events are popped out by calling grpc_completion_queue_next() API ONLY.
+Enumerator GRPC_CQ_NEXT Events are popped out by calling grpc_completion_queue_next() API ONLY.
GRPC_CQ_PLUCK Events are popped out by calling grpc_completion_queue_pluck() API ONLY.
@@ -1187,14 +1201,14 @@ Enumerations
Completion queues internally MAY maintain a set of file descriptors in a structure called 'pollset'.
This enum specifies if a completion queue has an associated pollset and any restrictions on the type of file descriptors that can be present in the pollset.
-I/O progress can only be made when grpc_completion_queue_next() or grpc_completion_queue_pluck() are called on the completion queue (unless the grpc_cq_polling_type is GRPC_CQ_NON_POLLING) and hence it is very important to actively call these APIs
+I/O progress can only be made when grpc_completion_queue_next() or grpc_completion_queue_pluck() are called on the completion queue (unless the grpc_cq_polling_type is GRPC_CQ_NON_POLLING) and hence it is very important to actively call these APIs
Enumerator GRPC_CQ_DEFAULT_POLLING The completion queue will have an associated pollset and there is no restriction on the type of file descriptors the pollset may contain.
GRPC_CQ_NON_LISTENING Similar to GRPC_CQ_DEFAULT_POLLING except that the completion queues will not contain any 'listening file descriptors' (i.e file descriptors used to listen to incoming channels)
GRPC_CQ_NON_POLLING The completion queue will not have an associated pollset.
-Note that grpc_completion_queue_next() or grpc_completion_queue_pluck() MUST still be called to pop events from the completion queue; it is not required to call them actively to make I/O progress
+Note that grpc_completion_queue_next() or grpc_completion_queue_pluck() MUST still be called to pop events from the completion queue; it is not required to call them actively to make I/O progress
@@ -1241,11 +1255,13 @@ Enumerations
+#define GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST
Initial metadata flags.
Definition: grpc_types.h:484
+#define GRPC_WRITE_THROUGH
Force this message to be written to the socket before completing it.
Definition: grpc_types.h:477
diff --git a/core/grpc__types_8h_source.html b/core/grpc__types_8h_source.html
index 97117b7d59e..77a096f39a5 100644
--- a/core/grpc__types_8h_source.html
+++ b/core/grpc__types_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/grpc_types.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
grpc_types.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_GRPC_TYPES_H 20 #define GRPC_IMPL_CODEGEN_GRPC_TYPES_H 42 grpc_byte_buffer_type
type ;
86 void * (*copy)(
void * p);
87 void (*destroy)(
void * p);
88 int (*cmp)(
void * p,
void * q);
142 #define GRPC_ARG_ENABLE_CENSUS "grpc.census" 144 #define GRPC_ARG_ENABLE_LOAD_REPORTING "grpc.loadreporting" 147 #define GRPC_ARG_MINIMAL_STACK "grpc.minimal_stack" 150 #define GRPC_ARG_MAX_CONCURRENT_STREAMS "grpc.max_concurrent_streams" 153 #define GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH "grpc.max_receive_message_length" 156 #define GRPC_ARG_MAX_MESSAGE_LENGTH GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH 159 #define GRPC_ARG_MAX_SEND_MESSAGE_LENGTH "grpc.max_send_message_length" 163 #define GRPC_ARG_MAX_CONNECTION_IDLE_MS "grpc.max_connection_idle_ms" 166 #define GRPC_ARG_MAX_CONNECTION_AGE_MS "grpc.max_connection_age_ms" 169 #define GRPC_ARG_MAX_CONNECTION_AGE_GRACE_MS "grpc.max_connection_age_grace_ms" 173 #define GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS "grpc.client_idle_timeout_ms" 176 #define GRPC_ARG_ENABLE_PER_MESSAGE_COMPRESSION "grpc.per_message_compression" 179 #define GRPC_ARG_ENABLE_DEADLINE_CHECKS "grpc.enable_deadline_checking" 181 #define GRPC_ARG_HTTP2_INITIAL_SEQUENCE_NUMBER \ 182 "grpc.http2.initial_sequence_number" 187 #define GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES "grpc.http2.lookahead_bytes" 189 #define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER \ 190 "grpc.http2.hpack_table_size.decoder" 192 #define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_ENCODER \ 193 "grpc.http2.hpack_table_size.encoder" 197 #define GRPC_ARG_HTTP2_MAX_FRAME_SIZE "grpc.http2.max_frame_size" 199 #define GRPC_ARG_HTTP2_BDP_PROBE "grpc.http2.bdp_probe" 202 #define GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS \ 203 "grpc.http2.min_time_between_pings_ms" 206 #define GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS \ 207 "grpc.http2.min_ping_interval_without_data_ms" 209 #define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme" 213 #define GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA \ 214 "grpc.http2.max_pings_without_data" 218 #define GRPC_ARG_HTTP2_MAX_PING_STRIKES "grpc.http2.max_ping_strikes" 221 #define GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE "grpc.http2.write_buffer_size" 224 #define GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY "grpc.http2.true_binary" 227 #define GRPC_ARG_KEEPALIVE_TIME_MS "grpc.keepalive_time_ms" 231 #define GRPC_ARG_KEEPALIVE_TIMEOUT_MS "grpc.keepalive_timeout_ms" 234 #define GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS \ 235 "grpc.keepalive_permit_without_calls" 238 #define GRPC_ARG_DEFAULT_AUTHORITY "grpc.default_authority" 241 #define GRPC_ARG_PRIMARY_USER_AGENT_STRING "grpc.primary_user_agent" 244 #define GRPC_ARG_SECONDARY_USER_AGENT_STRING "grpc.secondary_user_agent" 246 #define GRPC_ARG_MIN_RECONNECT_BACKOFF_MS "grpc.min_reconnect_backoff_ms" 248 #define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS "grpc.max_reconnect_backoff_ms" 250 #define GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS \ 251 "grpc.initial_reconnect_backoff_ms" 253 #define GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS \ 254 "grpc.dns_min_time_between_resolutions_ms" 257 #define GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS "grpc.server_handshake_timeout_ms" 265 #define GRPC_SSL_TARGET_NAME_OVERRIDE_ARG "grpc.ssl_target_name_override" 269 #define GRPC_SSL_SESSION_CACHE_ARG "grpc.ssl_session_cache" 277 #define GRPC_ARG_TSI_MAX_FRAME_SIZE "grpc.tsi.max_frame_size" 280 #define GRPC_ARG_MAX_METADATA_SIZE "grpc.max_metadata_size" 282 #define GRPC_ARG_ALLOW_REUSEPORT "grpc.so_reuseport" 286 #define GRPC_ARG_RESOURCE_QUOTA "grpc.resource_quota" 288 #define GRPC_ARG_EXPAND_WILDCARD_ADDRS "grpc.expand_wildcard_addrs" 291 #define GRPC_ARG_SERVICE_CONFIG "grpc.service_config" 293 #define GRPC_ARG_SERVICE_CONFIG_DISABLE_RESOLUTION \ 294 "grpc.service_config_disable_resolution" 296 #define GRPC_ARG_LB_POLICY_NAME "grpc.lb_policy_name" 298 #define GRPC_ARG_SOCKET_MUTATOR "grpc.socket_mutator" 300 #define GRPC_ARG_SOCKET_FACTORY "grpc.socket_factory" 305 #define GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE \ 306 "grpc.max_channel_trace_event_memory_per_node" 310 #define GRPC_ARG_ENABLE_CHANNELZ "grpc.enable_channelz" 313 #define GRPC_ARG_USE_CRONET_PACKET_COALESCING \ 314 "grpc.use_cronet_packet_coalescing" 317 #define GRPC_ARG_TCP_READ_CHUNK_SIZE "grpc.experimental.tcp_read_chunk_size" 321 #define GRPC_TCP_DEFAULT_READ_SLICE_SIZE 8192 322 #define GRPC_ARG_TCP_MIN_READ_CHUNK_SIZE \ 323 "grpc.experimental.tcp_min_read_chunk_size" 324 #define GRPC_ARG_TCP_MAX_READ_CHUNK_SIZE \ 325 "grpc.experimental.tcp_max_read_chunk_size" 328 #define GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS "grpc.grpclb_call_timeout_ms" 332 #define GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS "grpc.grpclb_fallback_timeout_ms" 336 #define GRPC_ARG_XDS_FALLBACK_TIMEOUT_MS "grpc.xds_fallback_timeout_ms" 340 #define GRPC_ARG_LOCALITY_RETENTION_INTERVAL_MS \ 341 "grpc.xds_locality_retention_interval_ms" 348 #define GRPC_ARG_XDS_FAILOVER_TIMEOUT_MS "grpc.xds_failover_timeout_ms" 350 #define GRPC_ARG_WORKAROUND_CRONET_COMPRESSION \ 351 "grpc.workaround.cronet_compression" 359 #define GRPC_ARG_OPTIMIZATION_TARGET "grpc.optimization_target" 365 #define GRPC_ARG_ENABLE_RETRIES "grpc.enable_retries" 367 #define GRPC_ARG_PER_RPC_RETRY_BUFFER_SIZE "grpc.per_rpc_retry_buffer_size" 370 #define GRPC_ARG_MOBILE_LOG_CONTEXT "grpc.mobile_log_context" 372 #define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER \ 373 "grpc.disable_client_authority_filter" 375 #define GRPC_ARG_ENABLE_HTTP_PROXY "grpc.enable_http_proxy" 378 #define GRPC_ARG_SURFACE_USER_AGENT "grpc.surface_user_agent" 381 #define GRPC_ARG_INHIBIT_HEALTH_CHECKING "grpc.inhibit_health_checking" 386 #define GRPC_ARG_DNS_ENABLE_SRV_QUERIES "grpc.dns_enable_srv_queries" 393 #define GRPC_ARG_DNS_ARES_QUERY_TIMEOUT_MS "grpc.dns_ares_query_timeout" 396 #define GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL "grpc.use_local_subchannel_pool" 398 #define GRPC_ARG_CHANNEL_POOL_DOMAIN "grpc.channel_pooling_domain" 400 #define GRPC_ARG_CHANNEL_ID "grpc.channel_id" 446 #define GRPC_DEFAULT_MAX_SEND_MESSAGE_LENGTH -1 447 #define GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH (4 * 1024 * 1024) 453 #define GRPC_WRITE_BUFFER_HINT (0x00000001u) 456 #define GRPC_WRITE_NO_COMPRESS (0x00000002u) 458 #define GRPC_WRITE_THROUGH (0x00000004u) 460 #define GRPC_WRITE_USED_MASK \ 461 (GRPC_WRITE_BUFFER_HINT | GRPC_WRITE_NO_COMPRESS | GRPC_WRITE_THROUGH) 465 #define GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST (0x00000010u) 467 #define GRPC_INITIAL_METADATA_WAIT_FOR_READY (0x00000020u) 469 #define GRPC_INITIAL_METADATA_CACHEABLE_REQUEST (0x00000040u) 472 #define GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET (0x00000080u) 474 #define GRPC_INITIAL_METADATA_CORKED (0x00000100u) 477 #define GRPC_INITIAL_METADATA_USED_MASK \ 478 (GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST | \ 479 GRPC_INITIAL_METADATA_WAIT_FOR_READY | \ 480 GRPC_INITIAL_METADATA_CACHEABLE_REQUEST | \ 481 GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET | \ 482 GRPC_INITIAL_METADATA_CORKED | GRPC_WRITE_THROUGH) 610 } maybe_compression_level;
611 } send_initial_metadata;
628 } send_status_from_server;
636 } recv_initial_metadata;
658 } recv_status_on_client;
663 } recv_close_on_server;
740 #define GRPC_CQ_CURRENT_VERSION 2 741 #define GRPC_CQ_VERSION_MINIMUM_FOR_CALLBACKABLE 2 everything went ok
Definition: grpc_types.h:409
-
void * tag
The tag passed to grpc_call_start_batch etc to start this operation.
Definition: grpc_types.h:526
-
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
-
grpc_op_type op
Operation type, as defined by grpc_op_type.
Definition: grpc_types.h:592
-
-
struct grpc_byte_buffer::grpc_byte_buffer_data::grpc_compressed_buffer raw
-
completion queue has been shutdown
Definition: grpc_types.h:441
-
void * reserved
Reserved for future usage.
Definition: grpc_types.h:596
-
-
The completion queue will not have an associated pollset.
Definition: grpc_types.h:702
-
this method is not available on the server
Definition: grpc_types.h:413
-
char ** lb_policy_name
If non-NULL, will be set to point to a string indicating the LB policy name.
Definition: grpc_types.h:671
-
struct grpc_op grpc_op
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) ...
-
struct grpc_completion_queue_factory grpc_completion_queue_factory
The completion queue factory structure is opaque to the callers of grpc.
Definition: grpc_types.h:762
-
int inlineable
The inlineable member specifies whether this functor can be run inline.
Definition: grpc_types.h:731
-
-
An array of arguments that can be passed around.
Definition: grpc_types.h:132
-
Definition: grpc_types.h:85
-
grpc_arg * args
Definition: grpc_types.h:134
-
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
-
struct grpc_byte_buffer ** recv_message
Definition: grpc_types.h:643
-
struct grpc_byte_buffer * send_message
This op takes ownership of the slices in send_message.
Definition: grpc_types.h:618
-
Send a close from the client: one and only one instance MUST be sent from the client, unless the call was cancelled - in which case this can be skipped.
Definition: grpc_types.h:557
-
EXPERIMENTAL: Events trigger a callback specified as the tag.
Definition: grpc_types.h:714
-
Send status from the server: one and only one instance MUST be sent from the server unless the call w...
Definition: grpc_types.h:562
-
Future types may include GRPC_BB_PROTOBUF, etc.
Definition: grpc_types.h:36
-
gpr_timespec deadline
Definition: grpc_types.h:538
-
-
there is already an outstanding read/write operation on the call
Definition: grpc_types.h:426
-
The result of an operation.
Definition: grpc_types.h:514
-
-
-
const char ** error_string
If this is not nullptr, it will be populated with the full fidelity error string for debugging purpos...
Definition: grpc_types.h:657
-
grpc_slice * status_details
Definition: grpc_types.h:653
-
completion queue for notification has not been registered with the server
Definition: grpc_types.h:435
-
No event before timeout.
Definition: grpc_types.h:506
-
grpc_cq_completion_type cq_completion_type
Set to GRPC_CQ_CURRENT_VERSION.
Definition: grpc_types.h:747
-
char * string
Definition: grpc_types.h:107
-
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...
Definition: slice.h:60
-
struct grpc_socket_mutator grpc_socket_mutator
The Socket Mutator interface allows changes on socket options.
Definition: grpc_types.h:73
-
struct grpc_arg_pointer_vtable grpc_arg_pointer_vtable
-
-
Send a message: 0 or more of these operations can occur for each call.
Definition: grpc_types.h:552
-
Definition: grpc_types.h:109
-
int success
If the grpc_completion_type is GRPC_OP_COMPLETE, this field indicates whether the operation was succe...
Definition: grpc_types.h:522
-
this method must be called before invoke
Definition: grpc_types.h:419
-
-
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
-
-
grpc_byte_buffer_type type
Definition: grpc_types.h:42
-
A single argument...
Definition: grpc_types.h:103
-
Definition: grpc_types.h:535
-
Definition: grpc_types.h:40
-
Events are popped out by calling grpc_completion_queue_next() API ONLY.
Definition: grpc_types.h:708
-
-
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
-
invalid message was passed to this call
Definition: grpc_types.h:432
-
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
-
grpc_arg_type
Type specifier for grpc_arg.
Definition: grpc_types.h:79
-
grpc_metadata_array * trailing_metadata
ownership of the array is with the caller, but ownership of the elements stays with the call object (...
Definition: grpc_types.h:651
-
Definition: grpc_types.h:742
-
uint32_t flags
Definition: grpc_types.h:539
-
Definition: grpc_types.h:106
-
grpc_call_error
Result of a grpc call.
Definition: grpc_types.h:407
-
const grpc_arg_pointer_vtable * vtable
Definition: grpc_types.h:111
-
something failed, we don't know what
Definition: grpc_types.h:411
-
-
grpc_cq_completion_type
Specifies the type of APIs to use to pop events from the completion queue.
Definition: grpc_types.h:706
-
grpc_cq_polling_type
Completion queues internally MAY maintain a set of file descriptors in a structure called 'pollset'...
Definition: grpc_types.h:688
-
struct grpc_experimental_completion_queue_functor grpc_experimental_completion_queue_functor
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues...
-
Definition: grpc_types.h:659
-
Shutting down.
Definition: grpc_types.h:504
-
-
Events are popped out by calling grpc_completion_queue_pluck() API ONLY.
Definition: grpc_types.h:711
-
this method must be called before server_accept
Definition: grpc_types.h:417
-
this method must be called after invoke
Definition: grpc_types.h:421
-
grpc_completion_type
The type of completion (for grpc_event)
Definition: grpc_types.h:502
-
grpc_slice method
Definition: grpc_types.h:536
-
-
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level) ...
Definition: compression_types.h:57
-
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) ...
Definition: grpc_types.h:590
-
void * reserved
Definition: grpc_types.h:540
-
Receive initial metadata: one and only one MUST be made on the client, must not be made on the server...
Definition: grpc_types.h:567
-
int internal_success
The following fields are not API.
Definition: grpc_types.h:734
-
ownership of the byte buffer is moved to the caller; the caller must call grpc_byte_buffer_destroy on...
Definition: grpc_types.h:642
-
void * reserved[8]
Definition: grpc_types.h:45
-
Receive close on the server: one and only one must be made on the server.
Definition: grpc_types.h:583
-
this call is already finished (writes_done or write_status has already been called) ...
Definition: grpc_types.h:424
-
struct grpc_alarm grpc_alarm
An alarm associated with a completion queue.
Definition: grpc_types.h:59
-
The completion queue will have an associated pollset and there is no restriction on the type of file ...
Definition: grpc_types.h:691
-
Similar to GRPC_CQ_DEFAULT_POLLING except that the completion queues will not contain any 'listening ...
Definition: grpc_types.h:696
-
Send initial metadata: one and only one instance MUST be sent for each call, unless the call was canc...
Definition: grpc_types.h:548
-
the flags value was illegal for this call
Definition: grpc_types.h:428
-
grpc_byte_buffer_type
Definition: grpc_types.h:35
-
int * cancelled
out argument, set to 1 if the call failed in any way (seen as a cancellation on the server)...
Definition: grpc_types.h:662
-
struct grpc_socket_factory grpc_socket_factory
The Socket Factory interface creates and binds sockets.
Definition: grpc_types.h:76
-
grpc_slice * status_details
optional: set to NULL if no details need sending, non-NULL if they do pointer will not be retained pa...
Definition: grpc_types.h:627
-
struct grpc_byte_buffer grpc_byte_buffer
-
size_t trailing_metadata_count
Definition: grpc_types.h:621
-
-
grpc_slice host
Definition: grpc_types.h:537
-
union grpc_byte_buffer::grpc_byte_buffer_data data
-
size_t num_args
Definition: grpc_types.h:133
-
Definition: grpc_types.h:47
-
-
char * key
Definition: grpc_types.h:105
-
void * p
Definition: grpc_types.h:110
-
-
Definition: grpc_types.h:82
-
struct grpc_event grpc_event
The result of an operation.
-
Definition: grpc_types.h:612
-
int integer
Definition: grpc_types.h:108
-
Information requested from the channel.
Definition: grpc_types.h:668
-
-
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:677
-
Receive status on the client: one and only one must be made on the client.
Definition: grpc_types.h:577
-
Definition: grpc_types.h:597
-
struct grpc_experimental_completion_queue_functor * internal_next
Definition: grpc_types.h:735
-
Analogous to struct timespec.
Definition: gpr_types.h:47
-
grpc_compression_algorithm compression
Definition: grpc_types.h:48
-
-
struct grpc_completion_queue_attributes grpc_completion_queue_attributes
-
Definition: grpc_types.h:43
-
grpc_status_code status
Definition: grpc_types.h:623
-
char ** service_config_json
If non-NULL, will be set to point to a string containing the service config used by the channel in JS...
Definition: grpc_types.h:674
-
grpc_status_code * status
Definition: grpc_types.h:652
-
-
uint32_t flags
Write flags bitset for grpc_begin_messages.
Definition: grpc_types.h:594
-
Definition: grpc_types.h:620
-
Definition: grpc_types.h:645
-
Definition: grpc_types.h:81
-
-
struct grpc_completion_queue grpc_completion_queue
Completion Queues enable notification of the completion of asynchronous actions.
Definition: grpc_types.h:56
-
payload type requested is not the type registered
Definition: grpc_types.h:439
-
Receive a message: 0 or more of these operations can occur for each call.
Definition: grpc_types.h:571
-
this batch of operations leads to more operations than allowed
Definition: grpc_types.h:437
-
grpc_status_code
Definition: status.h:26
-
this method is not available on the client
Definition: grpc_types.h:415
-
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues...
Definition: grpc_types.h:722
-
grpc_experimental_completion_queue_functor * cq_shutdown_cb
When creating a callbackable CQ, pass in a functor to get invoked when shutdown is complete...
Definition: grpc_types.h:756
-
grpc_slice_buffer slice_buffer
Definition: grpc_types.h:49
-
grpc_completion_type type
The type of the completion.
Definition: grpc_types.h:516
-
grpc_arg_type type
Definition: grpc_types.h:104
-
grpc_cq_polling_type cq_polling_type
Definition: grpc_types.h:749
-
void * reserved
Definition: grpc_types.h:41
-
Definition: grpc_types.h:80
-
struct grpc_metadata grpc_metadata
A single metadata element.
-
-
grpc_metadata * trailing_metadata
Definition: grpc_types.h:622
-
Operation completion.
Definition: grpc_types.h:508
-
int version
The version number of this structure.
Definition: grpc_types.h:745
-
invalid metadata was passed to this call
Definition: grpc_types.h:430
-
grpc_op_type
Definition: grpc_types.h:543
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_GRPC_TYPES_H
+
20 #define GRPC_IMPL_CODEGEN_GRPC_TYPES_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
86 void * (*copy)(
void * p);
+
+
88 int (*
cmp )(
void * p,
void * q);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
142 #define GRPC_ARG_ENABLE_CENSUS "grpc.census"
+
+
144 #define GRPC_ARG_ENABLE_LOAD_REPORTING "grpc.loadreporting"
+
+
147 #define GRPC_ARG_MINIMAL_STACK "grpc.minimal_stack"
+
+
150 #define GRPC_ARG_MAX_CONCURRENT_STREAMS "grpc.max_concurrent_streams"
+
+
153 #define GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH "grpc.max_receive_message_length"
+
+
156 #define GRPC_ARG_MAX_MESSAGE_LENGTH GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH
+
+
159 #define GRPC_ARG_MAX_SEND_MESSAGE_LENGTH "grpc.max_send_message_length"
+
+
163 #define GRPC_ARG_MAX_CONNECTION_IDLE_MS "grpc.max_connection_idle_ms"
+
+
166 #define GRPC_ARG_MAX_CONNECTION_AGE_MS "grpc.max_connection_age_ms"
+
+
169 #define GRPC_ARG_MAX_CONNECTION_AGE_GRACE_MS "grpc.max_connection_age_grace_ms"
+
+
173 #define GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS "grpc.client_idle_timeout_ms"
+
+
176 #define GRPC_ARG_ENABLE_PER_MESSAGE_COMPRESSION "grpc.per_message_compression"
+
+
179 #define GRPC_ARG_ENABLE_DEADLINE_CHECKS "grpc.enable_deadline_checking"
+
+
181 #define GRPC_ARG_HTTP2_INITIAL_SEQUENCE_NUMBER \
+
182 "grpc.http2.initial_sequence_number"
+
+
187 #define GRPC_ARG_HTTP2_STREAM_LOOKAHEAD_BYTES "grpc.http2.lookahead_bytes"
+
+
189 #define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_DECODER \
+
190 "grpc.http2.hpack_table_size.decoder"
+
+
192 #define GRPC_ARG_HTTP2_HPACK_TABLE_SIZE_ENCODER \
+
193 "grpc.http2.hpack_table_size.encoder"
+
+
197 #define GRPC_ARG_HTTP2_MAX_FRAME_SIZE "grpc.http2.max_frame_size"
+
+
199 #define GRPC_ARG_HTTP2_BDP_PROBE "grpc.http2.bdp_probe"
+
+
202 #define GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS \
+
203 "grpc.http2.min_time_between_pings_ms"
+
+
206 #define GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS \
+
207 "grpc.http2.min_ping_interval_without_data_ms"
+
+
209 #define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme"
+
+
213 #define GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA \
+
214 "grpc.http2.max_pings_without_data"
+
+
218 #define GRPC_ARG_HTTP2_MAX_PING_STRIKES "grpc.http2.max_ping_strikes"
+
+
221 #define GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE "grpc.http2.write_buffer_size"
+
+
224 #define GRPC_ARG_HTTP2_ENABLE_TRUE_BINARY "grpc.http2.true_binary"
+
+
227 #define GRPC_ARG_KEEPALIVE_TIME_MS "grpc.keepalive_time_ms"
+
+
231 #define GRPC_ARG_KEEPALIVE_TIMEOUT_MS "grpc.keepalive_timeout_ms"
+
+
234 #define GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS \
+
235 "grpc.keepalive_permit_without_calls"
+
+
238 #define GRPC_ARG_DEFAULT_AUTHORITY "grpc.default_authority"
+
+
241 #define GRPC_ARG_PRIMARY_USER_AGENT_STRING "grpc.primary_user_agent"
+
+
244 #define GRPC_ARG_SECONDARY_USER_AGENT_STRING "grpc.secondary_user_agent"
+
+
246 #define GRPC_ARG_MIN_RECONNECT_BACKOFF_MS "grpc.min_reconnect_backoff_ms"
+
+
248 #define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS "grpc.max_reconnect_backoff_ms"
+
+
250 #define GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS \
+
251 "grpc.initial_reconnect_backoff_ms"
+
+
253 #define GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS \
+
254 "grpc.dns_min_time_between_resolutions_ms"
+
+
257 #define GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS "grpc.server_handshake_timeout_ms"
+
+
265 #define GRPC_SSL_TARGET_NAME_OVERRIDE_ARG "grpc.ssl_target_name_override"
+
+
269 #define GRPC_SSL_SESSION_CACHE_ARG "grpc.ssl_session_cache"
+
+
277 #define GRPC_ARG_TSI_MAX_FRAME_SIZE "grpc.tsi.max_frame_size"
+
+
280 #define GRPC_ARG_MAX_METADATA_SIZE "grpc.max_metadata_size"
+
+
282 #define GRPC_ARG_ALLOW_REUSEPORT "grpc.so_reuseport"
+
+
286 #define GRPC_ARG_RESOURCE_QUOTA "grpc.resource_quota"
+
+
288 #define GRPC_ARG_EXPAND_WILDCARD_ADDRS "grpc.expand_wildcard_addrs"
+
+
291 #define GRPC_ARG_SERVICE_CONFIG "grpc.service_config"
+
+
293 #define GRPC_ARG_SERVICE_CONFIG_DISABLE_RESOLUTION \
+
294 "grpc.service_config_disable_resolution"
+
+
296 #define GRPC_ARG_LB_POLICY_NAME "grpc.lb_policy_name"
+
+
298 #define GRPC_ARG_SOCKET_MUTATOR "grpc.socket_mutator"
+
+
300 #define GRPC_ARG_SOCKET_FACTORY "grpc.socket_factory"
+
+
305 #define GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE \
+
306 "grpc.max_channel_trace_event_memory_per_node"
+
+
310 #define GRPC_ARG_ENABLE_CHANNELZ "grpc.enable_channelz"
+
+
313 #define GRPC_ARG_USE_CRONET_PACKET_COALESCING \
+
314 "grpc.use_cronet_packet_coalescing"
+
+
317 #define GRPC_ARG_TCP_READ_CHUNK_SIZE "grpc.experimental.tcp_read_chunk_size"
+
+
321 #define GRPC_TCP_DEFAULT_READ_SLICE_SIZE 8192
+
322 #define GRPC_ARG_TCP_MIN_READ_CHUNK_SIZE \
+
323 "grpc.experimental.tcp_min_read_chunk_size"
+
324 #define GRPC_ARG_TCP_MAX_READ_CHUNK_SIZE \
+
325 "grpc.experimental.tcp_max_read_chunk_size"
+
+
+
328 #define GRPC_ARG_TCP_TX_ZEROCOPY_ENABLED \
+
329 "grpc.experimental.tcp_tx_zerocopy_enabled"
+
+
+
332 #define GRPC_ARG_TCP_TX_ZEROCOPY_SEND_BYTES_THRESHOLD \
+
333 "grpc.experimental.tcp_tx_zerocopy_send_bytes_threshold"
+
+
+
+
+
338 #define GRPC_ARG_TCP_TX_ZEROCOPY_MAX_SIMULT_SENDS \
+
339 "grpc.experimental.tcp_tx_zerocopy_max_simultaneous_sends"
+
+
+
342 #define GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS "grpc.grpclb_call_timeout_ms"
+
+
+
+
346 #define GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS "grpc.grpclb_fallback_timeout_ms"
+
+
+
+
350 #define GRPC_ARG_XDS_FALLBACK_TIMEOUT_MS "grpc.xds_fallback_timeout_ms"
+
+
+
+
354 #define GRPC_ARG_LOCALITY_RETENTION_INTERVAL_MS \
+
355 "grpc.xds_locality_retention_interval_ms"
+
+
+
+
+
+
+
362 #define GRPC_ARG_XDS_FAILOVER_TIMEOUT_MS "grpc.xds_failover_timeout_ms"
+
+
+
+
366 #define GRPC_ARG_XDS_RESOURCE_DOES_NOT_EXIST_TIMEOUT_MS \
+
367 "grpc.xds_resource_does_not_exist_timeout_ms"
+
+
369 #define GRPC_ARG_WORKAROUND_CRONET_COMPRESSION \
+
370 "grpc.workaround.cronet_compression"
+
+
378 #define GRPC_ARG_OPTIMIZATION_TARGET "grpc.optimization_target"
+
+
384 #define GRPC_ARG_ENABLE_RETRIES "grpc.enable_retries"
+
+
386 #define GRPC_ARG_PER_RPC_RETRY_BUFFER_SIZE "grpc.per_rpc_retry_buffer_size"
+
+
389 #define GRPC_ARG_MOBILE_LOG_CONTEXT "grpc.mobile_log_context"
+
+
391 #define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER \
+
392 "grpc.disable_client_authority_filter"
+
+
394 #define GRPC_ARG_ENABLE_HTTP_PROXY "grpc.enable_http_proxy"
+
+
397 #define GRPC_ARG_SURFACE_USER_AGENT "grpc.surface_user_agent"
+
+
400 #define GRPC_ARG_INHIBIT_HEALTH_CHECKING "grpc.inhibit_health_checking"
+
+
405 #define GRPC_ARG_DNS_ENABLE_SRV_QUERIES "grpc.dns_enable_srv_queries"
+
+
412 #define GRPC_ARG_DNS_ARES_QUERY_TIMEOUT_MS "grpc.dns_ares_query_timeout"
+
+
415 #define GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL "grpc.use_local_subchannel_pool"
+
+
417 #define GRPC_ARG_CHANNEL_POOL_DOMAIN "grpc.channel_pooling_domain"
+
+
419 #define GRPC_ARG_CHANNEL_ID "grpc.channel_id"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
465 #define GRPC_DEFAULT_MAX_SEND_MESSAGE_LENGTH -1
+
466 #define GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH (4 * 1024 * 1024)
+
+
472 #define GRPC_WRITE_BUFFER_HINT (0x00000001u)
+
+
475 #define GRPC_WRITE_NO_COMPRESS (0x00000002u)
+
+
477 #define GRPC_WRITE_THROUGH (0x00000004u)
+
+
479 #define GRPC_WRITE_USED_MASK \
+
480 (GRPC_WRITE_BUFFER_HINT | GRPC_WRITE_NO_COMPRESS | GRPC_WRITE_THROUGH)
+
+
484 #define GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST (0x00000010u)
+
+
486 #define GRPC_INITIAL_METADATA_WAIT_FOR_READY (0x00000020u)
+
+
488 #define GRPC_INITIAL_METADATA_CACHEABLE_REQUEST (0x00000040u)
+
+
491 #define GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET (0x00000080u)
+
+
493 #define GRPC_INITIAL_METADATA_CORKED (0x00000100u)
+
+
496 #define GRPC_INITIAL_METADATA_USED_MASK \
+
497 (GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST | \
+
498 GRPC_INITIAL_METADATA_WAIT_FOR_READY | \
+
499 GRPC_INITIAL_METADATA_CACHEABLE_REQUEST | \
+
500 GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET | \
+
501 GRPC_INITIAL_METADATA_CORKED | GRPC_WRITE_THROUGH)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
759 #define GRPC_CQ_CURRENT_VERSION 2
+
760 #define GRPC_CQ_VERSION_MINIMUM_FOR_CALLBACKABLE 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
A single argument...
Definition: grpc_types.h:103
+
struct grpc_byte_buffer * send_message
This op takes ownership of the slices in send_message.
Definition: grpc_types.h:637
+
uint32_t flags
Write flags bitset for grpc_begin_messages.
Definition: grpc_types.h:613
+
grpc_call_error
Result of a grpc call.
Definition: grpc_types.h:426
+
this method must be called before invoke
Definition: grpc_types.h:438
+
int inlineable
The inlineable member specifies whether this functor can be run inline.
Definition: grpc_types.h:750
+
+
grpc_metadata_array * trailing_metadata
ownership of the array is with the caller, but ownership of the elements stays with the call object (...
Definition: grpc_types.h:670
+
grpc_completion_type
The type of completion (for grpc_event)
Definition: grpc_types.h:521
+
+
grpc_status_code * status
Definition: grpc_types.h:671
+
grpc_arg_type
Type specifier for grpc_arg.
Definition: grpc_types.h:79
+
there is already an outstanding read/write operation on the call
Definition: grpc_types.h:445
+
Definition: grpc_types.h:81
+
Events are popped out by calling grpc_completion_queue_next() API ONLY.
Definition: grpc_types.h:727
+
+
struct grpc_completion_queue_attributes grpc_completion_queue_attributes
+
Definition: grpc_types.h:639
+
struct grpc_socket_mutator grpc_socket_mutator
The Socket Mutator interface allows changes on socket options.
Definition: grpc_types.h:73
+
uint32_t flags
Definition: grpc_types.h:558
+
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:696
+
something failed, we don't know what
Definition: grpc_types.h:430
+
invalid message was passed to this call
Definition: grpc_types.h:451
+
+
Definition: grpc_types.h:80
+
grpc_cq_polling_type
Completion queues internally MAY maintain a set of file descriptors in a structure called 'pollset'.
Definition: grpc_types.h:707
+
+
Definition: grpc_types.h:554
+
void * reserved
Reserved for future usage.
Definition: grpc_types.h:615
+
grpc_experimental_completion_queue_functor * cq_shutdown_cb
When creating a callbackable CQ, pass in a functor to get invoked when shutdown is complete.
Definition: grpc_types.h:775
+
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level)
Definition: compression_types.h:57
+
grpc_cq_completion_type
Specifies the type of APIs to use to pop events from the completion queue.
Definition: grpc_types.h:725
+
this method is not available on the client
Definition: grpc_types.h:434
+
struct grpc_op::grpc_op_data::grpc_op_send_initial_metadata send_initial_metadata
+
Definition: grpc_types.h:631
+
Definition: grpc_types.h:43
+
completion queue has been shutdown
Definition: grpc_types.h:460
+
Shutting down.
Definition: grpc_types.h:523
+
void * reserved
Definition: grpc_types.h:41
+
Operation completion.
Definition: grpc_types.h:527
+
struct grpc_byte_buffer grpc_byte_buffer
+
+
everything went ok
Definition: grpc_types.h:428
+
struct grpc_op::grpc_op_data::grpc_op_send_message send_message
+
+
grpc_slice method
Definition: grpc_types.h:555
+
invalid metadata was passed to this call
Definition: grpc_types.h:449
+
this method is not available on the server
Definition: grpc_types.h:432
+
+
+
Definition: grpc_types.h:85
+
An array of arguments that can be passed around.
Definition: grpc_types.h:132
+
struct grpc_op::grpc_op_data::grpc_op_recv_initial_metadata recv_initial_metadata
+
Future types may include GRPC_BB_PROTOBUF, etc.
Definition: grpc_types.h:36
+
struct grpc_op::grpc_op_data::grpc_op_send_status_from_server send_status_from_server
+
The completion queue will not have an associated pollset.
Definition: grpc_types.h:721
+
+
Definition: grpc_types.h:664
+
grpc_byte_buffer_type type
Definition: grpc_types.h:42
+
union grpc_byte_buffer::grpc_byte_buffer_data data
+
struct grpc_byte_buffer ** recv_message
Definition: grpc_types.h:662
+
+
+
The completion queue will have an associated pollset and there is no restriction on the type of file ...
Definition: grpc_types.h:710
+
Receive initial metadata: one and only one MUST be made on the client, must not be made on the server...
Definition: grpc_types.h:586
+
char * string
Definition: grpc_types.h:107
+
this method must be called after invoke
Definition: grpc_types.h:440
+
Similar to GRPC_CQ_DEFAULT_POLLING except that the completion queues will not contain any 'listening ...
Definition: grpc_types.h:715
+
int internal_success
The following fields are not API.
Definition: grpc_types.h:753
+
Send status from the server: one and only one instance MUST be sent from the server unless the call w...
Definition: grpc_types.h:581
+
const grpc_arg_pointer_vtable * vtable
Definition: grpc_types.h:111
+
the flags value was illegal for this call
Definition: grpc_types.h:447
+
+
struct grpc_metadata grpc_metadata
A single metadata element.
+
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues.
Definition: grpc_types.h:741
+
grpc_status_code status
Definition: grpc_types.h:642
+
void * reserved[8]
Definition: grpc_types.h:619
+
Definition: grpc_types.h:109
+
const char ** error_string
If this is not nullptr, it will be populated with the full fidelity error string for debugging purpos...
Definition: grpc_types.h:676
+
The result of an operation.
Definition: grpc_types.h:533
+
grpc_op_type
Definition: grpc_types.h:562
+
+
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
+
Definition: grpc_types.h:40
+
struct grpc_alarm grpc_alarm
An alarm associated with a completion queue.
Definition: grpc_types.h:59
+
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments)
Definition: grpc_types.h:609
+
Send a message: 0 or more of these operations can occur for each call.
Definition: grpc_types.h:571
+
size_t num_args
Definition: grpc_types.h:133
+
Definition: grpc_types.h:678
+
struct grpc_op::grpc_op_data::grpc_op_recv_message recv_message
+
grpc_metadata * trailing_metadata
Definition: grpc_types.h:641
+
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1].
Definition: slice.h:60
+
void * p
Definition: grpc_types.h:110
+
struct grpc_socket_factory grpc_socket_factory
The Socket Factory interface creates and binds sockets.
Definition: grpc_types.h:76
+
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
+
+
void(* destroy)(void *p)
Definition: grpc_types.h:87
+
struct grpc_op::grpc_op_data::grpc_op_recv_status_on_client recv_status_on_client
+
union grpc_op::grpc_op_data data
+
Events are popped out by calling grpc_completion_queue_pluck() API ONLY.
Definition: grpc_types.h:730
+
Definition: grpc_types.h:761
+
int version
The version number of this structure.
Definition: grpc_types.h:764
+
grpc_op_type op
Operation type, as defined by grpc_op_type.
Definition: grpc_types.h:611
+
+
+
grpc_slice * status_details
Definition: grpc_types.h:672
+
+
struct grpc_op grpc_op
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments)
+
struct grpc_completion_queue_factory grpc_completion_queue_factory
The completion queue factory structure is opaque to the callers of grpc.
Definition: grpc_types.h:781
+
Receive a message: 0 or more of these operations can occur for each call.
Definition: grpc_types.h:590
+
this method must be called before server_accept
Definition: grpc_types.h:436
+
char ** service_config_json
If non-NULL, will be set to point to a string containing the service config used by the channel in JS...
Definition: grpc_types.h:693
+
payload type requested is not the type registered
Definition: grpc_types.h:458
+
grpc_slice host
Definition: grpc_types.h:556
+
Send initial metadata: one and only one instance MUST be sent for each call, unless the call was canc...
Definition: grpc_types.h:567
+
void(* functor_run)(struct grpc_experimental_completion_queue_functor *, int)
The run member specifies a function that will be called when this tag is extracted from the completio...
Definition: grpc_types.h:746
+
char ** lb_policy_name
If non-NULL, will be set to point to a string indicating the LB policy name.
Definition: grpc_types.h:690
+
struct grpc_op::grpc_op_data::grpc_op_recv_close_on_server recv_close_on_server
+
grpc_compression_algorithm compression
Definition: grpc_types.h:48
+
+
grpc_byte_buffer_type
Definition: grpc_types.h:35
+
+
struct grpc_experimental_completion_queue_functor grpc_experimental_completion_queue_functor
EXPERIMENTAL: Specifies an interface class to be used as a tag for callback-based completion queues.
+
grpc_status_code
Definition: status.h:26
+
this batch of operations leads to more operations than allowed
Definition: grpc_types.h:456
+
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
+
struct grpc_experimental_completion_queue_functor * internal_next
Definition: grpc_types.h:754
+
size_t trailing_metadata_count
Definition: grpc_types.h:640
+
char * key
Definition: grpc_types.h:105
+
Definition: grpc_types.h:616
+
Definition: grpc_types.h:47
+
struct grpc_completion_queue grpc_completion_queue
Completion Queues enable notification of the completion of asynchronous actions.
Definition: grpc_types.h:56
+
ownership of the byte buffer is moved to the caller; the caller must call grpc_byte_buffer_destroy on...
Definition: grpc_types.h:661
+
struct grpc_byte_buffer::grpc_byte_buffer_data::grpc_compressed_buffer raw
+
+
grpc_cq_completion_type cq_completion_type
Set to GRPC_CQ_CURRENT_VERSION.
Definition: grpc_types.h:766
+
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
+
grpc_slice_buffer slice_buffer
Definition: grpc_types.h:49
+
Receive close on the server: one and only one must be made on the server.
Definition: grpc_types.h:602
+
this call is already finished (writes_done or write_status has already been called)
Definition: grpc_types.h:443
+
grpc_cq_polling_type cq_polling_type
Definition: grpc_types.h:768
+
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
+
Definition: grpc_types.h:82
+
grpc_slice * status_details
optional: set to NULL if no details need sending, non-NULL if they do pointer will not be retained pa...
Definition: grpc_types.h:646
+
EXPERIMENTAL: Events trigger a callback specified as the tag.
Definition: grpc_types.h:733
+
Analogous to struct timespec.
Definition: gpr_types.h:47
+
grpc_completion_type type
The type of the completion.
Definition: grpc_types.h:535
+
int integer
Definition: grpc_types.h:108
+
void * reserved[8]
Definition: grpc_types.h:45
+
Receive status on the client: one and only one must be made on the client.
Definition: grpc_types.h:596
+
+
grpc_arg_type type
Definition: grpc_types.h:104
+
int(* cmp)(void *p, void *q)
Definition: grpc_types.h:88
+
Information requested from the channel.
Definition: grpc_types.h:687
+
grpc_arg * args
Definition: grpc_types.h:134
+
gpr_timespec deadline
Definition: grpc_types.h:557
+
int success
If the grpc_completion_type is GRPC_OP_COMPLETE, this field indicates whether the operation was succe...
Definition: grpc_types.h:541
+
completion queue for notification has not been registered with the server
Definition: grpc_types.h:454
+
No event before timeout.
Definition: grpc_types.h:525
+
+
void * tag
The tag passed to grpc_call_start_batch etc to start this operation.
Definition: grpc_types.h:545
+
int * cancelled
out argument, set to 1 if the call failed in any way (seen as a cancellation on the server),...
Definition: grpc_types.h:681
+
struct grpc_arg_pointer_vtable grpc_arg_pointer_vtable
+
+
Send a close from the client: one and only one instance MUST be sent from the client,...
Definition: grpc_types.h:576
+
struct grpc_event grpc_event
The result of an operation.
+
Definition: grpc_types.h:106
+
void * reserved
Definition: grpc_types.h:559
diff --git a/core/health-checking_8md.html b/core/health-checking_8md.html
index 8327c393bc3..eeffde1f8fa 100644
--- a/core/health-checking_8md.html
+++ b/core/health-checking_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/health-checking.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/http-grpc-status-mapping_8md.html b/core/http-grpc-status-mapping_8md.html
index 1a8c67c5288..c6729d5ccc8 100644
--- a/core/http-grpc-status-mapping_8md.html
+++ b/core/http-grpc-status-mapping_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/http-grpc-status-mapping.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/http2-interop-test-descriptions_8md.html b/core/http2-interop-test-descriptions_8md.html
index 9393b84ff26..bfa83f6a845 100644
--- a/core/http2-interop-test-descriptions_8md.html
+++ b/core/http2-interop-test-descriptions_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/http2-interop-test-descriptions.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2atm_8h.html b/core/impl_2codegen_2atm_8h.html
index 49b1b4123ef..0edcdcc8c2a 100644
--- a/core/impl_2codegen_2atm_8h.html
+++ b/core/impl_2codegen_2atm_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
gpr_atm gpr_atm_no_barrier_clamped_add (gpr_atm *value, gpr_atm delta, gpr_atm min, gpr_atm max)
-
This interface provides atomic operations and barriers. More...
+
This interface provides atomic operations and barriers. More...
@@ -130,16 +133,16 @@ Functions
Atomically set *p = value, with release semantics. void gpr_atm_rel_store(gpr_atm *p, gpr_atm value) ;
Atomically add delta to *p, and return the old value of *p, with the barriers specified. gpr_atm gpr_atm_no_barrier_fetch_add(gpr_atm *p, gpr_atm delta) ; gpr_atm gpr_atm_full_fetch_add(gpr_atm *p, gpr_atm delta) ;
Atomically, if *p==o, set *p=n and return non-zero otherwise return 0, with the barriers specified if the operation succeeds. int gpr_atm_no_barrier_cas(gpr_atm *p, gpr_atm o, gpr_atm n) ; int gpr_atm_acq_cas(gpr_atm *p, gpr_atm o, gpr_atm n) ; int gpr_atm_rel_cas(gpr_atm *p, gpr_atm o, gpr_atm n) ; int gpr_atm_full_cas(gpr_atm *p, gpr_atm o, gpr_atm n) ;
-
Atomically, set *p=n and return the old value of *p gpr_atm gpr_atm_full_xchg(gpr_atm *p, gpr_atm n) ;Adds delta to *value , clamping the result to the range specified by min and max . Returns the new value.
+
Atomically, set *p=n and return the old value of *p gpr_atm gpr_atm_full_xchg(gpr_atm *p, gpr_atm n) ; Adds delta to *value , clamping the result to the range specified by min and max . Returns the new value.
diff --git a/core/impl_2codegen_2atm_8h_source.html b/core/impl_2codegen_2atm_8h_source.html
index 1d851c143dd..dfd4cdb0a89 100644
--- a/core/impl_2codegen_2atm_8h_source.html
+++ b/core/impl_2codegen_2atm_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
atm.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_ATM_H 20 #define GRPC_IMPL_CODEGEN_ATM_H 72 #if defined(GPR_GCC_ATOMIC) 74 #elif defined(GPR_GCC_SYNC) 76 #elif defined(GPR_WINDOWS_ATOMIC) 79 #error could not determine platform for atm gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, gpr_atm min, gpr_atm max)
This interface provides atomic operations and barriers.
-
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
-
-
-
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_ATM_H
+
20 #define GRPC_IMPL_CODEGEN_ATM_H
+
+
+
+
72 #if defined(GPR_GCC_ATOMIC)
+
+
74 #elif defined(GPR_GCC_SYNC)
+
+
76 #elif defined(GPR_WINDOWS_ATOMIC)
+
+
+
79 #error could not determine platform for atm
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, gpr_atm min, gpr_atm max)
This interface provides atomic operations and barriers.
+
+
+
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
+
diff --git a/core/impl_2codegen_2atm__gcc__atomic_8h.html b/core/impl_2codegen_2atm__gcc__atomic_8h.html
index df7d6e0a43e..d32951b7fd9 100644
--- a/core/impl_2codegen_2atm__gcc__atomic_8h.html
+++ b/core/impl_2codegen_2atm__gcc__atomic_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm_gcc_atomic.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
-
Value: __atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_ACQ_REL))
#define GPR_ATM_INC_ADD_THEN(blah)
Definition: atm_gcc_atomic.h:45
+
Value:
+
__atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_ACQ_REL))
@@ -288,7 +292,8 @@ Typedefs
-
Value: __atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_RELAXED))
#define GPR_ATM_INC_ADD_THEN(blah)
Definition: atm_gcc_atomic.h:45
+
Value:
+
__atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_RELAXED))
@@ -382,11 +387,12 @@ Typedefs
+#define GPR_ATM_INC_ADD_THEN(blah)
Definition: atm_gcc_atomic.h:45
diff --git a/core/impl_2codegen_2atm__gcc__atomic_8h_source.html b/core/impl_2codegen_2atm__gcc__atomic_8h_source.html
index 282d39cd84c..f0e5739bed3 100644
--- a/core/impl_2codegen_2atm__gcc__atomic_8h_source.html
+++ b/core/impl_2codegen_2atm__gcc__atomic_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm_gcc_atomic.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
atm_gcc_atomic.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H 20 #define GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H 31 #define GPR_ATM_MAX INTPTR_MAX 32 #define GPR_ATM_MIN INTPTR_MIN 34 #ifdef GPR_LOW_LEVEL_COUNTERS 35 extern gpr_atm gpr_counter_atm_cas;
36 extern gpr_atm gpr_counter_atm_add;
37 #define GPR_ATM_INC_COUNTER(counter) \ 38 __atomic_fetch_add(&counter, 1, __ATOMIC_RELAXED) 39 #define GPR_ATM_INC_CAS_THEN(blah) \ 40 (GPR_ATM_INC_COUNTER(gpr_counter_atm_cas), blah) 41 #define GPR_ATM_INC_ADD_THEN(blah) \ 42 (GPR_ATM_INC_COUNTER(gpr_counter_atm_add), blah) 44 #define GPR_ATM_INC_CAS_THEN(blah) blah 45 #define GPR_ATM_INC_ADD_THEN(blah) blah 48 #define gpr_atm_full_barrier() (__atomic_thread_fence(__ATOMIC_SEQ_CST)) 50 #define gpr_atm_acq_load(p) (__atomic_load_n((p), __ATOMIC_ACQUIRE)) 51 #define gpr_atm_no_barrier_load(p) (__atomic_load_n((p), __ATOMIC_RELAXED)) 52 #define gpr_atm_rel_store(p, value) \ 53 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELEASE)) 54 #define gpr_atm_no_barrier_store(p, value) \ 55 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELAXED)) 57 #define gpr_atm_no_barrier_fetch_add(p, delta) \ 58 GPR_ATM_INC_ADD_THEN( \ 59 __atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_RELAXED)) 60 #define gpr_atm_full_fetch_add(p, delta) \ 61 GPR_ATM_INC_ADD_THEN( \ 62 __atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_ACQ_REL)) 66 p, &o, n, 0, __ATOMIC_RELAXED, __ATOMIC_RELAXED));
71 p, &o, n, 0, __ATOMIC_ACQUIRE, __ATOMIC_RELAXED));
76 p, &o, n, 0, __ATOMIC_RELEASE, __ATOMIC_RELAXED));
81 p, &o, n, 0, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED));
84 #define gpr_atm_full_xchg(p, n) \ 85 GPR_ATM_INC_CAS_THEN(__atomic_exchange_n((p), (n), __ATOMIC_ACQ_REL)) #define gpr_atm_acq_cas(p, o, n)
Definition: atm_gcc_sync.h:73
-
#define gpr_atm_full_cas(p, o, n)
Definition: atm_gcc_sync.h:75
-
#define gpr_atm_rel_cas(p, o, n)
Definition: atm_gcc_sync.h:74
-
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
-
#define gpr_atm_no_barrier_cas(p, o, n)
Definition: atm_gcc_sync.h:72
-
#define GPR_ATM_INC_CAS_THEN(blah)
Definition: atm_gcc_atomic.h:44
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H
+
20 #define GRPC_IMPL_CODEGEN_ATM_GCC_ATOMIC_H
+
+
+
+
+
+
+
+
+
+
+
31 #define GPR_ATM_MAX INTPTR_MAX
+
32 #define GPR_ATM_MIN INTPTR_MIN
+
+
34 #ifdef GPR_LOW_LEVEL_COUNTERS
+
35 extern gpr_atm gpr_counter_atm_cas;
+
36 extern gpr_atm gpr_counter_atm_add;
+
37 #define GPR_ATM_INC_COUNTER(counter) \
+
38 __atomic_fetch_add(&counter, 1, __ATOMIC_RELAXED)
+
39 #define GPR_ATM_INC_CAS_THEN(blah) \
+
40 (GPR_ATM_INC_COUNTER(gpr_counter_atm_cas), blah)
+
41 #define GPR_ATM_INC_ADD_THEN(blah) \
+
42 (GPR_ATM_INC_COUNTER(gpr_counter_atm_add), blah)
+
+
44 #define GPR_ATM_INC_CAS_THEN(blah) blah
+
45 #define GPR_ATM_INC_ADD_THEN(blah) blah
+
+
+
48 #define gpr_atm_full_barrier() (__atomic_thread_fence(__ATOMIC_SEQ_CST))
+
+
50 #define gpr_atm_acq_load(p) (__atomic_load_n((p), __ATOMIC_ACQUIRE))
+
51 #define gpr_atm_no_barrier_load(p) (__atomic_load_n((p), __ATOMIC_RELAXED))
+
52 #define gpr_atm_rel_store(p, value) \
+
53 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELEASE))
+
54 #define gpr_atm_no_barrier_store(p, value) \
+
55 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELAXED))
+
+
57 #define gpr_atm_no_barrier_fetch_add(p, delta) \
+
58 GPR_ATM_INC_ADD_THEN( \
+
59 __atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_RELAXED))
+
60 #define gpr_atm_full_fetch_add(p, delta) \
+
61 GPR_ATM_INC_ADD_THEN( \
+
62 __atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_ACQ_REL))
+
+
+
+
66 p, &o, n, 0, __ATOMIC_RELAXED, __ATOMIC_RELAXED));
+
+
+
+
+
71 p, &o, n, 0, __ATOMIC_ACQUIRE, __ATOMIC_RELAXED));
+
+
+
+
+
76 p, &o, n, 0, __ATOMIC_RELEASE, __ATOMIC_RELAXED));
+
+
+
+
+
81 p, &o, n, 0, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED));
+
+
+
84 #define gpr_atm_full_xchg(p, n) \
+
85 GPR_ATM_INC_CAS_THEN(__atomic_exchange_n((p), (n), __ATOMIC_ACQ_REL))
+
+
+
+
+
+
+
#define gpr_atm_acq_cas(p, o, n)
Definition: atm_gcc_sync.h:73
+
#define gpr_atm_rel_cas(p, o, n)
Definition: atm_gcc_sync.h:74
+
#define gpr_atm_no_barrier_cas(p, o, n)
Definition: atm_gcc_sync.h:72
+
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
+
#define GPR_ATM_INC_CAS_THEN(blah)
Definition: atm_gcc_atomic.h:44
+
+
#define gpr_atm_full_cas(p, o, n)
Definition: atm_gcc_sync.h:75
diff --git a/core/impl_2codegen_2atm__gcc__sync_8h.html b/core/impl_2codegen_2atm__gcc__sync_8h.html
index ce739e60524..0baf5594143 100644
--- a/core/impl_2codegen_2atm__gcc__sync_8h.html
+++ b/core/impl_2codegen_2atm__gcc__sync_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm_gcc_sync.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2atm__gcc__sync_8h_source.html b/core/impl_2codegen_2atm__gcc__sync_8h_source.html
index 0f59f6e1341..eb68750e682 100644
--- a/core/impl_2codegen_2atm__gcc__sync_8h_source.html
+++ b/core/impl_2codegen_2atm__gcc__sync_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm_gcc_sync.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
atm_gcc_sync.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H 20 #define GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H 27 #define GPR_ATM_MAX INTPTR_MAX 28 #define GPR_ATM_MIN INTPTR_MIN 29 #define GPR_ATM_INC_CAS_THEN(blah) blah 30 #define GPR_ATM_INC_ADD_THEN(blah) blah 32 #define GPR_ATM_COMPILE_BARRIER_() __asm__ __volatile__("" : : : "memory") 34 #if defined(__i386) || defined(__x86_64__) 36 #define GPR_ATM_LS_BARRIER_() GPR_ATM_COMPILE_BARRIER_() 38 #define GPR_ATM_LS_BARRIER_() gpr_atm_full_barrier() 41 #define gpr_atm_full_barrier() (__sync_synchronize()) 65 #undef GPR_ATM_LS_BARRIER_ 66 #undef GPR_ATM_COMPILE_BARRIER_ 68 #define gpr_atm_no_barrier_fetch_add(p, delta) \ 69 gpr_atm_full_fetch_add((p), (delta)) 70 #define gpr_atm_full_fetch_add(p, delta) (__sync_fetch_and_add((p), (delta))) 72 #define gpr_atm_no_barrier_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n)) 73 #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n))) 74 #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n)) 75 #define gpr_atm_full_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n)) #define gpr_atm_no_barrier_load(p)
Definition: atm_gcc_atomic.h:51
-
#define gpr_atm_no_barrier_store(p, value)
Definition: atm_gcc_atomic.h:54
-
#define gpr_atm_full_xchg(p, n)
Definition: atm_gcc_atomic.h:84
-
#define gpr_atm_rel_cas(p, o, n)
Definition: atm_gcc_sync.h:74
-
#define gpr_atm_acq_load(p)
Definition: atm_gcc_atomic.h:50
-
#define gpr_atm_rel_store(p, value)
Definition: atm_gcc_atomic.h:52
-
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
-
#define GPR_ATM_LS_BARRIER_()
Definition: atm_gcc_sync.h:38
-
intptr_t gpr_atm
Definition: atm_gcc_sync.h:26
-
-
#define GPR_ATM_COMPILE_BARRIER_()
Definition: atm_gcc_sync.h:32
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H
+
20 #define GRPC_IMPL_CODEGEN_ATM_GCC_SYNC_H
+
+
+
+
+
+
+
27 #define GPR_ATM_MAX INTPTR_MAX
+
28 #define GPR_ATM_MIN INTPTR_MIN
+
29 #define GPR_ATM_INC_CAS_THEN(blah) blah
+
30 #define GPR_ATM_INC_ADD_THEN(blah) blah
+
+
32 #define GPR_ATM_COMPILE_BARRIER_() __asm__ __volatile__("" : : : "memory")
+
+
34 #if defined(__i386) || defined(__x86_64__)
+
+
36 #define GPR_ATM_LS_BARRIER_() GPR_ATM_COMPILE_BARRIER_()
+
+
38 #define GPR_ATM_LS_BARRIER_() gpr_atm_full_barrier()
+
+
+
41 #define gpr_atm_full_barrier() (__sync_synchronize())
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
65 #undef GPR_ATM_LS_BARRIER_
+
66 #undef GPR_ATM_COMPILE_BARRIER_
+
+
68 #define gpr_atm_no_barrier_fetch_add(p, delta) \
+
69 gpr_atm_full_fetch_add((p), (delta))
+
70 #define gpr_atm_full_fetch_add(p, delta) (__sync_fetch_and_add((p), (delta)))
+
+
72 #define gpr_atm_no_barrier_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
+
73 #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n)))
+
74 #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
+
75 #define gpr_atm_full_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
+
+
+
+
+
+
+
+
+
+
+
#define GPR_ATM_COMPILE_BARRIER_()
Definition: atm_gcc_sync.h:32
+
#define gpr_atm_no_barrier_load(p)
Definition: atm_gcc_atomic.h:51
+
#define gpr_atm_no_barrier_store(p, value)
Definition: atm_gcc_atomic.h:54
+
#define GPR_ATM_LS_BARRIER_()
Definition: atm_gcc_sync.h:38
+
#define gpr_atm_full_xchg(p, n)
Definition: atm_gcc_atomic.h:84
+
#define gpr_atm_rel_cas(p, o, n)
Definition: atm_gcc_sync.h:74
+
intptr_t gpr_atm
Definition: atm_gcc_sync.h:26
+
#define gpr_atm_acq_load(p)
Definition: atm_gcc_atomic.h:50
+
#define gpr_atm_rel_store(p, value)
Definition: atm_gcc_atomic.h:52
+
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
+
diff --git a/core/impl_2codegen_2atm__windows_8h.html b/core/impl_2codegen_2atm__windows_8h.html
index 4f87d195220..eec0888a7e6 100644
--- a/core/impl_2codegen_2atm__windows_8h.html
+++ b/core/impl_2codegen_2atm__windows_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm_windows.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
typedef intptr_t gpr_atm
-
Win32 variant of atm_platform.h. More...
+
Win32 variant of atm_platform.h. More...
@@ -192,9 +195,9 @@ Typedefs
diff --git a/core/impl_2codegen_2atm__windows_8h_source.html b/core/impl_2codegen_2atm__windows_8h_source.html
index a924801f0f5..d9696459a46 100644
--- a/core/impl_2codegen_2atm__windows_8h_source.html
+++ b/core/impl_2codegen_2atm__windows_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/atm_windows.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
atm_windows.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_ATM_WINDOWS_H 20 #define GRPC_IMPL_CODEGEN_ATM_WINDOWS_H 26 #define GPR_ATM_MAX INTPTR_MAX 27 #define GPR_ATM_MIN INTPTR_MIN 28 #define GPR_ATM_INC_CAS_THEN(blah) blah 29 #define GPR_ATM_INC_ADD_THEN(blah) blah 31 #define gpr_atm_full_barrier MemoryBarrier 58 return o == (
gpr_atm )InterlockedCompareExchangeAcquire64(
59 (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
61 return o == (
gpr_atm )InterlockedCompareExchangeAcquire((
volatile LONG*)p,
68 return o == (
gpr_atm )InterlockedCompareExchangeAcquire64(
69 (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
71 return o == (
gpr_atm )InterlockedCompareExchangeAcquire((
volatile LONG*)p,
78 return o == (
gpr_atm )InterlockedCompareExchangeRelease64(
79 (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
81 return o == (
gpr_atm )InterlockedCompareExchangeRelease((
volatile LONG*)p,
88 return o == (
gpr_atm )InterlockedCompareExchange64((
volatile LONGLONG*)p,
89 (LONGLONG)n, (LONGLONG)o);
91 return o == (
gpr_atm )InterlockedCompareExchange((
volatile LONG*)p, (LONG)n,
112 }
while (old != (
gpr_atm )InterlockedCompareExchange64((
volatile LONGLONG*)p,
113 (LONGLONG)old + delta,
118 }
while (old != (
gpr_atm )InterlockedCompareExchange(
119 (
volatile LONG*)p, (LONG)old + delta, (LONG)old));
125 return (
gpr_atm )InterlockedExchangePointer((PVOID*)p, (PVOID)n);
#define gpr_atm_no_barrier_load(p)
Definition: atm_gcc_atomic.h:51
-
#define gpr_atm_full_fetch_add(p, delta)
Definition: atm_gcc_atomic.h:60
-
#define gpr_atm_no_barrier_store(p, value)
Definition: atm_gcc_atomic.h:54
-
#define gpr_atm_acq_cas(p, o, n)
Definition: atm_gcc_sync.h:73
-
#define gpr_atm_full_xchg(p, n)
Definition: atm_gcc_atomic.h:84
-
#define gpr_atm_full_cas(p, o, n)
Definition: atm_gcc_sync.h:75
-
#define gpr_atm_rel_cas(p, o, n)
Definition: atm_gcc_sync.h:74
-
#define gpr_atm_acq_load(p)
Definition: atm_gcc_atomic.h:50
-
#define gpr_atm_rel_store(p, value)
Definition: atm_gcc_atomic.h:52
-
#define gpr_atm_no_barrier_fetch_add(p, delta)
Definition: atm_gcc_atomic.h:57
-
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
-
#define gpr_atm_no_barrier_cas(p, o, n)
Definition: atm_gcc_sync.h:72
-
intptr_t gpr_atm
Win32 variant of atm_platform.h.
Definition: atm_windows.h:25
-
-
#define gpr_atm_full_barrier
Definition: atm_windows.h:31
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_ATM_WINDOWS_H
+
20 #define GRPC_IMPL_CODEGEN_ATM_WINDOWS_H
+
+
+
+
+
26 #define GPR_ATM_MAX INTPTR_MAX
+
27 #define GPR_ATM_MIN INTPTR_MIN
+
28 #define GPR_ATM_INC_CAS_THEN(blah) blah
+
29 #define GPR_ATM_INC_ADD_THEN(blah) blah
+
+
31 #define gpr_atm_full_barrier MemoryBarrier
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
58 return o == (
gpr_atm )InterlockedCompareExchangeAcquire64(
+
59 (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
+
+
61 return o == (
gpr_atm )InterlockedCompareExchangeAcquire((
volatile LONG*)p,
+
+
+
+
+
+
+
68 return o == (
gpr_atm )InterlockedCompareExchangeAcquire64(
+
69 (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
+
+
71 return o == (
gpr_atm )InterlockedCompareExchangeAcquire((
volatile LONG*)p,
+
+
+
+
+
+
+
78 return o == (
gpr_atm )InterlockedCompareExchangeRelease64(
+
79 (
volatile LONGLONG*)p, (LONGLONG)n, (LONGLONG)o);
+
+
81 return o == (
gpr_atm )InterlockedCompareExchangeRelease((
volatile LONG*)p,
+
+
+
+
+
+
+
88 return o == (
gpr_atm )InterlockedCompareExchange64((
volatile LONGLONG*)p,
+
89 (LONGLONG)n, (LONGLONG)o);
+
+
91 return o == (
gpr_atm )InterlockedCompareExchange((
volatile LONG*)p, (LONG)n,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
112 }
while (old != (
gpr_atm )InterlockedCompareExchange64((
volatile LONGLONG*)p,
+
113 (LONGLONG)old + delta,
+
+
+
+
+
118 }
while (old != (
gpr_atm )InterlockedCompareExchange(
+
119 (
volatile LONG*)p, (LONG)old + delta, (LONG)old));
+
+
+
+
+
+
125 return (
gpr_atm )InterlockedExchangePointer((PVOID*)p, (PVOID)n);
+
+
+
+
#define gpr_atm_no_barrier_load(p)
Definition: atm_gcc_atomic.h:51
+
#define gpr_atm_full_fetch_add(p, delta)
Definition: atm_gcc_atomic.h:60
+
#define gpr_atm_no_barrier_store(p, value)
Definition: atm_gcc_atomic.h:54
+
#define gpr_atm_acq_cas(p, o, n)
Definition: atm_gcc_sync.h:73
+
intptr_t gpr_atm
Win32 variant of atm_platform.h.
Definition: atm_windows.h:25
+
#define gpr_atm_full_xchg(p, n)
Definition: atm_gcc_atomic.h:84
+
#define gpr_atm_rel_cas(p, o, n)
Definition: atm_gcc_sync.h:74
+
#define gpr_atm_full_barrier
Definition: atm_windows.h:31
+
#define gpr_atm_acq_load(p)
Definition: atm_gcc_atomic.h:50
+
#define gpr_atm_rel_store(p, value)
Definition: atm_gcc_atomic.h:52
+
#define gpr_atm_no_barrier_fetch_add(p, delta)
Definition: atm_gcc_atomic.h:57
+
#define gpr_atm_no_barrier_cas(p, o, n)
Definition: atm_gcc_sync.h:72
+
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
+
+
#define gpr_atm_full_cas(p, o, n)
Definition: atm_gcc_sync.h:75
diff --git a/core/impl_2codegen_2byte__buffer_8h.html b/core/impl_2codegen_2byte__buffer_8h.html
index f0d799db759..3e76cd30090 100644
--- a/core/impl_2codegen_2byte__buffer_8h.html
+++ b/core/impl_2codegen_2byte__buffer_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/byte_buffer.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_create (grpc_slice *slices, size_t nslices)
-
Returns a RAW byte buffer instance over the given slices (up to nslices ). More...
+
Returns a RAW byte buffer instance over the given slices (up to nslices ). More...
GRPCAPI grpc_byte_buffer * grpc_raw_compressed_byte_buffer_create (grpc_slice *slices, size_t nslices, grpc_compression_algorithm compression)
-
Returns a compressed RAW byte buffer instance over the given slices (up to nslices ). More...
+
Returns a compressed RAW byte buffer instance over the given slices (up to nslices ). More...
GRPCAPI grpc_byte_buffer * grpc_byte_buffer_copy (grpc_byte_buffer *bb)
-
Copies input byte buffer bb . More...
+
Copies input byte buffer bb . More...
GRPCAPI size_t grpc_byte_buffer_length (grpc_byte_buffer *bb)
-
Returns the size of the given byte buffer, in bytes. More...
+
Returns the size of the given byte buffer, in bytes. More...
GRPCAPI void grpc_byte_buffer_destroy (grpc_byte_buffer *byte_buffer)
-
Destroys byte_buffer deallocating all its memory. More...
+
Destroys byte_buffer deallocating all its memory. More...
GRPCAPI int grpc_byte_buffer_reader_init (grpc_byte_buffer_reader *reader, grpc_byte_buffer *buffer)
-
Initialize reader to read over buffer . More...
+
Initialize reader to read over buffer . More...
GRPCAPI void grpc_byte_buffer_reader_destroy (grpc_byte_buffer_reader *reader)
-
Cleanup and destroy reader . More...
+
Cleanup and destroy reader . More...
GRPCAPI int grpc_byte_buffer_reader_next (grpc_byte_buffer_reader *reader, grpc_slice *slice)
-
Updates slice with the next piece of data from from reader and returns. More...
+
Updates slice with the next piece of data from from reader and returns. More...
GRPCAPI int grpc_byte_buffer_reader_peek (grpc_byte_buffer_reader *reader, grpc_slice **slice)
-
EXPERIMENTAL API - This function may be removed and changed, in the future. More...
+
EXPERIMENTAL API - This function may be removed and changed, in the future. More...
GRPCAPI grpc_slice grpc_byte_buffer_reader_readall (grpc_byte_buffer_reader *reader)
-
Merge all data from reader into single slice. More...
+
Merge all data from reader into single slice. More...
GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_from_reader (grpc_byte_buffer_reader *reader)
-
Returns a RAW byte buffer instance from the output of reader . More...
+
Returns a RAW byte buffer instance from the output of reader . More...
@@ -423,9 +426,9 @@ Functions
diff --git a/core/impl_2codegen_2byte__buffer_8h_source.html b/core/impl_2codegen_2byte__buffer_8h_source.html
index 63eb09ac4de..1b0a2dde5d2 100644
--- a/core/impl_2codegen_2byte__buffer_8h_source.html
+++ b/core/impl_2codegen_2byte__buffer_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/byte_buffer.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
byte_buffer.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_H 20 #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_H GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_from_reader(grpc_byte_buffer_reader *reader)
Returns a RAW byte buffer instance from the output of reader.
-
GRPCAPI int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, grpc_slice *slice)
Updates slice with the next piece of data from from reader and returns.
-
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...
Definition: slice.h:60
-
-
Definition: grpc_types.h:40
-
GRPCAPI int grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader, grpc_byte_buffer *buffer)
Initialize reader to read over buffer.
-
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level) ...
Definition: compression_types.h:57
-
GRPCAPI grpc_byte_buffer * grpc_byte_buffer_copy(grpc_byte_buffer *bb)
Copies input byte buffer bb.
-
-
GRPCAPI size_t grpc_byte_buffer_length(grpc_byte_buffer *bb)
Returns the size of the given byte buffer, in bytes.
-
GRPCAPI grpc_slice grpc_byte_buffer_reader_readall(grpc_byte_buffer_reader *reader)
Merge all data from reader into single slice.
-
GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_create(grpc_slice *slices, size_t nslices)
Returns a RAW byte buffer instance over the given slices (up to nslices).
-
GRPCAPI grpc_byte_buffer * grpc_raw_compressed_byte_buffer_create(grpc_slice *slices, size_t nslices, grpc_compression_algorithm compression)
Returns a compressed RAW byte buffer instance over the given slices (up to nslices).
-
GRPCAPI void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader)
Cleanup and destroy reader.
-
GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer *byte_buffer)
Destroys byte_buffer deallocating all its memory.
-
GRPCAPI int grpc_byte_buffer_reader_peek(grpc_byte_buffer_reader *reader, grpc_slice **slice)
EXPERIMENTAL API - This function may be removed and changed, in the future.
-
Definition: byte_buffer_reader.h:28
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
+
20 #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer *byte_buffer)
Destroys byte_buffer deallocating all its memory.
+
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level)
Definition: compression_types.h:57
+
GRPCAPI int grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader, grpc_byte_buffer *buffer)
Initialize reader to read over buffer.
+
+
GRPCAPI grpc_byte_buffer * grpc_byte_buffer_copy(grpc_byte_buffer *bb)
Copies input byte buffer bb.
+
GRPCAPI grpc_slice grpc_byte_buffer_reader_readall(grpc_byte_buffer_reader *reader)
Merge all data from reader into single slice.
+
Definition: grpc_types.h:40
+
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1].
Definition: slice.h:60
+
GRPCAPI size_t grpc_byte_buffer_length(grpc_byte_buffer *bb)
Returns the size of the given byte buffer, in bytes.
+
GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_create(grpc_slice *slices, size_t nslices)
Returns a RAW byte buffer instance over the given slices (up to nslices).
+
GRPCAPI int grpc_byte_buffer_reader_peek(grpc_byte_buffer_reader *reader, grpc_slice **slice)
EXPERIMENTAL API - This function may be removed and changed, in the future.
+
+
+
GRPCAPI grpc_byte_buffer * grpc_raw_compressed_byte_buffer_create(grpc_slice *slices, size_t nslices, grpc_compression_algorithm compression)
Returns a compressed RAW byte buffer instance over the given slices (up to nslices).
+
GRPCAPI int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, grpc_slice *slice)
Updates slice with the next piece of data from from reader and returns.
+
GRPCAPI void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader)
Cleanup and destroy reader.
+
Definition: byte_buffer_reader.h:28
+
GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_from_reader(grpc_byte_buffer_reader *reader)
Returns a RAW byte buffer instance from the output of reader.
diff --git a/core/impl_2codegen_2byte__buffer__reader_8h.html b/core/impl_2codegen_2byte__buffer__reader_8h.html
index 43091c25d43..b77f029c507 100644
--- a/core/impl_2codegen_2byte__buffer__reader_8h.html
+++ b/core/impl_2codegen_2byte__buffer__reader_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/byte_buffer_reader.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2byte__buffer__reader_8h_source.html b/core/impl_2codegen_2byte__buffer__reader_8h_source.html
index afff2efb3d9..4e3efa33eb6 100644
--- a/core/impl_2codegen_2byte__buffer__reader_8h_source.html
+++ b/core/impl_2codegen_2byte__buffer__reader_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/byte_buffer_reader.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
byte_buffer_reader.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H 20 #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H union grpc_byte_buffer_reader::grpc_byte_buffer_reader_current current
-
Different current objects correspond to different types of byte buffers.
Definition: byte_buffer_reader.h:32
-
Definition: grpc_types.h:40
-
unsigned index
Index into a slice buffer's array of slices.
Definition: byte_buffer_reader.h:34
-
struct grpc_byte_buffer * buffer_out
Definition: byte_buffer_reader.h:30
-
Definition: byte_buffer_reader.h:28
-
struct grpc_byte_buffer * buffer_in
Definition: byte_buffer_reader.h:29
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H
+
20 #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_READER_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
struct grpc_byte_buffer * buffer_in
Definition: byte_buffer_reader.h:29
+
struct grpc_byte_buffer * buffer_out
Definition: byte_buffer_reader.h:30
+
unsigned index
Index into a slice buffer's array of slices.
Definition: byte_buffer_reader.h:34
+
Definition: grpc_types.h:40
+
union grpc_byte_buffer_reader::grpc_byte_buffer_reader_current current
+
Definition: byte_buffer_reader.h:28
+
Different current objects correspond to different types of byte buffers.
Definition: byte_buffer_reader.h:32
diff --git a/core/impl_2codegen_2fork_8h.html b/core/impl_2codegen_2fork_8h.html
index f543aad262b..47dde7e7aed 100644
--- a/core/impl_2codegen_2fork_8h.html
+++ b/core/impl_2codegen_2fork_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/fork.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2fork_8h_source.html b/core/impl_2codegen_2fork_8h_source.html
index e9709c870b6..1cfebff1ffd 100644
--- a/core/impl_2codegen_2fork_8h_source.html
+++ b/core/impl_2codegen_2fork_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/fork.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
fork.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_FORK_H 20 #define GRPC_IMPL_CODEGEN_FORK_H void grpc_fork_handlers_auto_register(void)
-
void grpc_postfork_parent(void)
-
void grpc_postfork_child(void)
-
void grpc_prefork(void)
gRPC applications should call this before calling fork().
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_FORK_H
+
20 #define GRPC_IMPL_CODEGEN_FORK_H
+
+
+
+
+
+
+
+
+
+
+
void grpc_fork_handlers_auto_register(void)
+
void grpc_postfork_child(void)
+
void grpc_postfork_parent(void)
+
void grpc_prefork(void)
gRPC applications should call this before calling fork().
diff --git a/core/impl_2codegen_2log_8h.html b/core/impl_2codegen_2log_8h.html
index 10d19b63354..5308425e66f 100644
--- a/core/impl_2codegen_2log_8h.html
+++ b/core/impl_2codegen_2log_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/log.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
#define GPR_LOG_VERBOSITY_UNSET -1
#define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG
-
Macros to build log contexts at various severity levels. More...
+
Macros to build log contexts at various severity levels. More...
#define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO
#define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR
#define GPR_ASSERT (x)
-
abort() the process if x is zero, having written a line to the log. More...
+
abort() the process if x is zero, having written a line to the log. More...
#define GPR_DEBUG_ASSERT (x) GPR_ASSERT (x)
@@ -105,7 +108,7 @@ Macros
typedef enum gpr_log_severity gpr_log_severity
-
GPR log API. More...
+
GPR log API. More...
typedef struct gpr_log_func_args gpr_log_func_args
@@ -117,24 +120,24 @@ Enumerations
enum gpr_log_severity { GPR_LOG_SEVERITY_DEBUG ,
GPR_LOG_SEVERITY_INFO ,
GPR_LOG_SEVERITY_ERROR
- } GPR log API. More...
-
+ }
+
GPR log API. More...
-
Value: do { \
gpr_log(
GPR_ERROR ,
"assertion failed: %s" , #x); \
abort(); \
} \
} while (0)
-
#define GPR_ERROR
Definition: log.h:57
+
Value: do { \
+
+
gpr_log(
GPR_ERROR ,
"assertion failed: %s" , #x); \
+
abort(); \
+
} \
+
} while (0)
abort() the process if x is zero, having written a line to the log.
-
Intended for internal invariants. If the error can be recovered from, without the possibility of corruption, or might best be reflected via an exception in a higher-level language, consider returning error code.
+
Intended for internal invariants. If the error can be recovered from, without the possibility of corruption, or might best be reflected via an exception in a higher-level language, consider returning error code.
+
@@ -402,14 +410,14 @@ Functions
-
-◆ gpr_log_severity_string()
+
+◆ gpr_log_severity_string()
- GPRAPI const char* gpr_log_severity_string
+ const GPRAPI char* gpr_log_severity_string
(
gpr_log_severity
severity )
@@ -497,11 +505,13 @@ Functions
+
+#define GPR_ERROR
Definition: log.h:57
diff --git a/core/impl_2codegen_2log_8h_source.html b/core/impl_2codegen_2log_8h_source.html
index c51e9bcd5fd..5b684b10345 100644
--- a/core/impl_2codegen_2log_8h_source.html
+++ b/core/impl_2codegen_2log_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/log.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
log.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_LOG_H 20 #define GRPC_IMPL_CODEGEN_LOG_H 49 #define GPR_LOG_VERBOSITY_UNSET -1 55 #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG 56 #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO 57 #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR 61 GPRAPI void gpr_log (
const char * file,
int line, gpr_log_severity severity,
67 gpr_log_severity severity, const
char * message);
94 #define GPR_ASSERT(x) \ 96 if (GPR_UNLIKELY(!(x))) { \ 97 gpr_log(GPR_ERROR, "assertion failed: %s", #x); \ 103 #define GPR_DEBUG_ASSERT(x) GPR_ASSERT(x) 105 #define GPR_DEBUG_ASSERT(x)
-
-
int line
Definition: log.h:79
-
Log overrides: applications can use this API to intercept logging calls and use their own implementat...
Definition: log.h:77
-
GPRAPI void GPRAPI int gpr_should_log(gpr_log_severity severity)
-
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
Log a message.
-
GPRAPI void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print)
Set global log verbosity.
-
-
GPRAPI void gpr_log_verbosity_init(void)
-
GPRAPI void gpr_set_log_function(gpr_log_func func)
-
const char * message
Definition: log.h:81
-
const char * file
Definition: log.h:78
-
void(* gpr_log_func)(gpr_log_func_args *args)
Definition: log.h:86
-
-
gpr_log_severity
GPR log API.
Definition: log.h:43
-
GPRAPI const char * gpr_log_severity_string(gpr_log_severity severity)
Returns a string representation of the log severity.
-
gpr_log_severity severity
Definition: log.h:80
-
-
-
GPRAPI void gpr_log_message(const char *file, int line, gpr_log_severity severity, const char *message)
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_LOG_H
+
20 #define GRPC_IMPL_CODEGEN_LOG_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
49 #define GPR_LOG_VERBOSITY_UNSET -1
+
+
+
+
55 #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG
+
56 #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO
+
57 #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
94 #define GPR_ASSERT(x) \
+
+
96 if (GPR_UNLIKELY(!(x))) { \
+
97 gpr_log(GPR_ERROR, "assertion failed: %s", #x); \
+
+
+
+
+
+
103 #define GPR_DEBUG_ASSERT(x) GPR_ASSERT(x)
+
+
105 #define GPR_DEBUG_ASSERT(x)
+
+
+
+
+
+
+
+
GPRAPI void gpr_set_log_function(gpr_log_func func)
+
GPRAPI void GPRAPI int gpr_should_log(gpr_log_severity severity)
+
GPRAPI void gpr_log_verbosity_init(void)
+
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
Log a message.
+
const GPRAPI char * gpr_log_severity_string(gpr_log_severity severity)
Returns a string representation of the log severity.
+
+
GPRAPI void gpr_log_message(const char *file, int line, gpr_log_severity severity, const char *message)
+
+
Log overrides: applications can use this API to intercept logging calls and use their own implementat...
Definition: log.h:77
+
void(* gpr_log_func)(gpr_log_func_args *args)
Definition: log.h:86
+
const char * file
Definition: log.h:78
+
+
+
int line
Definition: log.h:79
+
const char * message
Definition: log.h:81
+
+
+
gpr_log_severity severity
Definition: log.h:80
+
gpr_log_severity
GPR log API.
Definition: log.h:43
+
GPRAPI void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print)
Set global log verbosity.
diff --git a/core/impl_2codegen_2port__platform_8h.html b/core/impl_2codegen_2port__platform_8h.html
index 170f6f56f9d..e1a4644df5e 100644
--- a/core/impl_2codegen_2port__platform_8h.html
+++ b/core/impl_2codegen_2port__platform_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/port_platform.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
-
Value: do { \
gpr_log(
GPR_ERROR ,
"Should never reach here." ); \
abort(); \
STATEMENT; \
} while (0)
#define GPR_ERROR
Definition: log.h:57
+
Value: do { \
+
gpr_log(
GPR_ERROR ,
"Should never reach here." ); \
+
abort(); \
+
STATEMENT; \
+
} while (0)
@@ -495,7 +502,7 @@ Macros
- #define GRPC_USE_ABSL 0
+ #define GRPC_USE_ABSL 1
@@ -517,11 +524,12 @@ Macros
+#define GPR_ERROR
Definition: log.h:57
diff --git a/core/impl_2codegen_2port__platform_8h_source.html b/core/impl_2codegen_2port__platform_8h_source.html
index 4823a1ce4f7..e403ae28a96 100644
--- a/core/impl_2codegen_2port__platform_8h_source.html
+++ b/core/impl_2codegen_2port__platform_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/port_platform.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
port_platform.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_PORT_PLATFORM_H 20 #define GRPC_IMPL_CODEGEN_PORT_PLATFORM_H 34 #define GRPC_USE_ABSL 0 38 #if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32) 39 #ifndef WIN32_LEAN_AND_MEAN 40 #define GRPC_WIN32_LEAN_AND_MEAN_WAS_NOT_DEFINED 41 #define WIN32_LEAN_AND_MEAN 45 #define GRPC_NOMINMX_WAS_NOT_DEFINED 51 "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" 53 #if (_WIN32_WINNT < 0x0600) 55 "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" 61 #ifdef GRPC_WIN32_LEAN_AND_MEAN_WAS_NOT_DEFINED 62 #undef GRPC_WIN32_LEAN_AND_MEAN_WAS_NOT_DEFINED 63 #undef WIN32_LEAN_AND_MEAN 66 #ifdef GRPC_NOMINMAX_WAS_NOT_DEFINED 67 #undef GRPC_NOMINMAX_WAS_NOT_DEFINED 76 #if !defined(GPR_NO_AUTODETECT_PLATFORM) 77 #if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32) 78 #if defined(_WIN64) || defined(WIN64) 83 #define GPR_PLATFORM_STRING "windows" 85 #define GPR_WINDOWS_SUBPROCESS 1 86 #define GPR_WINDOWS_ENV 88 #define GPR_GETPID_IN_UNISTD_H 1 89 #define GPR_MSYS_TMPFILE 91 #define GPR_POSIX_STRING 92 #define GPR_POSIX_TIME 94 #define GPR_GETPID_IN_PROCESS_H 1 95 #define GPR_WINDOWS_TMPFILE 96 #define GPR_WINDOWS_LOG 97 #define GPR_WINDOWS_CRASH_HANDLER 1 98 #define GPR_WINDOWS_STRING 99 #define GPR_WINDOWS_TIME 102 #define GPR_GCC_ATOMIC 1 103 #define GPR_GCC_TLS 1 105 #define GPR_WINDOWS_ATOMIC 1 106 #define GPR_MSVC_TLS 1 108 #elif defined(GPR_MANYLINUX1) 111 #define GPR_PLATFORM_STRING "manylinux" 112 #define GPR_POSIX_CRASH_HANDLER 1 113 #define GPR_CPU_POSIX 1 114 #define GPR_GCC_ATOMIC 1 115 #define GPR_GCC_TLS 1 117 #define GPR_LINUX_LOG 1 118 #define GPR_SUPPORT_CHANNELS_FROM_FD 1 119 #define GPR_LINUX_ENV 1 120 #define GPR_POSIX_TMPFILE 1 121 #define GPR_POSIX_STRING 1 122 #define GPR_POSIX_SUBPROCESS 1 123 #define GPR_POSIX_SYNC 1 124 #define GPR_POSIX_TIME 1 125 #define GPR_HAS_PTHREAD_H 1 126 #define GPR_GETPID_IN_UNISTD_H 1 128 #define GPR_ARCH_64 1 130 #define GPR_ARCH_32 1 132 #include <linux/version.h> 133 #elif defined(ANDROID) || defined(__ANDROID__) 134 #define GPR_PLATFORM_STRING "android" 135 #define GPR_ANDROID 1 141 #define GPR_ARCH_64 1 143 #define GPR_ARCH_32 1 145 #define GPR_CPU_POSIX 1 146 #define GPR_GCC_SYNC 1 147 #define GPR_GCC_TLS 1 148 #define GPR_POSIX_ENV 1 149 #define GPR_POSIX_TMPFILE 1 150 #define GPR_ANDROID_LOG 1 151 #define GPR_POSIX_STRING 1 152 #define GPR_POSIX_SUBPROCESS 1 153 #define GPR_POSIX_SYNC 1 154 #define GPR_POSIX_TIME 1 155 #define GPR_HAS_PTHREAD_H 1 156 #define GPR_GETPID_IN_UNISTD_H 1 157 #define GPR_SUPPORT_CHANNELS_FROM_FD 1 158 #elif defined(__linux__) 159 #define GPR_PLATFORM_STRING "linux" 163 #ifndef _DEFAULT_SOURCE 164 #define _DEFAULT_SOURCE 169 #include <features.h> 170 #define GPR_CPU_LINUX 1 171 #define GPR_GCC_ATOMIC 1 172 #define GPR_GCC_TLS 1 174 #define GPR_LINUX_LOG 175 #define GPR_SUPPORT_CHANNELS_FROM_FD 1 176 #define GPR_LINUX_ENV 1 177 #define GPR_POSIX_TMPFILE 1 178 #define GPR_POSIX_STRING 1 179 #define GPR_POSIX_SUBPROCESS 1 180 #define GPR_POSIX_SYNC 1 181 #define GPR_POSIX_TIME 1 182 #define GPR_HAS_PTHREAD_H 1 183 #define GPR_GETPID_IN_UNISTD_H 1 185 #define GPR_ARCH_64 1 187 #define GPR_ARCH_32 1 190 #define GPR_POSIX_CRASH_HANDLER 1 191 #define GPR_LINUX_PTHREAD_NAME 1 192 #include <linux/version.h> 194 #define GPR_MUSL_LIBC_COMPAT 1 196 #elif defined(__ASYLO__) 197 #define GPR_ARCH_64 1 198 #define GPR_CPU_POSIX 1 199 #define GPR_GCC_TLS 1 200 #define GPR_PLATFORM_STRING "asylo" 201 #define GPR_GCC_SYNC 1 202 #define GPR_POSIX_SYNC 1 203 #define GPR_POSIX_STRING 1 204 #define GPR_POSIX_LOG 1 205 #define GPR_POSIX_TIME 1 206 #define GPR_POSIX_ENV 1 208 #define GRPC_POSIX_SOCKET 1 209 #define GRPC_POSIX_SOCKETADDR 210 #define GRPC_POSIX_SOCKETUTILS 1 211 #define GRPC_TIMER_USE_GENERIC 1 212 #define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1 213 #define GRPC_POSIX_WAKEUP_FD 1 215 #define GPR_NO_AUTODETECT_PLATFORM 1 216 #elif defined(__APPLE__) 217 #include <Availability.h> 218 #include <TargetConditionals.h> 223 #define GPR_PLATFORM_STRING "ios" 224 #define GPR_CPU_IPHONE 1 225 #define GPR_PTHREAD_TLS 1 226 #define GRPC_CFSTREAM 1 230 #define GPR_PLATFORM_STRING "osx" 231 #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED 232 #if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_7 233 #define GPR_CPU_IPHONE 1 234 #define GPR_PTHREAD_TLS 1 236 #define GPR_CPU_POSIX 1 240 #ifndef GRPC_BAZEL_BUILD 241 #define GPR_GCC_TLS 1 243 #define GPR_PTHREAD_TLS 1 245 #define GPR_APPLE_PTHREAD_NAME 1 248 #define GPR_CPU_POSIX 1 251 #ifndef GRPC_BAZEL_BUILD 252 #define GPR_GCC_TLS 1 254 #define GPR_PTHREAD_TLS 1 257 #define GPR_POSIX_CRASH_HANDLER 1 260 #define GPR_GCC_ATOMIC 1 261 #define GPR_POSIX_LOG 1 262 #define GPR_POSIX_ENV 1 263 #define GPR_POSIX_TMPFILE 1 264 #define GPR_POSIX_STRING 1 265 #define GPR_POSIX_SUBPROCESS 1 266 #define GPR_POSIX_SYNC 1 267 #define GPR_POSIX_TIME 1 268 #define GPR_HAS_PTHREAD_H 1 269 #define GPR_GETPID_IN_UNISTD_H 1 270 #ifndef GRPC_CFSTREAM 271 #define GPR_SUPPORT_CHANNELS_FROM_FD 1 274 #define GPR_ARCH_64 1 276 #define GPR_ARCH_32 1 278 #elif defined(__FreeBSD__) 279 #define GPR_PLATFORM_STRING "freebsd" 283 #define GPR_FREEBSD 1 284 #define GPR_CPU_POSIX 1 285 #define GPR_GCC_ATOMIC 1 286 #define GPR_GCC_TLS 1 287 #define GPR_POSIX_LOG 1 288 #define GPR_POSIX_ENV 1 289 #define GPR_POSIX_TMPFILE 1 290 #define GPR_POSIX_STRING 1 291 #define GPR_POSIX_SUBPROCESS 1 292 #define GPR_POSIX_SYNC 1 293 #define GPR_POSIX_TIME 1 294 #define GPR_HAS_PTHREAD_H 1 295 #define GPR_GETPID_IN_UNISTD_H 1 296 #define GPR_SUPPORT_CHANNELS_FROM_FD 1 298 #define GPR_ARCH_64 1 300 #define GPR_ARCH_32 1 302 #elif defined(__OpenBSD__) 303 #define GPR_PLATFORM_STRING "openbsd" 307 #define GPR_OPENBSD 1 308 #define GPR_CPU_POSIX 1 309 #define GPR_GCC_ATOMIC 1 310 #define GPR_GCC_TLS 1 311 #define GPR_POSIX_LOG 1 312 #define GPR_POSIX_ENV 1 313 #define GPR_POSIX_TMPFILE 1 314 #define GPR_POSIX_STRING 1 315 #define GPR_POSIX_SUBPROCESS 1 316 #define GPR_POSIX_SYNC 1 317 #define GPR_POSIX_TIME 1 318 #define GPR_HAS_PTHREAD_H 1 319 #define GPR_GETPID_IN_UNISTD_H 1 320 #define GPR_SUPPORT_CHANNELS_FROM_FD 1 322 #define GPR_ARCH_64 1 324 #define GPR_ARCH_32 1 326 #elif defined(__sun) && defined(__SVR4) 327 #define GPR_PLATFORM_STRING "solaris" 328 #define GPR_SOLARIS 1 329 #define GPR_CPU_POSIX 1 330 #define GPR_GCC_ATOMIC 1 331 #define GPR_GCC_TLS 1 332 #define GPR_POSIX_LOG 1 333 #define GPR_POSIX_ENV 1 334 #define GPR_POSIX_TMPFILE 1 335 #define GPR_POSIX_STRING 1 336 #define GPR_POSIX_SUBPROCESS 1 337 #define GPR_POSIX_SYNC 1 338 #define GPR_POSIX_TIME 1 339 #define GPR_HAS_PTHREAD_H 1 340 #define GPR_GETPID_IN_UNISTD_H 1 342 #define GPR_ARCH_64 1 344 #define GPR_ARCH_32 1 347 #define GPR_PLATFORM_STRING "aix" 352 #define GPR_CPU_POSIX 1 353 #define GPR_GCC_ATOMIC 1 354 #define GPR_GCC_TLS 1 355 #define GPR_POSIX_LOG 1 356 #define GPR_POSIX_ENV 1 357 #define GPR_POSIX_TMPFILE 1 358 #define GPR_POSIX_STRING 1 359 #define GPR_POSIX_SUBPROCESS 1 360 #define GPR_POSIX_SYNC 1 361 #define GPR_POSIX_TIME 1 362 #define GPR_HAS_PTHREAD_H 1 363 #define GPR_GETPID_IN_UNISTD_H 1 365 #define GPR_ARCH_64 1 367 #define GPR_ARCH_32 1 369 #elif defined(__native_client__) 370 #define GPR_PLATFORM_STRING "nacl" 374 #ifndef _DEFAULT_SOURCE 375 #define _DEFAULT_SOURCE 381 #define GPR_CPU_POSIX 1 382 #define GPR_GCC_ATOMIC 1 383 #define GPR_GCC_TLS 1 384 #define GPR_POSIX_LOG 1 385 #define GPR_POSIX_ENV 1 386 #define GPR_POSIX_TMPFILE 1 387 #define GPR_POSIX_STRING 1 388 #define GPR_POSIX_SUBPROCESS 1 389 #define GPR_POSIX_SYNC 1 390 #define GPR_POSIX_TIME 1 391 #define GPR_HAS_PTHREAD_H 1 392 #define GPR_GETPID_IN_UNISTD_H 1 394 #define GPR_ARCH_64 1 396 #define GPR_ARCH_32 1 398 #elif defined(__Fuchsia__) 399 #define GPR_FUCHSIA 1 400 #define GPR_ARCH_64 1 401 #define GPR_PLATFORM_STRING "fuchsia" 402 #include <features.h> 405 #define GPR_MUSL_LIBC_COMPAT 1 406 #define GPR_CPU_POSIX 1 407 #define GPR_GCC_ATOMIC 1 408 #define GPR_PTHREAD_TLS 1 409 #define GPR_POSIX_LOG 1 410 #define GPR_POSIX_SYNC 1 411 #define GPR_POSIX_ENV 1 412 #define GPR_POSIX_TMPFILE 1 413 #define GPR_POSIX_SUBPROCESS 1 414 #define GPR_POSIX_SYNC 1 415 #define GPR_POSIX_STRING 1 416 #define GPR_POSIX_TIME 1 417 #define GPR_HAS_PTHREAD_H 1 418 #define GPR_GETPID_IN_UNISTD_H 1 420 #error "Could not auto-detect platform" 424 #if defined(GPR_BACKWARDS_COMPATIBILITY_MODE) 430 #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 431 #undef _FORTIFY_SOURCE 432 #define _FORTIFY_SOURCE 0 447 #if defined(__ANDROID__) && defined(GPR_GCC_TLS) 448 #if __has_include(<android/ndk-version.h>) 449 #include <android/ndk-version.h> 451 #if (defined(__clang__) && defined(__NDK_MAJOR__) && defined(__NDK_MINOR__) && \ 452 ((__NDK_MAJOR__ < 12) || \ 453 ((__NDK_MAJOR__ == 12) && (__NDK_MINOR__ < 1)))) || \ 454 (defined(__GNUC__) && !defined(__clang__)) 456 #define GPR_PTHREAD_TLS 1 460 #if defined(__has_include) 461 #if __has_include(<atomic>) 462 #define GRPC_HAS_CXX11_ATOMIC 466 #ifndef GPR_PLATFORM_STRING 467 #warning "GPR_PLATFORM_STRING not auto-detected" 468 #define GPR_PLATFORM_STRING "unknown" 472 #undef GPR_FORBID_UNREACHABLE_CODE 473 #define GPR_FORBID_UNREACHABLE_CODE 1 478 typedef __int8 int8_t;
479 typedef __int16 int16_t;
480 typedef __int32 int32_t;
481 typedef __int64 int64_t;
482 typedef unsigned __int8 uint8_t;
483 typedef unsigned __int16 uint16_t;
484 typedef unsigned __int32 uint32_t;
485 typedef unsigned __int64 uint64_t;
505 #define GPR_CYCLE_COUNTER_FALLBACK 1 507 #define GPR_CYCLE_COUNTER_FALLBACK 1 511 #ifndef GPR_CACHELINE_SIZE_LOG 512 #if defined(__i386__) || defined(__x86_64__) 513 #define GPR_CACHELINE_SIZE_LOG 6 515 #ifndef GPR_CACHELINE_SIZE_LOG 518 #define GPR_CACHELINE_SIZE_LOG 6 522 #define GPR_CACHELINE_SIZE (1 << GPR_CACHELINE_SIZE_LOG) 525 #if defined(GPR_GCC_ATOMIC) && !defined(__ATOMIC_RELAXED) 526 #undef GPR_GCC_ATOMIC 527 #define GPR_GCC_SYNC 1 531 #if defined(GPR_GCC_ATOMIC) + defined(GPR_GCC_SYNC) + \ 532 defined(GPR_WINDOWS_ATOMIC) != \ 534 #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC 537 #if defined(GPR_ARCH_32) + defined(GPR_ARCH_64) != 1 538 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 541 #if defined(GPR_CPU_LINUX) + defined(GPR_CPU_POSIX) + defined(GPR_WINDOWS) + \ 542 defined(GPR_CPU_IPHONE) + defined(GPR_CPU_CUSTOM) != \ 544 #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM 547 #if defined(GPR_MSVC_TLS) + defined(GPR_GCC_TLS) + defined(GPR_PTHREAD_TLS) + \ 548 defined(GPR_CUSTOM_TLS) != \ 550 #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS 555 #define GPR_MAX_ALIGNMENT 16 561 #ifndef GRPC_IF_NAMETOINDEX 562 #define GRPC_IF_NAMETOINDEX 1 565 #ifndef GRPC_MUST_USE_RESULT 566 #if defined(__GNUC__) && !defined(__MINGW32__) 567 #define GRPC_MUST_USE_RESULT __attribute__((warn_unused_result)) 568 #define GPR_ALIGN_STRUCT(n) __attribute__((aligned(n))) 570 #define GRPC_MUST_USE_RESULT 571 #define GPR_ALIGN_STRUCT(n) 576 #if defined(__GNUC__) && !defined(__MINGW32__) 577 #define GRPC_UNUSED __attribute__((unused)) 583 #ifndef GPR_PRINT_FORMAT_CHECK 585 #define GPR_PRINT_FORMAT_CHECK(FORMAT_STR, ARGS) \ 586 __attribute__((format(printf, FORMAT_STR, ARGS))) 588 #define GPR_PRINT_FORMAT_CHECK(FORMAT_STR, ARGS) 592 #if GPR_FORBID_UNREACHABLE_CODE 593 #define GPR_UNREACHABLE_CODE(STATEMENT) 595 #define GPR_UNREACHABLE_CODE(STATEMENT) \ 597 gpr_log(GPR_ERROR, "Should never reach here."); \ 608 #define GRPCAPI GPRAPI 612 #define CENSUSAPI GRPCAPI 615 #ifndef GPR_HAS_ATTRIBUTE 616 #ifdef __has_attribute 617 #define GPR_HAS_ATTRIBUTE(a) __has_attribute(a) 619 #define GPR_HAS_ATTRIBUTE(a) 0 623 #ifndef GPR_HAS_FEATURE 625 #define GPR_HAS_FEATURE(a) __has_feature(a) 627 #define GPR_HAS_FEATURE(a) 0 631 #ifndef GPR_ATTRIBUTE_NOINLINE 632 #if GPR_HAS_ATTRIBUTE(noinline) || (defined(__GNUC__) && !defined(__clang__)) 633 #define GPR_ATTRIBUTE_NOINLINE __attribute__((noinline)) 634 #define GPR_HAS_ATTRIBUTE_NOINLINE 1 636 #define GPR_ATTRIBUTE_NOINLINE 640 #ifndef GPR_ATTRIBUTE_WEAK 643 #if (GPR_HAS_ATTRIBUTE(weak) || (defined(__GNUC__) && !defined(__clang__))) && \ 644 !(defined(__llvm__) && defined(_WIN32)) 645 #define GPR_ATTRIBUTE_WEAK __attribute__((weak)) 646 #define GPR_HAS_ATTRIBUTE_WEAK 1 648 #define GPR_ATTRIBUTE_WEAK 652 #ifndef GPR_ATTRIBUTE_NO_TSAN 653 #if GPR_HAS_FEATURE(thread_sanitizer) 654 #define GPR_ATTRIBUTE_NO_TSAN __attribute__((no_sanitize("thread"))) 656 #ifndef GPR_ATTRIBUTE_NO_TSAN 657 #define GPR_ATTRIBUTE_NO_TSAN 662 #if defined(__SANITIZE_THREAD__) 663 #define GRPC_TSAN_ENABLED 664 #elif GPR_HAS_FEATURE(thread_sanitizer) 665 #define GRPC_TSAN_ENABLED 669 #if defined(__SANITIZE_ADDRESS__) 670 #define GRPC_ASAN_ENABLED 671 #elif GPR_HAS_FEATURE(address_sanitizer) 672 #define GRPC_ASAN_ENABLED 676 #ifndef GRPC_ALLOW_EXCEPTIONS 678 #if defined(_MSC_VER) && defined(_CPPUNWIND) 679 #define GRPC_ALLOW_EXCEPTIONS 1 680 #elif defined(__EXCEPTIONS) 681 #define GRPC_ALLOW_EXCEPTIONS 1 683 #define GRPC_ALLOW_EXCEPTIONS 0 687 #define GRPC_ALLOW_EXCEPTIONS 1 689 #define GRPC_ALLOW_EXCEPTIONS 0 698 #define GPR_LIKELY(x) __builtin_expect((x), 1) 699 #define GPR_UNLIKELY(x) __builtin_expect((x), 0) 701 #define GPR_LIKELY(x) (x) 702 #define GPR_UNLIKELY(x) (x) 705 #ifndef __STDC_FORMAT_MACROS 706 #define __STDC_FORMAT_MACROS
+Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_PORT_PLATFORM_H
+
20 #define GRPC_IMPL_CODEGEN_PORT_PLATFORM_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
34 #define GRPC_USE_ABSL 1
+
+
+
+
+
+
40 #ifndef GPR_ABSEIL_SYNC
+
+
+
+
+
45 #if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32)
+
46 #ifndef WIN32_LEAN_AND_MEAN
+
47 #define GRPC_WIN32_LEAN_AND_MEAN_WAS_NOT_DEFINED
+
48 #define WIN32_LEAN_AND_MEAN
+
+
+
+
52 #define GRPC_NOMINMX_WAS_NOT_DEFINED
+
+
+
+
+
+
58 "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)"
+
+
60 #if (_WIN32_WINNT < 0x0600)
+
+
62 "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)"
+
+
+
+
+
+
68 #ifdef GRPC_WIN32_LEAN_AND_MEAN_WAS_NOT_DEFINED
+
69 #undef GRPC_WIN32_LEAN_AND_MEAN_WAS_NOT_DEFINED
+
70 #undef WIN32_LEAN_AND_MEAN
+
+
+
73 #ifdef GRPC_NOMINMAX_WAS_NOT_DEFINED
+
74 #undef GRPC_NOMINMAX_WAS_NOT_DEFINED
+
+
+
+
+
+
+
+
+
83 #if !defined(GPR_NO_AUTODETECT_PLATFORM)
+
84 #if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32)
+
85 #if defined(_WIN64) || defined(WIN64)
+
+
+
+
+
90 #define GPR_PLATFORM_STRING "windows"
+
+
92 #define GPR_WINDOWS_SUBPROCESS 1
+
93 #define GPR_WINDOWS_ENV
+
+
95 #define GPR_GETPID_IN_UNISTD_H 1
+
96 #define GPR_MSYS_TMPFILE
+
+
98 #define GPR_POSIX_STRING
+
99 #define GPR_POSIX_TIME
+
+
101 #define GPR_GETPID_IN_PROCESS_H 1
+
102 #define GPR_WINDOWS_TMPFILE
+
103 #define GPR_WINDOWS_LOG
+
104 #define GPR_WINDOWS_CRASH_HANDLER 1
+
105 #define GPR_WINDOWS_STRING
+
106 #define GPR_WINDOWS_TIME
+
+
+
109 #define GPR_GCC_ATOMIC 1
+
110 #define GPR_GCC_TLS 1
+
+
112 #define GPR_WINDOWS_ATOMIC 1
+
113 #define GPR_MSVC_TLS 1
+
+
115 #elif defined(GPR_MANYLINUX1)
+
+
+
118 #define GPR_PLATFORM_STRING "manylinux"
+
119 #define GPR_POSIX_CRASH_HANDLER 1
+
120 #define GPR_CPU_POSIX 1
+
121 #define GPR_GCC_ATOMIC 1
+
122 #define GPR_GCC_TLS 1
+
+
124 #define GPR_LINUX_LOG 1
+
125 #define GPR_SUPPORT_CHANNELS_FROM_FD 1
+
126 #define GPR_LINUX_ENV 1
+
127 #define GPR_POSIX_TMPFILE 1
+
128 #define GPR_POSIX_STRING 1
+
129 #define GPR_POSIX_SUBPROCESS 1
+
130 #define GPR_POSIX_SYNC 1
+
131 #define GPR_POSIX_TIME 1
+
132 #define GPR_HAS_PTHREAD_H 1
+
133 #define GPR_GETPID_IN_UNISTD_H 1
+
+
135 #define GPR_ARCH_64 1
+
+
137 #define GPR_ARCH_32 1
+
+
139 #include <linux/version.h>
+
140 #elif defined(ANDROID) || defined(__ANDROID__)
+
141 #define GPR_PLATFORM_STRING "android"
+
142 #define GPR_ANDROID 1
+
+
+
+
+
+
148 #define GPR_ARCH_64 1
+
+
150 #define GPR_ARCH_32 1
+
+
152 #define GPR_CPU_POSIX 1
+
153 #define GPR_GCC_SYNC 1
+
154 #define GPR_GCC_TLS 1
+
155 #define GPR_POSIX_ENV 1
+
156 #define GPR_POSIX_TMPFILE 1
+
157 #define GPR_ANDROID_LOG 1
+
158 #define GPR_POSIX_STRING 1
+
159 #define GPR_POSIX_SUBPROCESS 1
+
160 #define GPR_POSIX_SYNC 1
+
161 #define GPR_POSIX_TIME 1
+
162 #define GPR_HAS_PTHREAD_H 1
+
163 #define GPR_GETPID_IN_UNISTD_H 1
+
164 #define GPR_SUPPORT_CHANNELS_FROM_FD 1
+
165 #elif defined(__linux__)
+
166 #define GPR_PLATFORM_STRING "linux"
+
+
+
+
170 #ifndef _DEFAULT_SOURCE
+
171 #define _DEFAULT_SOURCE
+
+
+
+
+
176 #include <features.h>
+
177 #define GPR_CPU_LINUX 1
+
178 #define GPR_GCC_ATOMIC 1
+
179 #define GPR_GCC_TLS 1
+
+
181 #define GPR_LINUX_LOG
+
182 #define GPR_SUPPORT_CHANNELS_FROM_FD 1
+
183 #define GPR_LINUX_ENV 1
+
184 #define GPR_POSIX_TMPFILE 1
+
185 #define GPR_POSIX_STRING 1
+
186 #define GPR_POSIX_SUBPROCESS 1
+
187 #define GPR_POSIX_SYNC 1
+
188 #define GPR_POSIX_TIME 1
+
189 #define GPR_HAS_PTHREAD_H 1
+
190 #define GPR_GETPID_IN_UNISTD_H 1
+
+
192 #define GPR_ARCH_64 1
+
+
194 #define GPR_ARCH_32 1
+
+
+
197 #define GPR_POSIX_CRASH_HANDLER 1
+
198 #define GPR_LINUX_PTHREAD_NAME 1
+
199 #include <linux/version.h>
+
+
201 #define GPR_MUSL_LIBC_COMPAT 1
+
+
203 #elif defined(__ASYLO__)
+
204 #define GPR_ARCH_64 1
+
205 #define GPR_CPU_POSIX 1
+
206 #define GPR_GCC_TLS 1
+
207 #define GPR_PLATFORM_STRING "asylo"
+
208 #define GPR_GCC_SYNC 1
+
209 #define GPR_POSIX_SYNC 1
+
210 #define GPR_POSIX_STRING 1
+
211 #define GPR_POSIX_LOG 1
+
212 #define GPR_POSIX_TIME 1
+
213 #define GPR_POSIX_ENV 1
+
+
215 #define GRPC_POSIX_SOCKET 1
+
216 #define GRPC_POSIX_SOCKETADDR
+
217 #define GRPC_POSIX_SOCKETUTILS 1
+
218 #define GRPC_TIMER_USE_GENERIC 1
+
219 #define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1
+
220 #define GRPC_POSIX_WAKEUP_FD 1
+
+
222 #define GPR_NO_AUTODETECT_PLATFORM 1
+
223 #elif defined(__APPLE__)
+
224 #include <Availability.h>
+
225 #include <TargetConditionals.h>
+
+
+
+
+
230 #define GPR_PLATFORM_STRING "ios"
+
231 #define GPR_CPU_IPHONE 1
+
232 #define GPR_PTHREAD_TLS 1
+
233 #define GRPC_CFSTREAM 1
+
+
+
+
237 #define GPR_PLATFORM_STRING "osx"
+
238 #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
+
239 #if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_7
+
240 #define GPR_CPU_IPHONE 1
+
241 #define GPR_PTHREAD_TLS 1
+
+
243 #define GPR_CPU_POSIX 1
+
+
+
+
247 #ifndef GRPC_BAZEL_BUILD
+
248 #define GPR_GCC_TLS 1
+
+
250 #define GPR_PTHREAD_TLS 1
+
+
252 #define GPR_APPLE_PTHREAD_NAME 1
+
+
+
255 #define GPR_CPU_POSIX 1
+
+
+
258 #ifndef GRPC_BAZEL_BUILD
+
259 #define GPR_GCC_TLS 1
+
+
261 #define GPR_PTHREAD_TLS 1
+
+
+
264 #define GPR_POSIX_CRASH_HANDLER 1
+
+
+
267 #define GPR_GCC_ATOMIC 1
+
268 #define GPR_POSIX_LOG 1
+
269 #define GPR_POSIX_ENV 1
+
270 #define GPR_POSIX_TMPFILE 1
+
271 #define GPR_POSIX_STRING 1
+
272 #define GPR_POSIX_SUBPROCESS 1
+
273 #define GPR_POSIX_SYNC 1
+
274 #define GPR_POSIX_TIME 1
+
275 #define GPR_HAS_PTHREAD_H 1
+
276 #define GPR_GETPID_IN_UNISTD_H 1
+
277 #ifndef GRPC_CFSTREAM
+
278 #define GPR_SUPPORT_CHANNELS_FROM_FD 1
+
+
+
281 #define GPR_ARCH_64 1
+
+
283 #define GPR_ARCH_32 1
+
+
285 #elif defined(__FreeBSD__)
+
286 #define GPR_PLATFORM_STRING "freebsd"
+
+
+
+
290 #define GPR_FREEBSD 1
+
291 #define GPR_CPU_POSIX 1
+
292 #define GPR_GCC_ATOMIC 1
+
293 #define GPR_GCC_TLS 1
+
294 #define GPR_POSIX_LOG 1
+
295 #define GPR_POSIX_ENV 1
+
296 #define GPR_POSIX_TMPFILE 1
+
297 #define GPR_POSIX_STRING 1
+
298 #define GPR_POSIX_SUBPROCESS 1
+
299 #define GPR_POSIX_SYNC 1
+
300 #define GPR_POSIX_TIME 1
+
301 #define GPR_HAS_PTHREAD_H 1
+
302 #define GPR_GETPID_IN_UNISTD_H 1
+
303 #define GPR_SUPPORT_CHANNELS_FROM_FD 1
+
+
305 #define GPR_ARCH_64 1
+
+
307 #define GPR_ARCH_32 1
+
+
309 #elif defined(__OpenBSD__)
+
310 #define GPR_PLATFORM_STRING "openbsd"
+
+
+
+
314 #define GPR_OPENBSD 1
+
315 #define GPR_CPU_POSIX 1
+
316 #define GPR_GCC_ATOMIC 1
+
317 #define GPR_GCC_TLS 1
+
318 #define GPR_POSIX_LOG 1
+
319 #define GPR_POSIX_ENV 1
+
320 #define GPR_POSIX_TMPFILE 1
+
321 #define GPR_POSIX_STRING 1
+
322 #define GPR_POSIX_SUBPROCESS 1
+
323 #define GPR_POSIX_SYNC 1
+
324 #define GPR_POSIX_TIME 1
+
325 #define GPR_HAS_PTHREAD_H 1
+
326 #define GPR_GETPID_IN_UNISTD_H 1
+
327 #define GPR_SUPPORT_CHANNELS_FROM_FD 1
+
+
329 #define GPR_ARCH_64 1
+
+
331 #define GPR_ARCH_32 1
+
+
333 #elif defined(__sun) && defined(__SVR4)
+
334 #define GPR_PLATFORM_STRING "solaris"
+
335 #define GPR_SOLARIS 1
+
336 #define GPR_CPU_POSIX 1
+
337 #define GPR_GCC_ATOMIC 1
+
338 #define GPR_GCC_TLS 1
+
339 #define GPR_POSIX_LOG 1
+
340 #define GPR_POSIX_ENV 1
+
341 #define GPR_POSIX_TMPFILE 1
+
342 #define GPR_POSIX_STRING 1
+
343 #define GPR_POSIX_SUBPROCESS 1
+
344 #define GPR_POSIX_SYNC 1
+
345 #define GPR_POSIX_TIME 1
+
346 #define GPR_HAS_PTHREAD_H 1
+
347 #define GPR_GETPID_IN_UNISTD_H 1
+
+
349 #define GPR_ARCH_64 1
+
+
351 #define GPR_ARCH_32 1
+
+
+
354 #define GPR_PLATFORM_STRING "aix"
+
+
+
+
+
359 #define GPR_CPU_POSIX 1
+
360 #define GPR_GCC_ATOMIC 1
+
361 #define GPR_GCC_TLS 1
+
362 #define GPR_POSIX_LOG 1
+
363 #define GPR_POSIX_ENV 1
+
364 #define GPR_POSIX_TMPFILE 1
+
365 #define GPR_POSIX_STRING 1
+
366 #define GPR_POSIX_SUBPROCESS 1
+
367 #define GPR_POSIX_SYNC 1
+
368 #define GPR_POSIX_TIME 1
+
369 #define GPR_HAS_PTHREAD_H 1
+
370 #define GPR_GETPID_IN_UNISTD_H 1
+
+
372 #define GPR_ARCH_64 1
+
+
374 #define GPR_ARCH_32 1
+
+
376 #elif defined(__native_client__)
+
377 #define GPR_PLATFORM_STRING "nacl"
+
+
+
+
381 #ifndef _DEFAULT_SOURCE
+
382 #define _DEFAULT_SOURCE
+
+
+
+
+
+
388 #define GPR_CPU_POSIX 1
+
389 #define GPR_GCC_ATOMIC 1
+
390 #define GPR_GCC_TLS 1
+
391 #define GPR_POSIX_LOG 1
+
392 #define GPR_POSIX_ENV 1
+
393 #define GPR_POSIX_TMPFILE 1
+
394 #define GPR_POSIX_STRING 1
+
395 #define GPR_POSIX_SUBPROCESS 1
+
396 #define GPR_POSIX_SYNC 1
+
397 #define GPR_POSIX_TIME 1
+
398 #define GPR_HAS_PTHREAD_H 1
+
399 #define GPR_GETPID_IN_UNISTD_H 1
+
+
401 #define GPR_ARCH_64 1
+
+
403 #define GPR_ARCH_32 1
+
+
405 #elif defined(__Fuchsia__)
+
406 #define GPR_FUCHSIA 1
+
407 #define GPR_ARCH_64 1
+
408 #define GPR_PLATFORM_STRING "fuchsia"
+
409 #include <features.h>
+
+
+
412 #define GPR_MUSL_LIBC_COMPAT 1
+
413 #define GPR_CPU_POSIX 1
+
414 #define GPR_GCC_ATOMIC 1
+
415 #define GPR_PTHREAD_TLS 1
+
416 #define GPR_POSIX_LOG 1
+
417 #define GPR_POSIX_SYNC 1
+
418 #define GPR_POSIX_ENV 1
+
419 #define GPR_POSIX_TMPFILE 1
+
420 #define GPR_POSIX_SUBPROCESS 1
+
421 #define GPR_POSIX_SYNC 1
+
422 #define GPR_POSIX_STRING 1
+
423 #define GPR_POSIX_TIME 1
+
424 #define GPR_HAS_PTHREAD_H 1
+
425 #define GPR_GETPID_IN_UNISTD_H 1
+
+
427 #error "Could not auto-detect platform"
+
+
+
+
431 #if defined(GPR_BACKWARDS_COMPATIBILITY_MODE)
+
+
+
+
+
+
437 #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0
+
438 #undef _FORTIFY_SOURCE
+
439 #define _FORTIFY_SOURCE 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
454 #if defined(__ANDROID__) && defined(GPR_GCC_TLS)
+
455 #if __has_include(<android/ndk-version.h>)
+
456 #include <android/ndk-version.h>
+
+
458 #if (defined(__clang__) && defined(__NDK_MAJOR__) && defined(__NDK_MINOR__) && \
+
459 ((__NDK_MAJOR__ < 12) || \
+
460 ((__NDK_MAJOR__ == 12) && (__NDK_MINOR__ < 1)))) || \
+
461 (defined(__GNUC__) && !defined(__clang__))
+
+
463 #define GPR_PTHREAD_TLS 1
+
+
+
+
467 #if defined(__has_include)
+
468 #if __has_include(<atomic>)
+
469 #define GRPC_HAS_CXX11_ATOMIC
+
+
+
+
473 #ifndef GPR_PLATFORM_STRING
+
474 #warning "GPR_PLATFORM_STRING not auto-detected"
+
475 #define GPR_PLATFORM_STRING "unknown"
+
+
+
+
479 #undef GPR_FORBID_UNREACHABLE_CODE
+
480 #define GPR_FORBID_UNREACHABLE_CODE 1
+
+
+
+
+
485 typedef __int8 int8_t;
+
486 typedef __int16 int16_t;
+
487 typedef __int32 int32_t;
+
488 typedef __int64 int64_t;
+
489 typedef unsigned __int8 uint8_t;
+
490 typedef unsigned __int16 uint16_t;
+
491 typedef unsigned __int32 uint32_t;
+
492 typedef unsigned __int64 uint64_t;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
512 #define GPR_CYCLE_COUNTER_FALLBACK 1
+
+
514 #define GPR_CYCLE_COUNTER_FALLBACK 1
+
+
+
+
518 #ifndef GPR_CACHELINE_SIZE_LOG
+
519 #if defined(__i386__) || defined(__x86_64__)
+
520 #define GPR_CACHELINE_SIZE_LOG 6
+
+
522 #ifndef GPR_CACHELINE_SIZE_LOG
+
+
+
525 #define GPR_CACHELINE_SIZE_LOG 6
+
+
+
+
529 #define GPR_CACHELINE_SIZE (1 << GPR_CACHELINE_SIZE_LOG)
+
+
+
532 #if defined(GPR_GCC_ATOMIC) && !defined(__ATOMIC_RELAXED)
+
533 #undef GPR_GCC_ATOMIC
+
534 #define GPR_GCC_SYNC 1
+
+
+
+
538 #if defined(GPR_GCC_ATOMIC) + defined(GPR_GCC_SYNC) + \
+
539 defined(GPR_WINDOWS_ATOMIC) != \
+
+
541 #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
+
+
+
544 #if defined(GPR_ARCH_32) + defined(GPR_ARCH_64) != 1
+
545 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
+
+
+
548 #if defined(GPR_CPU_LINUX) + defined(GPR_CPU_POSIX) + defined(GPR_WINDOWS) + \
+
549 defined(GPR_CPU_IPHONE) + defined(GPR_CPU_CUSTOM) != \
+
+
551 #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
+
+
+
554 #if defined(GPR_MSVC_TLS) + defined(GPR_GCC_TLS) + defined(GPR_PTHREAD_TLS) + \
+
555 defined(GPR_CUSTOM_TLS) != \
+
+
557 #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS
+
+
+
+
+
562 #define GPR_MAX_ALIGNMENT 16
+
+
+
+
+
+
568 #ifndef GRPC_IF_NAMETOINDEX
+
569 #define GRPC_IF_NAMETOINDEX 1
+
+
+
572 #ifndef GRPC_MUST_USE_RESULT
+
573 #if defined(__GNUC__) && !defined(__MINGW32__)
+
574 #define GRPC_MUST_USE_RESULT __attribute__((warn_unused_result))
+
575 #define GPR_ALIGN_STRUCT(n) __attribute__((aligned(n)))
+
+
577 #define GRPC_MUST_USE_RESULT
+
578 #define GPR_ALIGN_STRUCT(n)
+
+
+
+
+
583 #if defined(__GNUC__) && !defined(__MINGW32__)
+
584 #define GRPC_UNUSED __attribute__((unused))
+
+
+
+
+
+
590 #ifndef GPR_PRINT_FORMAT_CHECK
+
+
592 #define GPR_PRINT_FORMAT_CHECK(FORMAT_STR, ARGS) \
+
593 __attribute__((format(printf, FORMAT_STR, ARGS)))
+
+
595 #define GPR_PRINT_FORMAT_CHECK(FORMAT_STR, ARGS)
+
+
+
+
599 #if GPR_FORBID_UNREACHABLE_CODE
+
600 #define GPR_UNREACHABLE_CODE(STATEMENT)
+
+
602 #define GPR_UNREACHABLE_CODE(STATEMENT) \
+
+
604 gpr_log(GPR_ERROR, "Should never reach here."); \
+
+
+
+
+
+
+
+
+
+
+
615 #define GRPCAPI GPRAPI
+
+
+
+
619 #define CENSUSAPI GRPCAPI
+
+
+
622 #ifndef GPR_HAS_ATTRIBUTE
+
623 #ifdef __has_attribute
+
624 #define GPR_HAS_ATTRIBUTE(a) __has_attribute(a)
+
+
626 #define GPR_HAS_ATTRIBUTE(a) 0
+
+
+
+
630 #ifndef GPR_HAS_FEATURE
+
+
632 #define GPR_HAS_FEATURE(a) __has_feature(a)
+
+
634 #define GPR_HAS_FEATURE(a) 0
+
+
+
+
638 #ifndef GPR_ATTRIBUTE_NOINLINE
+
639 #if GPR_HAS_ATTRIBUTE(noinline) || (defined(__GNUC__) && !defined(__clang__))
+
640 #define GPR_ATTRIBUTE_NOINLINE __attribute__((noinline))
+
641 #define GPR_HAS_ATTRIBUTE_NOINLINE 1
+
+
643 #define GPR_ATTRIBUTE_NOINLINE
+
+
+
+
647 #ifndef GPR_ATTRIBUTE_WEAK
+
+
+
650 #if (GPR_HAS_ATTRIBUTE(weak) || (defined(__GNUC__) && !defined(__clang__))) && \
+
651 !(defined(__llvm__) && defined(_WIN32))
+
652 #define GPR_ATTRIBUTE_WEAK __attribute__((weak))
+
653 #define GPR_HAS_ATTRIBUTE_WEAK 1
+
+
655 #define GPR_ATTRIBUTE_WEAK
+
+
+
+
659 #ifndef GPR_ATTRIBUTE_NO_TSAN
+
660 #if GPR_HAS_FEATURE(thread_sanitizer)
+
661 #define GPR_ATTRIBUTE_NO_TSAN __attribute__((no_sanitize("thread")))
+
+
663 #ifndef GPR_ATTRIBUTE_NO_TSAN
+
664 #define GPR_ATTRIBUTE_NO_TSAN
+
+
+
+
+
669 #if defined(__SANITIZE_THREAD__)
+
670 #define GRPC_TSAN_ENABLED
+
671 #elif GPR_HAS_FEATURE(thread_sanitizer)
+
672 #define GRPC_TSAN_ENABLED
+
+
+
+
676 #if defined(__SANITIZE_ADDRESS__)
+
677 #define GRPC_ASAN_ENABLED
+
678 #elif GPR_HAS_FEATURE(address_sanitizer)
+
679 #define GRPC_ASAN_ENABLED
+
+
+
+
683 #ifndef GRPC_ALLOW_EXCEPTIONS
+
+
685 #if defined(_MSC_VER) && defined(_CPPUNWIND)
+
686 #define GRPC_ALLOW_EXCEPTIONS 1
+
687 #elif defined(__EXCEPTIONS)
+
688 #define GRPC_ALLOW_EXCEPTIONS 1
+
+
690 #define GRPC_ALLOW_EXCEPTIONS 0
+
+
+
+
694 #define GRPC_ALLOW_EXCEPTIONS 1
+
+
696 #define GRPC_ALLOW_EXCEPTIONS 0
+
+
+
+
+
+
+
+
+
705 #define GPR_LIKELY(x) __builtin_expect((x), 1)
+
706 #define GPR_UNLIKELY(x) __builtin_expect((x), 0)
+
+
708 #define GPR_LIKELY(x) (x)
+
709 #define GPR_UNLIKELY(x) (x)
+
+
+
712 #ifndef __STDC_FORMAT_MACROS
+
713 #define __STDC_FORMAT_MACROS
+
+
+
+
diff --git a/core/impl_2codegen_2slice_8h.html b/core/impl_2codegen_2slice_8h.html
index 21dc57f77a2..ad1b3599c7e 100644
--- a/core/impl_2codegen_2slice_8h.html
+++ b/core/impl_2codegen_2slice_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/slice.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
struct grpc_slice
-
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. More...
+
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. More...
union grpc_slice::grpc_slice_data
@@ -95,7 +98,7 @@ Data Structures
#define GRPC_SLICE_INLINE_EXTRA_SIZE sizeof(void*)
-
Slice API. More...
+
Slice API. More...
#define GRPC_SLICE_INLINED_SIZE (sizeof(size_t) + sizeof(uint8_t*) - 1 + GRPC_SLICE_INLINE_EXTRA_SIZE )
@@ -117,7 +120,7 @@ Typedefs
typedef struct grpc_slice grpc_slice
typedef struct grpc_slice_buffer grpc_slice_buffer
-
Represents an expandable array of slices, to be interpreted as a single item. More...
+
Represents an expandable array of slices, to be interpreted as a single item. More...
@@ -219,7 +222,9 @@ Typedefs
-
Value: ((slice).refcount ? (slice).data.refcounted.length \
: (slice).data.inlined.length)
+
Value: ((slice).refcount ? (slice).data.refcounted.length \
+
: (slice).data.inlined.length)
+
@@ -247,7 +252,9 @@ Typedefs
-
Value: ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \
: ((slice).data.inlined.length = (uint8_t)(newlen)))
+
Value: ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \
+
: ((slice).data.inlined.length = (uint8_t)(newlen)))
+
@@ -265,7 +272,9 @@ Typedefs
-
Value: ((slice).refcount ? (slice).data.refcounted.bytes \
: (slice).data.inlined.bytes)
+
Value: ((slice).refcount ? (slice).data.refcounted.bytes \
+
: (slice).data.inlined.bytes)
+
@@ -302,9 +311,9 @@ Typedefs
diff --git a/core/impl_2codegen_2slice_8h_source.html b/core/impl_2codegen_2slice_8h_source.html
index fbdeb09b657..d65c32b99b6 100644
--- a/core/impl_2codegen_2slice_8h_source.html
+++ b/core/impl_2codegen_2slice_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/slice.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
slice.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_SLICE_H 20 #define GRPC_IMPL_CODEGEN_SLICE_H 45 #define GRPC_SLICE_INLINE_EXTRA_SIZE sizeof(void*) 47 #define GRPC_SLICE_INLINED_SIZE \ 48 (sizeof(size_t) + sizeof(uint8_t*) - 1 + GRPC_SLICE_INLINE_EXTRA_SIZE) 50 struct grpc_slice_refcount;
74 #define GRPC_SLICE_BUFFER_INLINE_ELEMENTS 8 96 #define GRPC_SLICE_START_PTR(slice) \ 97 ((slice).refcount ? (slice).data.refcounted.bytes \ 98 : (slice).data.inlined.bytes) 99 #define GRPC_SLICE_LENGTH(slice) \ 100 ((slice).refcount ? (slice).data.refcounted.length \ 101 : (slice).data.inlined.length) 102 #define GRPC_SLICE_SET_LENGTH(slice, newlen) \ 103 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 104 : ((slice).data.inlined.length = (uint8_t)(newlen))) 105 #define GRPC_SLICE_END_PTR(slice) \ 106 GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice) 107 #define GRPC_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0) 109 #ifdef GRPC_ALLOW_GPR_SLICE_FUNCTIONS 112 #define GPR_SLICE_START_PTR(slice) \ 113 ((slice).refcount ? (slice).data.refcounted.bytes \ 114 : (slice).data.inlined.bytes) 115 #define GPR_SLICE_LENGTH(slice) \ 116 ((slice).refcount ? (slice).data.refcounted.length \ 117 : (slice).data.inlined.length) 118 #define GPR_SLICE_SET_LENGTH(slice, newlen) \ 119 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 120 : ((slice).data.inlined.length = (uint8_t)(newlen))) 121 #define GPR_SLICE_END_PTR(slice) \ 122 GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice) 123 #define GPR_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0) struct grpc_slice::grpc_slice_data::grpc_slice_inlined inlined
-
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...
Definition: slice.h:60
-
grpc_slice * slices
slices in the array (Points to the first valid grpc_slice in the array)
Definition: slice.h:84
-
-
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
-
uint8_t length
Definition: slice.h:68
-
struct grpc_slice::grpc_slice_data::grpc_slice_refcounted refcounted
-
size_t length
the combined length of all slices in the array
Definition: slice.h:91
-
struct grpc_slice_refcount * refcount
Definition: slice.h:61
-
grpc_slice * base_slices
This is for internal use only.
Definition: slice.h:81
-
size_t length
Definition: slice.h:64
-
size_t capacity
the number of slices allocated in the array.
Definition: slice.h:89
-
-
#define GRPC_SLICE_BUFFER_INLINE_ELEMENTS
Definition: slice.h:74
-
#define GRPC_SLICE_INLINED_SIZE
Definition: slice.h:47
-
union grpc_slice::grpc_slice_data data
-
struct grpc_slice_buffer grpc_slice_buffer
Represents an expandable array of slices, to be interpreted as a single item.
-
-
size_t count
the number of slices in the array
Definition: slice.h:86
-
-
uint8_t * bytes
Definition: slice.h:65
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_SLICE_H
+
20 #define GRPC_IMPL_CODEGEN_SLICE_H
+
+
+
+
+
+
+
+
+
+
+
+
45 #define GRPC_SLICE_INLINE_EXTRA_SIZE sizeof(void*)
+
+
47 #define GRPC_SLICE_INLINED_SIZE \
+
48 (sizeof(size_t) + sizeof(uint8_t*) - 1 + GRPC_SLICE_INLINE_EXTRA_SIZE)
+
+
50 struct grpc_slice_refcount;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
74 #define GRPC_SLICE_BUFFER_INLINE_ELEMENTS 8
+
+
+
+
+
+
+
+
+
+
+
+
96 #define GRPC_SLICE_START_PTR(slice) \
+
97 ((slice).refcount ? (slice).data.refcounted.bytes \
+
98 : (slice).data.inlined.bytes)
+
99 #define GRPC_SLICE_LENGTH(slice) \
+
100 ((slice).refcount ? (slice).data.refcounted.length \
+
101 : (slice).data.inlined.length)
+
102 #define GRPC_SLICE_SET_LENGTH(slice, newlen) \
+
103 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \
+
104 : ((slice).data.inlined.length = (uint8_t)(newlen)))
+
105 #define GRPC_SLICE_END_PTR(slice) \
+
106 GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice)
+
107 #define GRPC_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0)
+
+
109 #ifdef GRPC_ALLOW_GPR_SLICE_FUNCTIONS
+
+
+
112 #define GPR_SLICE_START_PTR(slice) \
+
113 ((slice).refcount ? (slice).data.refcounted.bytes \
+
114 : (slice).data.inlined.bytes)
+
115 #define GPR_SLICE_LENGTH(slice) \
+
116 ((slice).refcount ? (slice).data.refcounted.length \
+
117 : (slice).data.inlined.length)
+
118 #define GPR_SLICE_SET_LENGTH(slice, newlen) \
+
119 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \
+
120 : ((slice).data.inlined.length = (uint8_t)(newlen)))
+
121 #define GPR_SLICE_END_PTR(slice) \
+
122 GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice)
+
123 #define GPR_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0)
+
+
+
+
+
uint8_t bytes[(sizeof(size_t)+sizeof(uint8_t *) - 1+sizeof(void *))]
Definition: slice.h:69
+
grpc_slice inlined[8]
inlined elements to avoid allocations
Definition: slice.h:93
+
struct grpc_slice_refcount * refcount
Definition: slice.h:61
+
struct grpc_slice_buffer grpc_slice_buffer
Represents an expandable array of slices, to be interpreted as a single item.
+
size_t length
Definition: slice.h:64
+
+
grpc_slice * slices
slices in the array (Points to the first valid grpc_slice in the array)
Definition: slice.h:84
+
+
+
uint8_t length
Definition: slice.h:68
+
size_t count
the number of slices in the array
Definition: slice.h:86
+
size_t length
the combined length of all slices in the array
Definition: slice.h:91
+
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1].
Definition: slice.h:60
+
union grpc_slice::grpc_slice_data data
+
#define GRPC_SLICE_BUFFER_INLINE_ELEMENTS
Definition: slice.h:74
+
#define GRPC_SLICE_INLINED_SIZE
Definition: slice.h:47
+
struct grpc_slice::grpc_slice_data::grpc_slice_inlined inlined
+
+
grpc_slice * base_slices
This is for internal use only.
Definition: slice.h:81
+
uint8_t * bytes
Definition: slice.h:65
+
struct grpc_slice::grpc_slice_data::grpc_slice_refcounted refcounted
+
size_t capacity
the number of slices allocated in the array.
Definition: slice.h:89
+
+
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
diff --git a/core/impl_2codegen_2status_8h.html b/core/impl_2codegen_2status_8h.html
index 6825f64c977..74bb047ae67 100644
--- a/core/impl_2codegen_2status_8h.html
+++ b/core/impl_2codegen_2status_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/status.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2status_8h_source.html b/core/impl_2codegen_2status_8h_source.html
index 2c42f017803..960554767d2 100644
--- a/core/impl_2codegen_2status_8h_source.html
+++ b/core/impl_2codegen_2status_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/status.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
status.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_STATUS_H 20 #define GRPC_IMPL_CODEGEN_STATUS_H Client specified an invalid argument.
Definition: status.h:44
-
Force users to include a default branch:
Definition: status.h:147
-
Not an error; returned on success.
Definition: status.h:28
-
Operation was rejected because the system is not in a state required for the operation's execution...
Definition: status.h:95
-
Some entity that we attempted to create (e.g., file or directory) already exists. ...
Definition: status.h:58
-
The request does not have valid authentication credentials for the operation.
Definition: status.h:70
-
Internal errors.
Definition: status.h:127
-
The caller does not have permission to execute the specified operation.
Definition: status.h:66
-
Unknown error.
Definition: status.h:38
-
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out ...
Definition: status.h:74
-
The service is currently unavailable.
Definition: status.h:141
-
Some requested entity (e.g., file or directory) was not found.
Definition: status.h:54
-
Deadline expired before operation could complete.
Definition: status.h:51
-
Operation was attempted past the valid range.
Definition: status.h:119
-
Operation is not implemented or not supported/enabled in this service.
Definition: status.h:122
-
The operation was cancelled (typically by the caller).
Definition: status.h:31
-
Unrecoverable data loss or corruption.
Definition: status.h:144
-
grpc_status_code
Definition: status.h:26
-
The operation was aborted, typically due to a concurrency issue like sequencer check failures...
Definition: status.h:102
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_STATUS_H
+
20 #define GRPC_IMPL_CODEGEN_STATUS_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Force users to include a default branch:
Definition: status.h:147
+
Operation is not implemented or not supported/enabled in this service.
Definition: status.h:122
+
The operation was cancelled (typically by the caller).
Definition: status.h:31
+
Client specified an invalid argument.
Definition: status.h:44
+
Unrecoverable data loss or corruption.
Definition: status.h:144
+
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out ...
Definition: status.h:74
+
Not an error; returned on success.
Definition: status.h:28
+
Operation was rejected because the system is not in a state required for the operation's execution.
Definition: status.h:95
+
Deadline expired before operation could complete.
Definition: status.h:51
+
Some entity that we attempted to create (e.g., file or directory) already exists.
Definition: status.h:58
+
The service is currently unavailable.
Definition: status.h:141
+
Internal errors.
Definition: status.h:127
+
The caller does not have permission to execute the specified operation.
Definition: status.h:66
+
Some requested entity (e.g., file or directory) was not found.
Definition: status.h:54
+
The request does not have valid authentication credentials for the operation.
Definition: status.h:70
+
grpc_status_code
Definition: status.h:26
+
Unknown error.
Definition: status.h:38
+
Operation was attempted past the valid range.
Definition: status.h:119
+
The operation was aborted, typically due to a concurrency issue like sequencer check failures,...
Definition: status.h:102
diff --git a/core/impl_2codegen_2sync_8h.html b/core/impl_2codegen_2sync_8h.html
index 081ad651f83..c0e410e2cc8 100644
--- a/core/impl_2codegen_2sync_8h.html
+++ b/core/impl_2codegen_2sync_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2sync_8h_source.html b/core/impl_2codegen_2sync_8h_source.html
index fdfe0511b92..fb4a7c3cafb 100644
--- a/core/impl_2codegen_2sync_8h_source.html
+++ b/core/impl_2codegen_2sync_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
sync.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_SYNC_H 20 #define GRPC_IMPL_CODEGEN_SYNC_H 49 #if defined(GPR_POSIX_SYNC) 51 #elif defined(GPR_WINDOWS) 53 #elif defined(GPR_CUSTOM_SYNC) 56 #error Unable to determine platform for sync
-
-
-
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_SYNC_H
+
20 #define GRPC_IMPL_CODEGEN_SYNC_H
+
+
+
+
+
+
+
+
+
+
+
49 #if defined(GPR_CUSTOM_SYNC)
+
+
51 #elif defined(GPR_ABSEIL_SYNC)
+
+
53 #elif defined(GPR_POSIX_SYNC)
+
+
55 #elif defined(GPR_WINDOWS)
+
+
+
58 #error Unable to determine platform for sync
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/core/impl_2codegen_2sync__abseil_8h.html b/core/impl_2codegen_2sync__abseil_8h.html
new file mode 100644
index 00000000000..c933b209856
--- /dev/null
+++ b/core/impl_2codegen_2sync__abseil_8h.html
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
GRPC Core: include/grpc/impl/codegen/sync_abseil.h File Reference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GRPC Core
+ 9.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/core/impl_2codegen_2sync__abseil_8h_source.html b/core/impl_2codegen_2sync__abseil_8h_source.html
new file mode 100644
index 00000000000..26a2208be5e
--- /dev/null
+++ b/core/impl_2codegen_2sync__abseil_8h_source.html
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
GRPC Core: include/grpc/impl/codegen/sync_abseil.h Source File
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GRPC Core
+ 9.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_SYNC_ABSEIL_H
+
20 #define GRPC_IMPL_CODEGEN_SYNC_ABSEIL_H
+
+
+
+
+
+
26 #ifdef GPR_ABSEIL_SYNC
+
+
+
+
+
+
32 #define GPR_ONCE_INIT 0
+
+
+
+
+
+
pthread_once_t gpr_once
Definition: sync_posix.h:48
+
pthread_cond_t gpr_cv
Definition: sync_posix.h:46
+
pthread_mutex_t gpr_mu
Definition: sync_posix.h:45
+
+
+
+
+
+
diff --git a/core/impl_2codegen_2sync__custom_8h.html b/core/impl_2codegen_2sync__custom_8h.html
index 94fc29155b6..b5f623692fd 100644
--- a/core/impl_2codegen_2sync__custom_8h.html
+++ b/core/impl_2codegen_2sync__custom_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_custom.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2sync__custom_8h_source.html b/core/impl_2codegen_2sync__custom_8h_source.html
index 2826e83fd4b..4fd3c955e08 100644
--- a/core/impl_2codegen_2sync__custom_8h_source.html
+++ b/core/impl_2codegen_2sync__custom_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_custom.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
sync_custom.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H 20 #define GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H 28 #ifdef GPR_CUSTOM_SYNC 30 typedef GPR_CUSTOM_MU_TYPE
gpr_mu ;
31 typedef GPR_CUSTOM_CV_TYPE
gpr_cv ;
32 typedef GPR_CUSTOM_ONCE_TYPE
gpr_once ;
34 #define GPR_ONCE_INIT GPR_CUSTOM_ONCE_INIT pthread_mutex_t gpr_mu
Definition: sync_posix.h:45
-
pthread_once_t gpr_once
Definition: sync_posix.h:48
-
pthread_cond_t gpr_cv
Definition: sync_posix.h:46
-
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H
+
20 #define GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H
+
+
+
+
+
+
+
+
28 #ifdef GPR_CUSTOM_SYNC
+
+
30 typedef GPR_CUSTOM_MU_TYPE
gpr_mu ;
+
31 typedef GPR_CUSTOM_CV_TYPE
gpr_cv ;
+
32 typedef GPR_CUSTOM_ONCE_TYPE
gpr_once ;
+
+
34 #define GPR_ONCE_INIT GPR_CUSTOM_ONCE_INIT
+
+
+
+
+
pthread_once_t gpr_once
Definition: sync_posix.h:48
+
pthread_cond_t gpr_cv
Definition: sync_posix.h:46
+
pthread_mutex_t gpr_mu
Definition: sync_posix.h:45
+
+
diff --git a/core/impl_2codegen_2sync__generic_8h.html b/core/impl_2codegen_2sync__generic_8h.html
index 9b98e13f203..5074140b54e 100644
--- a/core/impl_2codegen_2sync__generic_8h.html
+++ b/core/impl_2codegen_2sync__generic_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_generic.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2sync__generic_8h_source.html b/core/impl_2codegen_2sync__generic_8h_source.html
index fa1849dfaca..6d4050a52fb 100644
--- a/core/impl_2codegen_2sync__generic_8h_source.html
+++ b/core/impl_2codegen_2sync__generic_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_generic.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
sync_generic.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_SYNC_GENERIC_H 20 #define GRPC_IMPL_CODEGEN_SYNC_GENERIC_H 32 #define GPR_EVENT_INIT \ 45 #define GPR_STATS_INIT \ Definition: sync_generic.h:36
-
-
gpr_atm count
Definition: sync_generic.h:37
-
gpr_atm state
Definition: sync_generic.h:29
-
Definition: sync_generic.h:41
-
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
-
gpr_atm value
Definition: sync_generic.h:42
-
-
Definition: sync_generic.h:28
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_SYNC_GENERIC_H
+
20 #define GRPC_IMPL_CODEGEN_SYNC_GENERIC_H
+
+
+
+
+
+
+
+
+
+
+
+
32 #define GPR_EVENT_INIT \
+
+
+
+
+
+
+
+
+
+
+
+
+
45 #define GPR_STATS_INIT \
+
+
+
+
+
gpr_atm value
Definition: sync_generic.h:42
+
gpr_atm state
Definition: sync_generic.h:29
+
gpr_atm count
Definition: sync_generic.h:37
+
Definition: sync_generic.h:36
+
Definition: sync_generic.h:41
+
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
+
Definition: sync_generic.h:28
+
diff --git a/core/impl_2codegen_2sync__posix_8h.html b/core/impl_2codegen_2sync__posix_8h.html
index 97d94089c43..3749bbd2260 100644
--- a/core/impl_2codegen_2sync__posix_8h.html
+++ b/core/impl_2codegen_2sync__posix_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_posix.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2sync__posix_8h_source.html b/core/impl_2codegen_2sync__posix_8h_source.html
index 127c8ba1bf3..7b98441ab71 100644
--- a/core/impl_2codegen_2sync__posix_8h_source.html
+++ b/core/impl_2codegen_2sync__posix_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_posix.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
sync_posix.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_SYNC_POSIX_H 20 #define GRPC_IMPL_CODEGEN_SYNC_POSIX_H 28 #ifdef GRPC_ASAN_ENABLED 36 pthread_mutex_t mutex;
41 pthread_cond_t cond_var;
50 #define GPR_ONCE_INIT PTHREAD_ONCE_INIT pthread_mutex_t gpr_mu
Definition: sync_posix.h:45
-
pthread_once_t gpr_once
Definition: sync_posix.h:48
-
pthread_cond_t gpr_cv
Definition: sync_posix.h:46
-
-
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_SYNC_POSIX_H
+
20 #define GRPC_IMPL_CODEGEN_SYNC_POSIX_H
+
+
+
+
+
+
+
+
28 #ifdef GRPC_ASAN_ENABLED
+
+
+
+
+
+
+
+
36 pthread_mutex_t mutex;
+
+
+
+
+
41 pthread_cond_t cond_var;
+
+
+
+
+
+
+
+
+
50 #define GPR_ONCE_INIT PTHREAD_ONCE_INIT
+
+
+
pthread_once_t gpr_once
Definition: sync_posix.h:48
+
pthread_cond_t gpr_cv
Definition: sync_posix.h:46
+
pthread_mutex_t gpr_mu
Definition: sync_posix.h:45
+
+
diff --git a/core/impl_2codegen_2sync__windows_8h.html b/core/impl_2codegen_2sync__windows_8h.html
index 6a4df40e2d4..694cc206b92 100644
--- a/core/impl_2codegen_2sync__windows_8h.html
+++ b/core/impl_2codegen_2sync__windows_8h.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_windows.h File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/impl_2codegen_2sync__windows_8h_source.html b/core/impl_2codegen_2sync__windows_8h_source.html
index ff4942cba03..7a64eb164a3 100644
--- a/core/impl_2codegen_2sync__windows_8h_source.html
+++ b/core/impl_2codegen_2sync__windows_8h_source.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: include/grpc/impl/codegen/sync_windows.h Source File
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
sync_windows.h
-
Go to the documentation of this file. 19 #ifndef GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H 20 #define GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H 34 #define GPR_ONCE_INIT INIT_ONCE_STATIC_INIT pthread_mutex_t gpr_mu
Definition: sync_posix.h:45
-
int locked
Definition: sync_windows.h:28
-
CONDITION_VARIABLE gpr_cv
Definition: sync_windows.h:31
-
INIT_ONCE gpr_once
Definition: sync_windows.h:33
-
-
-
CRITICAL_SECTION cs
Definition: sync_windows.h:27
+
Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
19 #ifndef GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H
+
20 #define GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
34 #define GPR_ONCE_INIT INIT_ONCE_STATIC_INIT
+
+
+
CRITICAL_SECTION cs
Definition: sync_windows.h:27
+
INIT_ONCE gpr_once
Definition: sync_windows.h:33
+
int locked
Definition: sync_windows.h:28
+
pthread_mutex_t gpr_mu
Definition: sync_posix.h:45
+
+
CONDITION_VARIABLE gpr_cv
Definition: sync_windows.h:31
+
diff --git a/core/index.html b/core/index.html
index 32c278e2659..587180c0357 100644
--- a/core/index.html
+++ b/core/index.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: GRPC Core
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
@@ -58,18 +61,19 @@ $(function() {
-
+
diff --git a/core/internationalization_8md.html b/core/internationalization_8md.html
index 2da20952764..ed4e7c60744 100644
--- a/core/internationalization_8md.html
+++ b/core/internationalization_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/internationalization.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/interop-test-descriptions_8md.html b/core/interop-test-descriptions_8md.html
index 5e0e71d78a5..a7ac8766620 100644
--- a/core/interop-test-descriptions_8md.html
+++ b/core/interop-test-descriptions_8md.html
@@ -1,9 +1,9 @@
-
+
-
+
GRPC Core: doc/interop-test-descriptions.md File Reference
@@ -30,18 +30,21 @@
-
+
+/* @license-end */
diff --git a/core/jquery.js b/core/jquery.js
index f5343eda922..103c32d79b7 100644
--- a/core/jquery.js
+++ b/core/jquery.js
@@ -1,71 +1,26 @@
+/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0
+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML=" ",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML=" ";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""," "],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/
+/* @license-end */