Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_GRPC_LIBRARY_H
20 #define GRPCPP_IMPL_GRPC_LIBRARY_H
47 static auto*
const g_core_codegen =
new CoreCodegen();
60 #endif // GRPCPP_IMPL_GRPC_LIBRARY_H
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
Implementation of the core codegen interface.
Definition: core_codegen.h:32
Instantiating this class ensures the proper initialization of gRPC.
Definition: grpc_library.h:39
GrpcLibraryInitializer()
Definition: grpc_library.h:41
void init() override
Definition: grpc_library.h:34
int summon()
A no-op method to force the linker to reference this class, which will take care of initializing and ...
Definition: grpc_library.h:54
Definition: grpc_library.h:26
Definition: grpc_library.h:32
GrpcLibraryInterface * g_glip
Initialized by grpc::GrpcLibraryInitializer from <grpcpp/impl/grpc_library.h>
CoreCodegenInterface * g_core_codegen_interface
Definition: completion_queue_impl.h:93
GRPCAPI void grpc_init(void)
Initialize the grpc library.
void shutdown() override
Definition: grpc_library.h:35
GRPCAPI void grpc_shutdown(void)
Shut down the grpc library.