Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
src
core
tsi
alts
handshaker
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
22
#include <
grpc/support/port_platform.h
>
23
24
#include <
grpc/grpc.h
>
25
#include <
grpc/support/sync.h
>
26
27
#include "
src/core/lib/gprpp/thd.h
"
28
#include "
src/core/lib/iomgr/pollset_set.h
"
29
#include "
src/core/lib/surface/completion_queue.h
"
30
35
typedef
struct
alts_shared_resource_dedicated
{
36
grpc_core::Thread
thread
;
37
grpc_completion_queue
*
cq
;
38
grpc_pollset_set
*
interested_parties
;
39
grpc_cq_completion
storage
;
40
gpr_mu
mu
;
41
grpc_channel
*
channel
;
42
}
alts_shared_resource_dedicated
;
43
44
/* This method returns the address of alts_shared_resource_dedicated
45
* object shared by all TSI handshakes.
46
*/
47
alts_shared_resource_dedicated
*
grpc_alts_get_shared_resource_dedicated
(
void
);
48
54
void
grpc_alts_shared_resource_dedicated_shutdown
();
55
61
void
grpc_alts_shared_resource_dedicated_init
();
62
69
void
grpc_alts_shared_resource_dedicated_start
(
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