Go to the documentation of this file.
19 #ifndef GRPC_CORE_LIB_GPRPP_GLOBAL_CONFIG_GENERIC_H
20 #define GRPC_CORE_LIB_GPRPP_GLOBAL_CONFIG_GENERIC_H
24 #define GPR_GLOBAL_CONFIG_GET(name) gpr_global_config_get_##name()
26 #define GPR_GLOBAL_CONFIG_SET(name, value) gpr_global_config_set_##name(value)
28 #define GPR_GLOBAL_CONFIG_DECLARE_BOOL(name) \
29 extern bool gpr_global_config_get_##name(); \
30 extern void gpr_global_config_set_##name(bool value)
32 #define GPR_GLOBAL_CONFIG_DECLARE_INT32(name) \
33 extern int32_t gpr_global_config_get_##name(); \
34 extern void gpr_global_config_set_##name(int32_t value)
36 #define GPR_GLOBAL_CONFIG_DECLARE_STRING(name) \
37 extern grpc_core::UniquePtr<char> gpr_global_config_get_##name(); \
38 extern void gpr_global_config_set_##name(const char* value)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:26