aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/cq_verifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/cq_verifier.h')
-rw-r--r--test/core/end2end/cq_verifier.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/core/end2end/cq_verifier.h b/test/core/end2end/cq_verifier.h
index 959f849cb1..0b3b3fb349 100644
--- a/test/core/end2end/cq_verifier.h
+++ b/test/core/end2end/cq_verifier.h
@@ -24,6 +24,10 @@
#include <grpc/grpc.h>
#include "test/core/util/test_config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* A cq_verifier can verify that expected events arrive in a timely fashion
on a single completion queue */
@@ -59,4 +63,8 @@ int contains_metadata(grpc_metadata_array* array, const char* key,
int contains_metadata_slices(grpc_metadata_array* array, grpc_slice key,
grpc_slice value);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GRPC_TEST_CORE_END2END_CQ_VERIFIER_H */