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
test
core
util
cmdline.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2015 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
#ifndef GRPC_TEST_CORE_UTIL_CMDLINE_H
20
#define GRPC_TEST_CORE_UTIL_CMDLINE_H
21
22
#include <
grpc/support/port_platform.h
>
23
24
#include <string>
25
52
typedef
struct
gpr_cmdline
gpr_cmdline
;
53
56
gpr_cmdline
*
gpr_cmdline_create
(
const
char
*
description
);
59
void
gpr_cmdline_add_int
(
gpr_cmdline
* cl,
const
char
*
name
,
const
char
*
help
,
60
int
*
value
);
62
void
gpr_cmdline_add_flag
(
gpr_cmdline
* cl,
const
char
*
name
,
const
char
*
help
,
63
int
*
value
);
65
void
gpr_cmdline_add_string
(
gpr_cmdline
* cl,
const
char
*
name
,
const
char
*
help
,
66
const
char
**
value
);
68
void
gpr_cmdline_on_extra_arg
(
69
gpr_cmdline
* cl,
const
char
*
name
,
const
char
*
help
,
70
void
(*on_extra_arg)(
void
* user_data,
const
char
*
arg
),
void
* user_data);
72
void
gpr_cmdline_set_survive_failure
(
gpr_cmdline
* cl);
76
int
gpr_cmdline_parse
(
gpr_cmdline
* cl,
int
argc,
char
** argv);
78
void
gpr_cmdline_destroy
(
gpr_cmdline
* cl);
80
std::string
gpr_cmdline_usage_string
(
gpr_cmdline
* cl,
const
char
*
argv0
);
81
82
#endif
/* GRPC_TEST_CORE_UTIL_CMDLINE_H */
gpr_cmdline_add_flag
void gpr_cmdline_add_flag(gpr_cmdline *cl, const char *name, const char *help, int *value)
Definition:
cmdline.cc:110
setup.description
description
Definition:
setup.py:544
testing::internal::string
::std::string string
Definition:
bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
setup.name
name
Definition:
setup.py:542
gpr_cmdline_on_extra_arg
void gpr_cmdline_on_extra_arg(gpr_cmdline *cl, const char *name, const char *help, void(*on_extra_arg)(void *user_data, const char *arg), void *user_data)
Definition:
cmdline.cc:120
gpr_cmdline_create
gpr_cmdline * gpr_cmdline_create(const char *description)
Definition:
cmdline.cc:66
gpr_cmdline_set_survive_failure
void gpr_cmdline_set_survive_failure(gpr_cmdline *cl)
Definition:
cmdline.cc:75
arg
Definition:
cmdline.cc:40
asyncio_get_stats.help
help
Definition:
asyncio_get_stats.py:39
gpr_cmdline_parse
int gpr_cmdline_parse(gpr_cmdline *cl, int argc, char **argv)
Definition:
cmdline.cc:309
gpr_cmdline_add_string
void gpr_cmdline_add_string(gpr_cmdline *cl, const char *name, const char *help, const char **value)
Definition:
cmdline.cc:115
value
const char * value
Definition:
hpack_parser_table.cc:165
gpr_cmdline_destroy
void gpr_cmdline_destroy(gpr_cmdline *cl)
Definition:
cmdline.cc:79
gpr_cmdline_usage_string
std::string gpr_cmdline_usage_string(gpr_cmdline *cl, const char *argv0)
Definition:
cmdline.cc:151
gpr_cmdline::argv0
const char * argv0
Definition:
cmdline.cc:51
gpr_cmdline
Definition:
cmdline.cc:48
gpr_cmdline_add_int
void gpr_cmdline_add_int(gpr_cmdline *cl, const char *name, const char *help, int *value)
Definition:
cmdline.cc:105
port_platform.h
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:48