Another attempt at fixing build issue.

pull/19778/head
Matthew Stevenson 5 years ago
parent 43f9058565
commit 78e27bc141
  1. 16
      include/grpcpp/security/tls_credentials_options.h

@ -26,6 +26,12 @@
#include <grpc/support/log.h>
#include <grpcpp/support/config.h>
typedef struct grpc_tls_credential_reload_arg grpc_tls_credential_reload_arg;
typedef struct grpc_tls_credential_reload_config grpc_tls_credential_reload_config;
typedef struct grpc_tls_server_authorization_check_arg grpc_tls_server_authorization_check_arg;
typedef struct grpc_tls_server_authorization_check_config grpc_tls_server_authorization_check_config;
typedef struct grpc_tls_credentials_options grpc_tls_credentials_options;
namespace grpc_impl {
namespace experimental {
@ -57,7 +63,7 @@ class TlsKeyMaterialsConfig {
grpc::string pem_root_certs_;
};
typedef struct grpc_tls_credential_reload_arg grpc_tls_credential_reload_arg;
//typedef struct grpc_tls_credential_reload_arg grpc_tls_credential_reload_arg;
/** TLS credential reload arguments, wraps grpc_tls_credential_reload_arg. It is
* used for experimental purposes for now and it is subject to change.
@ -103,7 +109,7 @@ class TlsCredentialReloadArg {
grpc_tls_credential_reload_arg* c_arg_;
};
typedef struct grpc_tls_credential_reload_config grpc_tls_credential_reload_config;
//typedef struct grpc_tls_credential_reload_config grpc_tls_credential_reload_config;
/** TLS credential reloag config, wraps grpc_tls_credential_reload_config. It is
* used for experimental purposes for now and it is subject to change.
@ -151,7 +157,7 @@ class TlsCredentialReloadConfig {
void (*destruct_)(void* config_user_data);
};
typedef struct grpc_tls_server_authorization_check_arg grpc_tls_server_authorization_check_arg;
//typedef struct grpc_tls_server_authorization_check_arg grpc_tls_server_authorization_check_arg;
/** TLS server authorization check arguments, wraps
* grpc_tls_server_authorization_check_arg. It is used for experimental
@ -200,7 +206,7 @@ class TlsServerAuthorizationCheckArg {
grpc_tls_server_authorization_check_arg* c_arg_;
};
typedef struct grpc_tls_server_authorization_check_config grpc_tls_server_authorization_check_config;
//typedef struct ::grpc_tls_server_authorization_check_config grpc_tls_server_authorization_check_config;
/** TLS server authorization check config, wraps
* grps_tls_server_authorization_check_config. It is used for experimental
@ -254,7 +260,7 @@ class TlsServerAuthorizationCheckConfig {
void (*destruct_)(void* config_user_data);
};
typedef struct grpc_tls_credentials_options grpc_tls_credentials_options;
//typedef struct ::grpc_tls_credentials_options grpc_tls_credentials_options;
/** TLS credentials options, wrapper for grpc_tls_credentials_options. It is
* used for experimental purposes for now and it is subject to change. See the

Loading…
Cancel
Save