aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-10-05 10:13:58 -0700
committerGravatar GitHub <noreply@github.com>2017-10-05 10:13:58 -0700
commitc277fc0818eb2e7408db6758c9690bb4eb2c6ff7 (patch)
tree39d7303f599411ab00e780a26477d34be72b6ace /src/core/ext/filters/load_reporting/server_load_reporting_plugin.h
parentd6b7a28e36a84e67a64a7ddd6d4ebba0f783f912 (diff)
parent70d3424005f30ff651768b2a86a1fa6f1158eb67 (diff)
Merge pull request #12692 from yashykt/externC
Converting src/core files from C to CC
Diffstat (limited to 'src/core/ext/filters/load_reporting/server_load_reporting_plugin.h')
-rw-r--r--src/core/ext/filters/load_reporting/server_load_reporting_plugin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h b/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h
index 65a6d0900e..65e254eb53 100644
--- a/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h
+++ b/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h
@@ -23,6 +23,10 @@
#include "src/core/lib/channel/channel_stack.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** Identifiers for the invocation point of the users LR callback */
typedef enum grpc_load_reporting_source {
GRPC_LR_POINT_UNKNOWN = 0,
@@ -55,5 +59,9 @@ typedef struct grpc_load_reporting_call_data {
/** Return a \a grpc_arg enabling load reporting */
grpc_arg grpc_load_reporting_enable_arg();
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GRPC_CORE_EXT_FILTERS_LOAD_REPORTING_SERVER_LOAD_REPORTING_PLUGIN_H \
*/