From b95e70ee1b3ed989c2e40ad273210eae3c5fa85f Mon Sep 17 00:00:00 2001 From: Matthew Stevenson Date: Tue, 20 Aug 2019 13:47:25 -0700 Subject: [PATCH] Restored grpc_security, ssl_utils, grpc_tls_credentials_options.h --- .../credentials/tls/grpc_tls_credentials_options.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h b/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h index af4074138cf..e6399ba6ecd 100644 --- a/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +++ b/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h @@ -65,6 +65,9 @@ struct grpc_tls_credential_reload_config void (*destruct)(void* config_user_data)); ~grpc_tls_credential_reload_config(); + void* context() const { return context_; } + void set_context(void* context) { context_ = context; } + int Schedule(grpc_tls_credential_reload_arg* arg) const { return schedule_(config_user_data_, arg); } @@ -77,6 +80,7 @@ struct grpc_tls_credential_reload_config } private: + void* context_; /** config-specific, read-only user data that works for all channels created with a credential using the config. */ void* config_user_data_; @@ -113,6 +117,9 @@ struct grpc_tls_server_authorization_check_config void (*destruct)(void* config_user_data)); ~grpc_tls_server_authorization_check_config(); + void* context() const { return context_; } + void set_context(void* context) { context_ = context; } + int Schedule(grpc_tls_server_authorization_check_arg* arg) const { return schedule_(config_user_data_, arg); } @@ -125,6 +132,7 @@ struct grpc_tls_server_authorization_check_config } private: + void* context_; /** config-specific, read-only user data that works for all channels created with a Credential using the config. */ void* config_user_data_;