• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-Dec-2021-

README.mdH A D16-Dec-20211.2 KiB2318

atm.hH A D16-Dec-20213.4 KiB9821

atm_gcc_atomic.hH A D16-Dec-20213.1 KiB9457

atm_gcc_sync.hH A D16-Dec-20212.6 KiB8850

atm_windows.hH A D16-Dec-20214.3 KiB13590

byte_buffer.hH A D16-Dec-20214.1 KiB10431

byte_buffer_reader.hH A D16-Dec-20211.2 KiB4517

compression_types.hH A D16-Dec-20213.9 KiB11142

connectivity_state.hH A D16-Dec-20211.2 KiB4716

fork.hH A D16-Dec-20211.3 KiB517

gpr_slice.hH A D16-Dec-20212.9 KiB7238

gpr_types.hH A D16-Dec-20211.8 KiB6222

grpc_types.hH A D16-Dec-202137.9 KiB814315

log.hH A D16-Dec-20213.5 KiB11349

port_platform.hH A D03-May-202219.1 KiB724583

propagation_bits.hH A D16-Dec-20211.9 KiB5518

slice.hH A D16-Dec-20214.7 KiB13059

status.hH A D16-Dec-20216.2 KiB15729

sync.hH A D16-Dec-20212.1 KiB6922

sync_abseil.hH A D16-Dec-20211,011 3911

sync_custom.hH A D16-Dec-20211.1 KiB4111

sync_generic.hH A D16-Dec-20211.2 KiB5218

sync_posix.hH A D16-Dec-20211.5 KiB5521

sync_windows.hH A D16-Dec-20211.1 KiB4314

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