Name Date Size #Lines LOC

..--

README.mdH A D25-Apr-20251.2 KiB2318

atm.hH A D25-Apr-2025899 305

atm_gcc_atomic.hH A D25-Apr-2025943 305

atm_gcc_sync.hH A D25-Apr-2025935 305

atm_windows.hH A D25-Apr-2025931 305

byte_buffer.hH A D25-Apr-2025893 305

byte_buffer_reader.hH A D25-Apr-2025921 305

compression_types.hH A D25-Apr-2025984 315

connectivity_state.hH A D25-Apr-2025981 315

fork.hH A D25-Apr-2025865 305

gpr_types.hH A D25-Apr-2025948 315

grpc_types.hH A D25-Apr-2025949 315

log.hH A D25-Apr-2025874 305

port_platform.hH A D25-Apr-2025868 284

propagation_bits.hH A D25-Apr-2025918 305

slice.hH A D25-Apr-2025879 305

status.hH A D25-Apr-2025873 305

sync.hH A D25-Apr-2025904 305

sync_abseil.hH A D25-Apr-2025932 305

sync_custom.hH A D25-Apr-2025932 305

sync_generic.hH A D25-Apr-2025936 305

sync_posix.hH A D25-Apr-2025928 305

sync_windows.hH A D25-Apr-2025936 305

README.md

1# Welcome to `include/grpc/impl/codegen`
2
3## Why is this directory here?
4
5This directory exists so that generated C++ code can include selected files upon
6which it depends without having to depend on the entire gRPC C++ library. This
7directory thus exists to support `include/grpcpp/impl/codegen`. This constraint
8is particularly relevant for users of bazel, particularly if they use the
9multi-lingual `proto_library` target type. Generated code that uses this target
10only depends on the gRPC C++ targets associated with these header files, not the
11entire gRPC C++ codebase since that would make the build time of these types of
12targets excessively large (particularly when they are not even C++ specific).
13
14## What should user code do?
15
16User code should *not* include anything from this directory. Only generated code
17and gRPC library code should include contents from this directory. C++ user code
18should instead include contents from the main `grpcpp` directory or its
19accessible subcomponents like `grpcpp/support`. It is possible that we may
20remove this directory altogether if the motivations for its existence are no
21longer strong enough (e.g., if the gRPC C++ library no longer has a need for an
22`impl/codegen` directory of its own).
23