Go to the documentation of this file.
33 #define CA_CERT_PATH "src/core/tsi/test_creds/ca.pem"
50 reinterpret_cast<void*
>(
next_tag++));
86 for (
size_t i = 1;
i <= 3;
i++) {
89 for (
size_t i = 1;
i <= 3;
i++) {
96 for (
size_t i = 1;
i <= 3;
i++) {
100 for (
size_t i = 3;
i <= 5;
i++) {
103 for (
size_t i = 1;
i <= 5;
i++) {
140 connect_deadline,
cq,
141 reinterpret_cast<void*
>(1));
183 {
const_cast<char*
>(
"foo.test.google.fr")}};
200 int main(
int argc,
char** argv) {
static void run_timeouts_test(const test_fixture *fixture)
GPRAPI void grpc_slice_unref(grpc_slice s)
gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s)
grpc_error_handle grpc_load_file(const char *filename, int add_null_terminator, grpc_slice *output)
GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state(grpc_channel *channel, int try_to_connect)
GPRAPI gpr_timespec gpr_inf_future(gpr_clock_type type)
static void channel_idle_poll_for_timeout(grpc_channel *channel, grpc_completion_queue *cq)
#define GRPC_LOG_IF_ERROR(what, error)
static grpc_channel * insecure_test_create_channel(const char *addr)
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)
int main(int argc, char **argv)
wrapped_grpc_channel * channel
GRPCAPI int grpc_channel_num_external_connectivity_watchers(grpc_channel *channel)
#define GRPC_SSL_TARGET_NAME_OVERRIDE_ARG
static const test_fixture secure_test
static const char fixture[]
static const test_fixture insecure_test
gpr_timespec grpc_timeout_milliseconds_to_deadline(int64_t time_ms)
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
struct test_fixture test_fixture
std::string JoinHostPort(absl::string_view host, int port)
GRPCAPI grpc_channel_credentials * grpc_insecure_credentials_create()
#define GRPC_SLICE_START_PTR(slice)
void grpc_channel_args_destroy(grpc_channel_args *a)
int grpc_pick_unused_port_or_die(void)
GRPCAPI void grpc_channel_credentials_release(grpc_channel_credentials *creds)
GRPCAPI grpc_channel * grpc_channel_create(const char *target, grpc_channel_credentials *creds, const grpc_channel_args *args)
GRPCAPI void grpc_completion_queue_destroy(grpc_completion_queue *cq)
grpc_core::ExecCtx exec_ctx
GRPCAPI grpc_event grpc_completion_queue_next(grpc_completion_queue *cq, gpr_timespec deadline, void *reserved)
GRPCAPI void grpc_completion_queue_shutdown(grpc_completion_queue *cq)
GRPCAPI void grpc_channel_destroy(grpc_channel *channel)
struct grpc_channel grpc_channel
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)
static void channel_idle_start_watch(grpc_channel *channel, grpc_completion_queue *cq)
const char test_root_cert[]
static void run_channel_shutdown_before_timeout_test(const test_fixture *fixture)
GRPCAPI grpc_completion_queue * grpc_completion_queue_create_for_next(void *reserved)
static grpc_channel * secure_test_create_channel(const char *addr)
grpc_completion_type type
GRPCAPI void grpc_init(void)
GRPCAPI void grpc_shutdown(void)
static grpc_completion_queue * cq
grpc_channel_args * grpc_channel_args_copy_and_add(const grpc_channel_args *src, const grpc_arg *to_add, size_t num_to_add)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:33