|
|
@ -26,6 +26,12 @@ |
|
|
|
#include <grpc/support/log.h> |
|
|
|
#include <grpc/support/log.h> |
|
|
|
#include <grpcpp/support/config.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 grpc_impl { |
|
|
|
namespace experimental { |
|
|
|
namespace experimental { |
|
|
|
|
|
|
|
|
|
|
@ -57,7 +63,7 @@ class TlsKeyMaterialsConfig { |
|
|
|
grpc::string pem_root_certs_; |
|
|
|
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
|
|
|
|
/** TLS credential reload arguments, wraps grpc_tls_credential_reload_arg. It is
|
|
|
|
* used for experimental purposes for now and it is subject to change. |
|
|
|
* 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_; |
|
|
|
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
|
|
|
|
/** TLS credential reloag config, wraps grpc_tls_credential_reload_config. It is
|
|
|
|
* used for experimental purposes for now and it is subject to change. |
|
|
|
* used for experimental purposes for now and it is subject to change. |
|
|
@ -151,7 +157,7 @@ class TlsCredentialReloadConfig { |
|
|
|
void (*destruct_)(void* config_user_data); |
|
|
|
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
|
|
|
|
/** TLS server authorization check arguments, wraps
|
|
|
|
* grpc_tls_server_authorization_check_arg. It is used for experimental |
|
|
|
* 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_; |
|
|
|
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
|
|
|
|
/** TLS server authorization check config, wraps
|
|
|
|
* grps_tls_server_authorization_check_config. It is used for experimental |
|
|
|
* grps_tls_server_authorization_check_config. It is used for experimental |
|
|
@ -254,7 +260,7 @@ class TlsServerAuthorizationCheckConfig { |
|
|
|
void (*destruct_)(void* config_user_data); |
|
|
|
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
|
|
|
|
/** 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 |
|
|
|
* used for experimental purposes for now and it is subject to change. See the |
|
|
|