|
|
|
@ -27,6 +27,7 @@ |
|
|
|
|
|
|
|
|
|
#include <grpc/byte_buffer.h> |
|
|
|
|
#include <grpc/compression.h> |
|
|
|
|
#include <grpc/credentials.h> |
|
|
|
|
#include <grpc/grpc.h> |
|
|
|
|
#include <grpc/grpc_posix.h> |
|
|
|
|
#include <grpc/grpc_security.h> |
|
|
|
@ -101,6 +102,198 @@ extern grpc_compression_options_disable_algorithm_type grpc_compression_options_ |
|
|
|
|
typedef int(*grpc_compression_options_is_algorithm_enabled_type)(const grpc_compression_options* opts, grpc_compression_algorithm algorithm); |
|
|
|
|
extern grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import; |
|
|
|
|
#define grpc_compression_options_is_algorithm_enabled grpc_compression_options_is_algorithm_enabled_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_service_account_jwt_access_credentials_create_type)(const char* json_key, gpr_timespec token_lifetime, void* reserved); |
|
|
|
|
extern grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import; |
|
|
|
|
#define grpc_service_account_jwt_access_credentials_create grpc_service_account_jwt_access_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_external_account_credentials_create_type)(const char* json_string, const char* scopes_string); |
|
|
|
|
extern grpc_external_account_credentials_create_type grpc_external_account_credentials_create_import; |
|
|
|
|
#define grpc_external_account_credentials_create grpc_external_account_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_refresh_token_credentials_create_type)(const char* json_refresh_token, void* reserved); |
|
|
|
|
extern grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import; |
|
|
|
|
#define grpc_google_refresh_token_credentials_create grpc_google_refresh_token_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token, void* reserved); |
|
|
|
|
extern grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import; |
|
|
|
|
#define grpc_access_token_credentials_create grpc_access_token_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_iam_credentials_create_type)(const char* authorization_token, const char* authority_selector, void* reserved); |
|
|
|
|
extern grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import; |
|
|
|
|
#define grpc_google_iam_credentials_create grpc_google_iam_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_sts_credentials_create_type)(const grpc_sts_credentials_options* options, void* reserved); |
|
|
|
|
extern grpc_sts_credentials_create_type grpc_sts_credentials_create_import; |
|
|
|
|
#define grpc_sts_credentials_create grpc_sts_credentials_create_import |
|
|
|
|
typedef void(*grpc_auth_metadata_context_copy_type)(grpc_auth_metadata_context* from, grpc_auth_metadata_context* to); |
|
|
|
|
extern grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import; |
|
|
|
|
#define grpc_auth_metadata_context_copy grpc_auth_metadata_context_copy_import |
|
|
|
|
typedef void(*grpc_auth_metadata_context_reset_type)(grpc_auth_metadata_context* context); |
|
|
|
|
extern grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import; |
|
|
|
|
#define grpc_auth_metadata_context_reset grpc_auth_metadata_context_reset_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void* reserved); |
|
|
|
|
extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import; |
|
|
|
|
#define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import |
|
|
|
|
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds); |
|
|
|
|
extern grpc_call_credentials_release_type grpc_call_credentials_release_import; |
|
|
|
|
#define grpc_call_credentials_release grpc_call_credentials_release_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(grpc_call_credentials* call_credentials); |
|
|
|
|
extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import; |
|
|
|
|
#define grpc_google_default_credentials_create grpc_google_default_credentials_create_import |
|
|
|
|
typedef grpc_ssl_server_certificate_config*(*grpc_ssl_server_certificate_config_create_type)(const char* pem_root_certs, const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs); |
|
|
|
|
extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import; |
|
|
|
|
#define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import |
|
|
|
|
typedef void(*grpc_ssl_server_certificate_config_destroy_type)(grpc_ssl_server_certificate_config* config); |
|
|
|
|
extern grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import; |
|
|
|
|
#define grpc_ssl_server_certificate_config_destroy grpc_ssl_server_certificate_config_destroy_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const verify_peer_options* verify_options, void* reserved); |
|
|
|
|
extern grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import; |
|
|
|
|
#define grpc_ssl_credentials_create grpc_ssl_credentials_create_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const grpc_ssl_verify_peer_options* verify_options, void* reserved); |
|
|
|
|
extern grpc_ssl_credentials_create_ex_type grpc_ssl_credentials_create_ex_import; |
|
|
|
|
#define grpc_ssl_credentials_create_ex grpc_ssl_credentials_create_ex_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, int force_client_auth, void* reserved); |
|
|
|
|
extern grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create grpc_ssl_server_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, grpc_ssl_client_certificate_request_type client_certificate_request, void* reserved); |
|
|
|
|
extern grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_ex grpc_ssl_server_credentials_create_ex_import |
|
|
|
|
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config* certificate_config); |
|
|
|
|
extern grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_options_using_config grpc_ssl_server_credentials_create_options_using_config_import |
|
|
|
|
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_fetcher_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void* user_data); |
|
|
|
|
extern grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_options_using_config_fetcher grpc_ssl_server_credentials_create_options_using_config_fetcher_import |
|
|
|
|
typedef void(*grpc_ssl_server_credentials_options_destroy_type)(grpc_ssl_server_credentials_options* options); |
|
|
|
|
extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import; |
|
|
|
|
#define grpc_ssl_server_credentials_options_destroy grpc_ssl_server_credentials_options_destroy_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options); |
|
|
|
|
extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import |
|
|
|
|
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials* creds, grpc_auth_metadata_processor processor); |
|
|
|
|
extern grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import; |
|
|
|
|
#define grpc_server_credentials_set_auth_metadata_processor grpc_server_credentials_set_auth_metadata_processor_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_composite_call_credentials_create_type)(grpc_call_credentials* creds1, grpc_call_credentials* creds2, void* reserved); |
|
|
|
|
extern grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import; |
|
|
|
|
#define grpc_composite_call_credentials_create grpc_composite_call_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_compute_engine_credentials_create_type)(void* reserved); |
|
|
|
|
extern grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import; |
|
|
|
|
#define grpc_google_compute_engine_credentials_create grpc_google_compute_engine_credentials_create_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_composite_channel_credentials_create_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved); |
|
|
|
|
extern grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import; |
|
|
|
|
#define grpc_composite_channel_credentials_create grpc_composite_channel_credentials_create_import |
|
|
|
|
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_client_options_create_type)(void); |
|
|
|
|
extern grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import; |
|
|
|
|
#define grpc_alts_credentials_client_options_create grpc_alts_credentials_client_options_create_import |
|
|
|
|
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_server_options_create_type)(void); |
|
|
|
|
extern grpc_alts_credentials_server_options_create_type grpc_alts_credentials_server_options_create_import; |
|
|
|
|
#define grpc_alts_credentials_server_options_create grpc_alts_credentials_server_options_create_import |
|
|
|
|
typedef void(*grpc_alts_credentials_client_options_add_target_service_account_type)(grpc_alts_credentials_options* options, const char* service_account); |
|
|
|
|
extern grpc_alts_credentials_client_options_add_target_service_account_type grpc_alts_credentials_client_options_add_target_service_account_import; |
|
|
|
|
#define grpc_alts_credentials_client_options_add_target_service_account grpc_alts_credentials_client_options_add_target_service_account_import |
|
|
|
|
typedef void(*grpc_alts_credentials_options_destroy_type)(grpc_alts_credentials_options* options); |
|
|
|
|
extern grpc_alts_credentials_options_destroy_type grpc_alts_credentials_options_destroy_import; |
|
|
|
|
#define grpc_alts_credentials_options_destroy grpc_alts_credentials_options_destroy_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_alts_credentials_create_type)(const grpc_alts_credentials_options* options); |
|
|
|
|
extern grpc_alts_credentials_create_type grpc_alts_credentials_create_import; |
|
|
|
|
#define grpc_alts_credentials_create grpc_alts_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_alts_server_credentials_create_type)(const grpc_alts_credentials_options* options); |
|
|
|
|
extern grpc_alts_server_credentials_create_type grpc_alts_server_credentials_create_import; |
|
|
|
|
#define grpc_alts_server_credentials_create grpc_alts_server_credentials_create_import |
|
|
|
|
typedef grpc_tls_identity_pairs*(*grpc_tls_identity_pairs_create_type)(); |
|
|
|
|
extern grpc_tls_identity_pairs_create_type grpc_tls_identity_pairs_create_import; |
|
|
|
|
#define grpc_tls_identity_pairs_create grpc_tls_identity_pairs_create_import |
|
|
|
|
typedef void(*grpc_tls_identity_pairs_add_pair_type)(grpc_tls_identity_pairs* pairs, const char* private_key, const char* cert_chain); |
|
|
|
|
extern grpc_tls_identity_pairs_add_pair_type grpc_tls_identity_pairs_add_pair_import; |
|
|
|
|
#define grpc_tls_identity_pairs_add_pair grpc_tls_identity_pairs_add_pair_import |
|
|
|
|
typedef void(*grpc_tls_identity_pairs_destroy_type)(grpc_tls_identity_pairs* pairs); |
|
|
|
|
extern grpc_tls_identity_pairs_destroy_type grpc_tls_identity_pairs_destroy_import; |
|
|
|
|
#define grpc_tls_identity_pairs_destroy grpc_tls_identity_pairs_destroy_import |
|
|
|
|
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_static_data_create_type)(const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs); |
|
|
|
|
extern grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provider_static_data_create_import; |
|
|
|
|
#define grpc_tls_certificate_provider_static_data_create grpc_tls_certificate_provider_static_data_create_import |
|
|
|
|
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_file_watcher_create_type)(const char* private_key_path, const char* identity_certificate_path, const char* root_cert_path, unsigned int refresh_interval_sec); |
|
|
|
|
extern grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import; |
|
|
|
|
#define grpc_tls_certificate_provider_file_watcher_create grpc_tls_certificate_provider_file_watcher_create_import |
|
|
|
|
typedef void(*grpc_tls_certificate_provider_release_type)(grpc_tls_certificate_provider* provider); |
|
|
|
|
extern grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import; |
|
|
|
|
#define grpc_tls_certificate_provider_release grpc_tls_certificate_provider_release_import |
|
|
|
|
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_create_type)(void); |
|
|
|
|
extern grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import; |
|
|
|
|
#define grpc_tls_credentials_options_create grpc_tls_credentials_options_create_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_min_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version min_tls_version); |
|
|
|
|
extern grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_min_tls_version grpc_tls_credentials_options_set_min_tls_version_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_max_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version max_tls_version); |
|
|
|
|
extern grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_max_tls_version grpc_tls_credentials_options_set_max_tls_version_import |
|
|
|
|
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_copy_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import; |
|
|
|
|
#define grpc_tls_credentials_options_copy grpc_tls_credentials_options_copy_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_destroy_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import; |
|
|
|
|
#define grpc_tls_credentials_options_destroy grpc_tls_credentials_options_destroy_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_certificate_provider_type)(grpc_tls_credentials_options* options, grpc_tls_certificate_provider* provider); |
|
|
|
|
extern grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_set_certificate_provider_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_watch_root_certs_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import; |
|
|
|
|
#define grpc_tls_credentials_options_watch_root_certs grpc_tls_credentials_options_watch_root_certs_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_root_cert_name_type)(grpc_tls_credentials_options* options, const char* root_cert_name); |
|
|
|
|
extern grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_root_cert_name grpc_tls_credentials_options_set_root_cert_name_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_watch_identity_key_cert_pairs_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import; |
|
|
|
|
#define grpc_tls_credentials_options_watch_identity_key_cert_pairs grpc_tls_credentials_options_watch_identity_key_cert_pairs_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_identity_cert_name_type)(grpc_tls_credentials_options* options, const char* identity_cert_name); |
|
|
|
|
extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_identity_cert_name grpc_tls_credentials_options_set_identity_cert_name_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type); |
|
|
|
|
extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory); |
|
|
|
|
extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert); |
|
|
|
|
extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_send_client_ca_list_type)(grpc_tls_credentials_options* options, bool send_client_ca_list); |
|
|
|
|
extern grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_send_client_ca_list grpc_tls_credentials_options_set_send_client_ca_list_import |
|
|
|
|
typedef grpc_ssl_session_cache*(*grpc_ssl_session_cache_create_lru_type)(size_t capacity); |
|
|
|
|
extern grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import; |
|
|
|
|
#define grpc_ssl_session_cache_create_lru grpc_ssl_session_cache_create_lru_import |
|
|
|
|
typedef void(*grpc_ssl_session_cache_destroy_type)(grpc_ssl_session_cache* cache); |
|
|
|
|
extern grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import; |
|
|
|
|
#define grpc_ssl_session_cache_destroy grpc_ssl_session_cache_destroy_import |
|
|
|
|
typedef grpc_arg(*grpc_ssl_session_cache_create_channel_arg_type)(grpc_ssl_session_cache* cache); |
|
|
|
|
extern grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import; |
|
|
|
|
#define grpc_ssl_session_cache_create_channel_arg grpc_ssl_session_cache_create_channel_arg_import |
|
|
|
|
typedef void(*grpc_set_ssl_roots_override_callback_type)(grpc_ssl_roots_override_callback cb); |
|
|
|
|
extern grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import; |
|
|
|
|
#define grpc_set_ssl_roots_override_callback grpc_set_ssl_roots_override_callback_import |
|
|
|
|
typedef gpr_timespec(*grpc_max_auth_token_lifetime_type)(void); |
|
|
|
|
extern grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import; |
|
|
|
|
#define grpc_max_auth_token_lifetime grpc_max_auth_token_lifetime_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_insecure_credentials_create_type)(); |
|
|
|
|
extern grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import; |
|
|
|
|
#define grpc_insecure_credentials_create grpc_insecure_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_insecure_server_credentials_create_type)(); |
|
|
|
|
extern grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import; |
|
|
|
|
#define grpc_insecure_server_credentials_create grpc_insecure_server_credentials_create_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials); |
|
|
|
|
extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import; |
|
|
|
|
#define grpc_xds_credentials_create grpc_xds_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_xds_server_credentials_create_type)(grpc_server_credentials* fallback_credentials); |
|
|
|
|
extern grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import; |
|
|
|
|
#define grpc_xds_server_credentials_create grpc_xds_server_credentials_create_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_local_credentials_create_type)(grpc_local_connect_type type); |
|
|
|
|
extern grpc_local_credentials_create_type grpc_local_credentials_create_import; |
|
|
|
|
#define grpc_local_credentials_create grpc_local_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_local_server_credentials_create_type)(grpc_local_connect_type type); |
|
|
|
|
extern grpc_local_server_credentials_create_type grpc_local_server_credentials_create_import; |
|
|
|
|
#define grpc_local_server_credentials_create grpc_local_server_credentials_create_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host); |
|
|
|
|
extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_tls_session_key_log_file_path_type)(grpc_tls_credentials_options* options, const char* path); |
|
|
|
|
extern grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_tls_session_key_log_file_path grpc_tls_credentials_options_set_tls_session_key_log_file_path_import |
|
|
|
|
typedef void(*grpc_metadata_array_init_type)(grpc_metadata_array* array); |
|
|
|
|
extern grpc_metadata_array_init_type grpc_metadata_array_init_import; |
|
|
|
|
#define grpc_metadata_array_init grpc_metadata_array_init_import |
|
|
|
@ -236,6 +429,9 @@ extern grpc_call_ref_type grpc_call_ref_import; |
|
|
|
|
typedef void(*grpc_call_unref_type)(grpc_call* call); |
|
|
|
|
extern grpc_call_unref_type grpc_call_unref_import; |
|
|
|
|
#define grpc_call_unref grpc_call_unref_import |
|
|
|
|
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds); |
|
|
|
|
extern grpc_call_set_credentials_type grpc_call_set_credentials_import; |
|
|
|
|
#define grpc_call_set_credentials grpc_call_set_credentials_import |
|
|
|
|
typedef grpc_call_error(*grpc_server_request_call_type)(grpc_server* server, grpc_call** call, grpc_call_details* details, grpc_metadata_array* request_metadata, grpc_completion_queue* cq_bound_to_call, grpc_completion_queue* cq_for_notification, void* tag_new); |
|
|
|
|
extern grpc_server_request_call_type grpc_server_request_call_import; |
|
|
|
|
#define grpc_server_request_call grpc_server_request_call_import |
|
|
|
@ -374,198 +570,6 @@ extern grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring |
|
|
|
|
typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context* ctx, const char* name); |
|
|
|
|
extern grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import; |
|
|
|
|
#define grpc_auth_context_set_peer_identity_property_name grpc_auth_context_set_peer_identity_property_name_import |
|
|
|
|
typedef grpc_ssl_session_cache*(*grpc_ssl_session_cache_create_lru_type)(size_t capacity); |
|
|
|
|
extern grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import; |
|
|
|
|
#define grpc_ssl_session_cache_create_lru grpc_ssl_session_cache_create_lru_import |
|
|
|
|
typedef void(*grpc_ssl_session_cache_destroy_type)(grpc_ssl_session_cache* cache); |
|
|
|
|
extern grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import; |
|
|
|
|
#define grpc_ssl_session_cache_destroy grpc_ssl_session_cache_destroy_import |
|
|
|
|
typedef grpc_arg(*grpc_ssl_session_cache_create_channel_arg_type)(grpc_ssl_session_cache* cache); |
|
|
|
|
extern grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import; |
|
|
|
|
#define grpc_ssl_session_cache_create_channel_arg grpc_ssl_session_cache_create_channel_arg_import |
|
|
|
|
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds); |
|
|
|
|
extern grpc_call_credentials_release_type grpc_call_credentials_release_import; |
|
|
|
|
#define grpc_call_credentials_release grpc_call_credentials_release_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(grpc_call_credentials* call_credentials); |
|
|
|
|
extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import; |
|
|
|
|
#define grpc_google_default_credentials_create grpc_google_default_credentials_create_import |
|
|
|
|
typedef void(*grpc_set_ssl_roots_override_callback_type)(grpc_ssl_roots_override_callback cb); |
|
|
|
|
extern grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import; |
|
|
|
|
#define grpc_set_ssl_roots_override_callback grpc_set_ssl_roots_override_callback_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const verify_peer_options* verify_options, void* reserved); |
|
|
|
|
extern grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import; |
|
|
|
|
#define grpc_ssl_credentials_create grpc_ssl_credentials_create_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, const grpc_ssl_verify_peer_options* verify_options, void* reserved); |
|
|
|
|
extern grpc_ssl_credentials_create_ex_type grpc_ssl_credentials_create_ex_import; |
|
|
|
|
#define grpc_ssl_credentials_create_ex grpc_ssl_credentials_create_ex_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_composite_channel_credentials_create_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved); |
|
|
|
|
extern grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import; |
|
|
|
|
#define grpc_composite_channel_credentials_create grpc_composite_channel_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_composite_call_credentials_create_type)(grpc_call_credentials* creds1, grpc_call_credentials* creds2, void* reserved); |
|
|
|
|
extern grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import; |
|
|
|
|
#define grpc_composite_call_credentials_create grpc_composite_call_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_compute_engine_credentials_create_type)(void* reserved); |
|
|
|
|
extern grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import; |
|
|
|
|
#define grpc_google_compute_engine_credentials_create grpc_google_compute_engine_credentials_create_import |
|
|
|
|
typedef gpr_timespec(*grpc_max_auth_token_lifetime_type)(void); |
|
|
|
|
extern grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import; |
|
|
|
|
#define grpc_max_auth_token_lifetime grpc_max_auth_token_lifetime_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_service_account_jwt_access_credentials_create_type)(const char* json_key, gpr_timespec token_lifetime, void* reserved); |
|
|
|
|
extern grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import; |
|
|
|
|
#define grpc_service_account_jwt_access_credentials_create grpc_service_account_jwt_access_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_external_account_credentials_create_type)(const char* json_string, const char* scopes_string); |
|
|
|
|
extern grpc_external_account_credentials_create_type grpc_external_account_credentials_create_import; |
|
|
|
|
#define grpc_external_account_credentials_create grpc_external_account_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_refresh_token_credentials_create_type)(const char* json_refresh_token, void* reserved); |
|
|
|
|
extern grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import; |
|
|
|
|
#define grpc_google_refresh_token_credentials_create grpc_google_refresh_token_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token, void* reserved); |
|
|
|
|
extern grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import; |
|
|
|
|
#define grpc_access_token_credentials_create grpc_access_token_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_iam_credentials_create_type)(const char* authorization_token, const char* authority_selector, void* reserved); |
|
|
|
|
extern grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import; |
|
|
|
|
#define grpc_google_iam_credentials_create grpc_google_iam_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_sts_credentials_create_type)(const grpc_sts_credentials_options* options, void* reserved); |
|
|
|
|
extern grpc_sts_credentials_create_type grpc_sts_credentials_create_import; |
|
|
|
|
#define grpc_sts_credentials_create grpc_sts_credentials_create_import |
|
|
|
|
typedef void(*grpc_auth_metadata_context_copy_type)(grpc_auth_metadata_context* from, grpc_auth_metadata_context* to); |
|
|
|
|
extern grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import; |
|
|
|
|
#define grpc_auth_metadata_context_copy grpc_auth_metadata_context_copy_import |
|
|
|
|
typedef void(*grpc_auth_metadata_context_reset_type)(grpc_auth_metadata_context* context); |
|
|
|
|
extern grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import; |
|
|
|
|
#define grpc_auth_metadata_context_reset grpc_auth_metadata_context_reset_import |
|
|
|
|
typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void* reserved); |
|
|
|
|
extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import; |
|
|
|
|
#define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import |
|
|
|
|
typedef grpc_ssl_server_certificate_config*(*grpc_ssl_server_certificate_config_create_type)(const char* pem_root_certs, const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs); |
|
|
|
|
extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import; |
|
|
|
|
#define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import |
|
|
|
|
typedef void(*grpc_ssl_server_certificate_config_destroy_type)(grpc_ssl_server_certificate_config* config); |
|
|
|
|
extern grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import; |
|
|
|
|
#define grpc_ssl_server_certificate_config_destroy grpc_ssl_server_certificate_config_destroy_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, int force_client_auth, void* reserved); |
|
|
|
|
extern grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create grpc_ssl_server_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, grpc_ssl_client_certificate_request_type client_certificate_request, void* reserved); |
|
|
|
|
extern grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_ex grpc_ssl_server_credentials_create_ex_import |
|
|
|
|
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config* certificate_config); |
|
|
|
|
extern grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_options_using_config grpc_ssl_server_credentials_create_options_using_config_import |
|
|
|
|
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_fetcher_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void* user_data); |
|
|
|
|
extern grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_options_using_config_fetcher grpc_ssl_server_credentials_create_options_using_config_fetcher_import |
|
|
|
|
typedef void(*grpc_ssl_server_credentials_options_destroy_type)(grpc_ssl_server_credentials_options* options); |
|
|
|
|
extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import; |
|
|
|
|
#define grpc_ssl_server_credentials_options_destroy grpc_ssl_server_credentials_options_destroy_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options); |
|
|
|
|
extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import |
|
|
|
|
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds); |
|
|
|
|
extern grpc_call_set_credentials_type grpc_call_set_credentials_import; |
|
|
|
|
#define grpc_call_set_credentials grpc_call_set_credentials_import |
|
|
|
|
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials* creds, grpc_auth_metadata_processor processor); |
|
|
|
|
extern grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import; |
|
|
|
|
#define grpc_server_credentials_set_auth_metadata_processor grpc_server_credentials_set_auth_metadata_processor_import |
|
|
|
|
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_client_options_create_type)(void); |
|
|
|
|
extern grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import; |
|
|
|
|
#define grpc_alts_credentials_client_options_create grpc_alts_credentials_client_options_create_import |
|
|
|
|
typedef grpc_alts_credentials_options*(*grpc_alts_credentials_server_options_create_type)(void); |
|
|
|
|
extern grpc_alts_credentials_server_options_create_type grpc_alts_credentials_server_options_create_import; |
|
|
|
|
#define grpc_alts_credentials_server_options_create grpc_alts_credentials_server_options_create_import |
|
|
|
|
typedef void(*grpc_alts_credentials_client_options_add_target_service_account_type)(grpc_alts_credentials_options* options, const char* service_account); |
|
|
|
|
extern grpc_alts_credentials_client_options_add_target_service_account_type grpc_alts_credentials_client_options_add_target_service_account_import; |
|
|
|
|
#define grpc_alts_credentials_client_options_add_target_service_account grpc_alts_credentials_client_options_add_target_service_account_import |
|
|
|
|
typedef void(*grpc_alts_credentials_options_destroy_type)(grpc_alts_credentials_options* options); |
|
|
|
|
extern grpc_alts_credentials_options_destroy_type grpc_alts_credentials_options_destroy_import; |
|
|
|
|
#define grpc_alts_credentials_options_destroy grpc_alts_credentials_options_destroy_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_alts_credentials_create_type)(const grpc_alts_credentials_options* options); |
|
|
|
|
extern grpc_alts_credentials_create_type grpc_alts_credentials_create_import; |
|
|
|
|
#define grpc_alts_credentials_create grpc_alts_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_alts_server_credentials_create_type)(const grpc_alts_credentials_options* options); |
|
|
|
|
extern grpc_alts_server_credentials_create_type grpc_alts_server_credentials_create_import; |
|
|
|
|
#define grpc_alts_server_credentials_create grpc_alts_server_credentials_create_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_local_credentials_create_type)(grpc_local_connect_type type); |
|
|
|
|
extern grpc_local_credentials_create_type grpc_local_credentials_create_import; |
|
|
|
|
#define grpc_local_credentials_create grpc_local_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_local_server_credentials_create_type)(grpc_local_connect_type type); |
|
|
|
|
extern grpc_local_server_credentials_create_type grpc_local_server_credentials_create_import; |
|
|
|
|
#define grpc_local_server_credentials_create grpc_local_server_credentials_create_import |
|
|
|
|
typedef grpc_tls_identity_pairs*(*grpc_tls_identity_pairs_create_type)(); |
|
|
|
|
extern grpc_tls_identity_pairs_create_type grpc_tls_identity_pairs_create_import; |
|
|
|
|
#define grpc_tls_identity_pairs_create grpc_tls_identity_pairs_create_import |
|
|
|
|
typedef void(*grpc_tls_identity_pairs_add_pair_type)(grpc_tls_identity_pairs* pairs, const char* private_key, const char* cert_chain); |
|
|
|
|
extern grpc_tls_identity_pairs_add_pair_type grpc_tls_identity_pairs_add_pair_import; |
|
|
|
|
#define grpc_tls_identity_pairs_add_pair grpc_tls_identity_pairs_add_pair_import |
|
|
|
|
typedef void(*grpc_tls_identity_pairs_destroy_type)(grpc_tls_identity_pairs* pairs); |
|
|
|
|
extern grpc_tls_identity_pairs_destroy_type grpc_tls_identity_pairs_destroy_import; |
|
|
|
|
#define grpc_tls_identity_pairs_destroy grpc_tls_identity_pairs_destroy_import |
|
|
|
|
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_static_data_create_type)(const char* root_certificate, grpc_tls_identity_pairs* pem_key_cert_pairs); |
|
|
|
|
extern grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provider_static_data_create_import; |
|
|
|
|
#define grpc_tls_certificate_provider_static_data_create grpc_tls_certificate_provider_static_data_create_import |
|
|
|
|
typedef grpc_tls_certificate_provider*(*grpc_tls_certificate_provider_file_watcher_create_type)(const char* private_key_path, const char* identity_certificate_path, const char* root_cert_path, unsigned int refresh_interval_sec); |
|
|
|
|
extern grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import; |
|
|
|
|
#define grpc_tls_certificate_provider_file_watcher_create grpc_tls_certificate_provider_file_watcher_create_import |
|
|
|
|
typedef void(*grpc_tls_certificate_provider_release_type)(grpc_tls_certificate_provider* provider); |
|
|
|
|
extern grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import; |
|
|
|
|
#define grpc_tls_certificate_provider_release grpc_tls_certificate_provider_release_import |
|
|
|
|
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_create_type)(void); |
|
|
|
|
extern grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import; |
|
|
|
|
#define grpc_tls_credentials_options_create grpc_tls_credentials_options_create_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_min_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version min_tls_version); |
|
|
|
|
extern grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_min_tls_version grpc_tls_credentials_options_set_min_tls_version_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_max_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version max_tls_version); |
|
|
|
|
extern grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_max_tls_version grpc_tls_credentials_options_set_max_tls_version_import |
|
|
|
|
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_copy_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import; |
|
|
|
|
#define grpc_tls_credentials_options_copy grpc_tls_credentials_options_copy_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_destroy_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import; |
|
|
|
|
#define grpc_tls_credentials_options_destroy grpc_tls_credentials_options_destroy_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_certificate_provider_type)(grpc_tls_credentials_options* options, grpc_tls_certificate_provider* provider); |
|
|
|
|
extern grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_set_certificate_provider_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_watch_root_certs_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import; |
|
|
|
|
#define grpc_tls_credentials_options_watch_root_certs grpc_tls_credentials_options_watch_root_certs_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_root_cert_name_type)(grpc_tls_credentials_options* options, const char* root_cert_name); |
|
|
|
|
extern grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_root_cert_name grpc_tls_credentials_options_set_root_cert_name_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_watch_identity_key_cert_pairs_type)(grpc_tls_credentials_options* options); |
|
|
|
|
extern grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import; |
|
|
|
|
#define grpc_tls_credentials_options_watch_identity_key_cert_pairs grpc_tls_credentials_options_watch_identity_key_cert_pairs_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_identity_cert_name_type)(grpc_tls_credentials_options* options, const char* identity_cert_name); |
|
|
|
|
extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_identity_cert_name grpc_tls_credentials_options_set_identity_cert_name_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type); |
|
|
|
|
extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory); |
|
|
|
|
extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert); |
|
|
|
|
extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_send_client_ca_list_type)(grpc_tls_credentials_options* options, bool send_client_ca_list); |
|
|
|
|
extern grpc_tls_credentials_options_set_send_client_ca_list_type grpc_tls_credentials_options_set_send_client_ca_list_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_send_client_ca_list grpc_tls_credentials_options_set_send_client_ca_list_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host); |
|
|
|
|
extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_insecure_credentials_create_type)(); |
|
|
|
|
extern grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import; |
|
|
|
|
#define grpc_insecure_credentials_create grpc_insecure_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_insecure_server_credentials_create_type)(); |
|
|
|
|
extern grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import; |
|
|
|
|
#define grpc_insecure_server_credentials_create grpc_insecure_server_credentials_create_import |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials); |
|
|
|
|
extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import; |
|
|
|
|
#define grpc_xds_credentials_create grpc_xds_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials*(*grpc_xds_server_credentials_create_type)(grpc_server_credentials* fallback_credentials); |
|
|
|
|
extern grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import; |
|
|
|
|
#define grpc_xds_server_credentials_create grpc_xds_server_credentials_create_import |
|
|
|
|
typedef grpc_authorization_policy_provider*(*grpc_authorization_policy_provider_static_data_create_type)(const char* authz_policy, grpc_status_code* code, const char** error_details); |
|
|
|
|
extern grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import; |
|
|
|
|
#define grpc_authorization_policy_provider_static_data_create grpc_authorization_policy_provider_static_data_create_import |
|
|
|
@ -575,9 +579,6 @@ extern grpc_authorization_policy_provider_file_watcher_create_type grpc_authoriz |
|
|
|
|
typedef void(*grpc_authorization_policy_provider_release_type)(grpc_authorization_policy_provider* provider); |
|
|
|
|
extern grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import; |
|
|
|
|
#define grpc_authorization_policy_provider_release grpc_authorization_policy_provider_release_import |
|
|
|
|
typedef void(*grpc_tls_credentials_options_set_tls_session_key_log_file_path_type)(grpc_tls_credentials_options* options, const char* path); |
|
|
|
|
extern grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import; |
|
|
|
|
#define grpc_tls_credentials_options_set_tls_session_key_log_file_path grpc_tls_credentials_options_set_tls_session_key_log_file_path_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_ref_type)(grpc_slice s); |
|
|
|
|
extern grpc_slice_ref_type grpc_slice_ref_import; |
|
|
|
|
#define grpc_slice_ref grpc_slice_ref_import |
|
|
|
|