Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Nicolas "Pixel" Noble
cabbd35014
Reformat.
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Vijay Pai
cfe08f35f3
Add comments explaining purpose and validity of interception API
6 years ago
Yash Tibrewal
d590583456
Allow interceptor creators to return nullptr
6 years ago
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
6 years ago
Yash Tibrewal
857e79ce00
Improve documentation
6 years ago
Yash Tibrewal
0390b29e15
Register global interceptors functionality
6 years ago
Yash Tibrewal
85ddf5c713
Get ClientContext included with ChannelInterface, and slight more cleanup
6 years ago
Yash Tibrewal
395edbfa24
Replace size_t initialization from false to 0
6 years ago
Yash Tibrewal
005eb29298
Missed reviewer comments
6 years ago
Yash Tibrewal
1ea195b6f3
Reviewer comments except for void * fixed
6 years ago
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
6 years ago
Yash Tibrewal
3a17f5b05e
Working on tests
6 years ago
Yash Tibrewal
52765e9cb1
Don't expose internal functions.. Add a layer of indirection namely InternalInterceptorBatchMethods
6 years ago
Yash Tibrewal
b232bacf27
Starting on server interceptors
6 years ago
Yash Tibrewal
f9fe345553
Add more tests for client interceptors
6 years ago
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
6 years ago
Yash Tibrewal
63bdf4e236
More changes for client interception
6 years ago
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
6 years ago
Yash Tibrewal
b741edf37e
Error fixes
6 years ago
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
6 years ago
Juanli Shen
be40b0d3a8
Add server load reporting service
7 years ago
Juanli Shen
291bbc7014
Add load reporter
7 years ago
Yihua Zhang
04fb58efbd
Add ALTS code to grpc/core
7 years ago
Alexander Polcyn
db3e898a98
Add a sanity check for inclusion of port_platform.h
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
83062842c3
Changes for C to C++. Adding extern C to header files for compatibility.
...
Also converting to .cc
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
murgatroid99
7871f736ce
Remove sockaddr type structs and socklen_t from internal core APIs, update POSIX tests
8 years ago
murgatroid99
9030c81f20
Add a libuv endpoint to the C core, for use in the Node library
8 years ago
murgatroid99
7e924a0dd4
Clang format
8 years ago
murgatroid99
31963632dc
Make usage of grpc_inet_ntop consistent
8 years ago
murgatroid99
0b110dd28d
Changed grpc_inet_ntop signature to match Windows function
8 years ago
murgatroid99
cb6ce70b5a
Fixed copyright year in new file
8 years ago
murgatroid99
3c2c6c15d9
Fixed InetNtop function call
8 years ago
murgatroid99
623dd4f556
Renamed GPR_ constants to GRPC_ in iomgr/port.h
8 years ago
murgatroid99
5407089b37
Separate out iomgr-specific constants into a separate header
8 years ago
murgatroid99
79b322751f
refactor inet_ntop into a portability header
8 years ago
Yuchen Zeng
12dfdc3c27
Change win32 file suffix
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
8a9fd52b71
Fix copyright
9 years ago
Craig Tiller
f23078cbd3
Stage #1 of core breakup: move everything under lib
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
ae65f1a212
Remove random includes of windows.h
...
Instead, include a stanza in port_platform.h that:
- gets windows.h included
- defines things that we needs to define
- tries to respect applications configurations by leaving things as
untouched as possible
10 years ago
Yang Gao
c71a9d2b56
clang-format
10 years ago
Simon Koo
81b67112b8
make Windows.h lowercase for cross compiling from Linux
10 years ago