aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-06-20 09:23:55 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-06-20 09:23:55 -0700
commit4fd2134dafc61af764b18dacee0acd8ef307dcc4 (patch)
tree952fd147d215373c2630a2b4551b18d3d8a99aa1
parent035cb3a3d4fe9634834b5814827e49adc9cf6b69 (diff)
Make another .h file accessible from C++.
-rw-r--r--src/core/lib/security/context/security_context.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/security/context/security_context.h b/src/core/lib/security/context/security_context.h
index ef0c06b1fb..4e7666dfe3 100644
--- a/src/core/lib/security/context/security_context.h
+++ b/src/core/lib/security/context/security_context.h
@@ -37,6 +37,10 @@
#include "src/core/lib/iomgr/pollset.h"
#include "src/core/lib/security/credentials/credentials.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* --- grpc_auth_context ---
High level authentication context object. Can optionally be chained. */
@@ -111,4 +115,8 @@ grpc_auth_context *grpc_auth_context_from_arg(const grpc_arg *arg);
grpc_auth_context *grpc_find_auth_context_in_args(
const grpc_channel_args *args);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GRPC_CORE_LIB_SECURITY_CONTEXT_SECURITY_CONTEXT_H */