alts_shared_resource.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2018 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_CORE_TSI_ALTS_HANDSHAKER_ALTS_SHARED_RESOURCE_H
20 #define GRPC_CORE_TSI_ALTS_HANDSHAKER_ALTS_SHARED_RESOURCE_H
21 
23 
24 #include <grpc/grpc.h>
25 #include <grpc/support/sync.h>
26 
27 #include "src/core/lib/gprpp/thd.h"
30 
43 
44 /* This method returns the address of alts_shared_resource_dedicated
45  * object shared by all TSI handshakes.
46  */
48 
55 
62 
70  const char* handshaker_service_url);
71 
72 #endif /* GRPC_CORE_TSI_ALTS_HANDSHAKER_ALTS_SHARED_RESOURCE_H \
73  */
grpc_alts_shared_resource_dedicated_shutdown
void grpc_alts_shared_resource_dedicated_shutdown()
Definition: alts_shared_resource.cc:80
grpc_alts_shared_resource_dedicated_start
void grpc_alts_shared_resource_dedicated_start(const char *handshaker_service_url)
Definition: alts_shared_resource.cc:55
alts_shared_resource_dedicated::thread
grpc_core::Thread thread
Definition: alts_shared_resource.h:36
grpc_pollset_set
struct grpc_pollset_set grpc_pollset_set
Definition: iomgr_fwd.h:23
alts_shared_resource_dedicated::channel
grpc_channel * channel
Definition: alts_shared_resource.h:41
completion_queue.h
grpc_cq_completion
Definition: src/core/lib/surface/completion_queue.h:43
alts_shared_resource_dedicated::mu
gpr_mu mu
Definition: alts_shared_resource.h:40
grpc_alts_shared_resource_dedicated_init
void grpc_alts_shared_resource_dedicated_init()
Definition: alts_shared_resource.cc:50
alts_shared_resource_dedicated::storage
grpc_cq_completion storage
Definition: alts_shared_resource.h:39
alts_shared_resource_dedicated
struct alts_shared_resource_dedicated alts_shared_resource_dedicated
alts_shared_resource_dedicated::interested_parties
grpc_pollset_set * interested_parties
Definition: alts_shared_resource.h:38
grpc_completion_queue
Definition: completion_queue.cc:347
grpc.h
pollset_set.h
alts_shared_resource_dedicated
Definition: alts_shared_resource.h:35
gpr_mu
pthread_mutex_t gpr_mu
Definition: impl/codegen/sync_posix.h:47
thd.h
grpc_core::Thread
Definition: thd.h:43
grpc_channel
struct grpc_channel grpc_channel
Definition: grpc_types.h:62
grpc_alts_get_shared_resource_dedicated
alts_shared_resource_dedicated * grpc_alts_get_shared_resource_dedicated(void)
Definition: alts_shared_resource.cc:30
alts_shared_resource_dedicated::cq
grpc_completion_queue * cq
Definition: alts_shared_resource.h:37
sync.h
port_platform.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:30