diff options
Diffstat (limited to 'src/core/tsi')
-rw-r--r-- | src/core/tsi/fake_transport_security.cc (renamed from src/core/tsi/fake_transport_security.c) | 0 | ||||
-rw-r--r-- | src/core/tsi/gts_transport_security.cc (renamed from src/core/tsi/gts_transport_security.c) | 4 | ||||
-rw-r--r-- | src/core/tsi/ssl_transport_security.cc (renamed from src/core/tsi/ssl_transport_security.c) | 0 | ||||
-rw-r--r-- | src/core/tsi/transport_security.cc (renamed from src/core/tsi/transport_security.c) | 0 | ||||
-rw-r--r-- | src/core/tsi/transport_security_adapter.cc (renamed from src/core/tsi/transport_security_adapter.c) | 0 | ||||
-rw-r--r-- | src/core/tsi/transport_security_grpc.cc (renamed from src/core/tsi/transport_security_grpc.c) | 0 |
6 files changed, 2 insertions, 2 deletions
diff --git a/src/core/tsi/fake_transport_security.c b/src/core/tsi/fake_transport_security.cc index 0a992b5fd2..0a992b5fd2 100644 --- a/src/core/tsi/fake_transport_security.c +++ b/src/core/tsi/fake_transport_security.cc diff --git a/src/core/tsi/gts_transport_security.c b/src/core/tsi/gts_transport_security.cc index e2ac685e44..d37f3bf8f6 100644 --- a/src/core/tsi/gts_transport_security.c +++ b/src/core/tsi/gts_transport_security.cc @@ -24,12 +24,12 @@ static gts_shared_resource g_gts_resource; gts_shared_resource *gts_get_shared_resource(void) { return &g_gts_resource; } -void grpc_tsi_gts_init() { +extern "C" void grpc_tsi_gts_init() { memset(&g_gts_resource, 0, sizeof(gts_shared_resource)); gpr_mu_init(&g_gts_resource.mu); } -void grpc_tsi_gts_shutdown() { +extern "C" void grpc_tsi_gts_shutdown() { gpr_mu_destroy(&g_gts_resource.mu); if (g_gts_resource.cq == NULL) { return; diff --git a/src/core/tsi/ssl_transport_security.c b/src/core/tsi/ssl_transport_security.cc index dd59bccdae..dd59bccdae 100644 --- a/src/core/tsi/ssl_transport_security.c +++ b/src/core/tsi/ssl_transport_security.cc diff --git a/src/core/tsi/transport_security.c b/src/core/tsi/transport_security.cc index 21bd8eba78..21bd8eba78 100644 --- a/src/core/tsi/transport_security.c +++ b/src/core/tsi/transport_security.cc diff --git a/src/core/tsi/transport_security_adapter.c b/src/core/tsi/transport_security_adapter.cc index e399e42758..e399e42758 100644 --- a/src/core/tsi/transport_security_adapter.c +++ b/src/core/tsi/transport_security_adapter.cc diff --git a/src/core/tsi/transport_security_grpc.c b/src/core/tsi/transport_security_grpc.cc index affd995230..affd995230 100644 --- a/src/core/tsi/transport_security_grpc.c +++ b/src/core/tsi/transport_security_grpc.cc |