Gogs bef6e57d0d first commit 3 сар өмнө
..
README.md bef6e57d0d first commit 3 сар өмнө
atm.h bef6e57d0d first commit 3 сар өмнө
atm_gcc_atomic.h bef6e57d0d first commit 3 сар өмнө
atm_gcc_sync.h bef6e57d0d first commit 3 сар өмнө
atm_windows.h bef6e57d0d first commit 3 сар өмнө
byte_buffer.h bef6e57d0d first commit 3 сар өмнө
byte_buffer_reader.h bef6e57d0d first commit 3 сар өмнө
compression_types.h bef6e57d0d first commit 3 сар өмнө
connectivity_state.h bef6e57d0d first commit 3 сар өмнө
fork.h bef6e57d0d first commit 3 сар өмнө
gpr_slice.h bef6e57d0d first commit 3 сар өмнө
gpr_types.h bef6e57d0d first commit 3 сар өмнө
grpc_types.h bef6e57d0d first commit 3 сар өмнө
log.h bef6e57d0d first commit 3 сар өмнө
port_platform.h bef6e57d0d first commit 3 сар өмнө
propagation_bits.h bef6e57d0d first commit 3 сар өмнө
slice.h bef6e57d0d first commit 3 сар өмнө
status.h bef6e57d0d first commit 3 сар өмнө
sync.h bef6e57d0d first commit 3 сар өмнө
sync_abseil.h bef6e57d0d first commit 3 сар өмнө
sync_custom.h bef6e57d0d first commit 3 сар өмнө
sync_generic.h bef6e57d0d first commit 3 сар өмнө
sync_posix.h bef6e57d0d first commit 3 сар өмнө
sync_windows.h bef6e57d0d first commit 3 сар өмнө

README.md

Welcome to include/grpc/impl/codegen

Why is this directory here?

This directory exists so that generated C++ code can include selected files upon which it depends without having to depend on the entire gRPC C++ library. This directory thus exists to support include/grpcpp/impl/codegen. This constraint is particularly relevant for users of bazel, particularly if they use the multi-lingual proto_library target type. Generated code that uses this target only depends on the gRPC C++ targets associated with these header files, not the entire gRPC C++ codebase since that would make the build time of these types of targets excessively large (particularly when they are not even C++ specific).

What should user code do?

User code should not include anything from this directory. Only generated code and gRPC library code should include contents from this directory. C++ user code should instead include contents from the main grpcpp directory or its accessible subcomponents like grpcpp/support. It is possible that we may remove this directory altogether if the motivations for its existence are no longer strong enough (e.g., if the gRPC C++ library no longer has a need for an impl/codegen directory of its own).