diff options
author | 2017-09-20 18:56:37 -0700 | |
---|---|---|
committer | 2017-10-02 16:23:34 -0700 | |
commit | a7e6d65a4864422854117149a6e98ff80e492fa9 (patch) | |
tree | f45e79512522e1584a1f4d6f2ed25755fc97eb97 /src/core/ext/filters/client_channel/proxy_mapper.h | |
parent | ac0c2d9036814b56a3f8d99d6f8cbafeed671eca (diff) |
Changes for C to C++. Adding extern C to header files for compatibility.
Diffstat (limited to 'src/core/ext/filters/client_channel/proxy_mapper.h')
-rw-r--r-- | src/core/ext/filters/client_channel/proxy_mapper.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/proxy_mapper.h b/src/core/ext/filters/client_channel/proxy_mapper.h index a13861ccaf..1325a9f1f6 100644 --- a/src/core/ext/filters/client_channel/proxy_mapper.h +++ b/src/core/ext/filters/client_channel/proxy_mapper.h @@ -25,6 +25,10 @@ #include "src/core/lib/iomgr/resolve_address.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct grpc_proxy_mapper grpc_proxy_mapper; typedef struct { @@ -71,4 +75,8 @@ bool grpc_proxy_mapper_map_address(grpc_exec_ctx* exec_ctx, void grpc_proxy_mapper_destroy(grpc_proxy_mapper* mapper); -#endif /* GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_PROXY_MAPPER_H */ +#ifdef __cplusplus +} +#endif + +#endif /* GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_PROXY_MAPPER_H */
\ No newline at end of file |