Go to the documentation of this file.
35 const char* service_account) {
36 if (service_account ==
nullptr) {
47 if (
options ==
nullptr || service_account ==
nullptr) {
50 "Invalid nullptr arguments to "
51 "grpc_alts_credentials_client_options_add_target_service_account()");
57 node->
next = client_options->target_account_list_head;
58 client_options->target_account_list_head = node;
63 if (service_account ==
nullptr) {
78 return &client_options->base;
88 auto new_client_options =
94 ->target_account_list_head;
95 while (node !=
nullptr) {
98 if (prev ==
nullptr) {
99 new_client_options->target_account_list_head =
new_node;
117 auto* client_options =
120 while (node !=
nullptr) {
grpc_alts_credentials_options base
static grpc_alts_credentials_options * alts_client_options_copy(const grpc_alts_credentials_options *options)
static target_service_account * target_service_account_create(const char *service_account)
const struct grpc_alts_credentials_options_vtable * vtable
GPRAPI void gpr_free(void *ptr)
GPRAPI void * gpr_zalloc(size_t size)
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
static void target_service_account_destroy(target_service_account *service_account)
grpc_alts_credentials_options * grpc_alts_credentials_client_options_create(void)
static const grpc_alts_credentials_options_vtable vtable
static void alts_client_options_destroy(grpc_alts_credentials_options *options)
grpc_gcp_rpc_protocol_versions rpc_versions
bool grpc_gcp_rpc_protocol_versions_copy(const grpc_gcp_rpc_protocol_versions *src, grpc_gcp_rpc_protocol_versions *dst)
static test_node * new_node(size_t i, size_t *ctr)
GPRAPI char * gpr_strdup(const char *src)
void grpc_alts_credentials_client_options_add_target_service_account(grpc_alts_credentials_options *options, const char *service_account)
struct target_service_account * next
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:44