|
|
@ -70,16 +70,14 @@ grpc_lb_addresses* grpc_lb_addresses_create( |
|
|
|
grpc_lb_addresses* grpc_lb_addresses_copy(const grpc_lb_addresses* addresses); |
|
|
|
grpc_lb_addresses* grpc_lb_addresses_copy(const grpc_lb_addresses* addresses); |
|
|
|
|
|
|
|
|
|
|
|
/** Sets the value of the address at index \a index of \a addresses.
|
|
|
|
/** Sets the value of the address at index \a index of \a addresses.
|
|
|
|
* \a address is a socket address of length \a address_len. |
|
|
|
* \a address is a socket address of length \a address_len. */ |
|
|
|
* Takes ownership of \a balancer_name. */ |
|
|
|
|
|
|
|
void grpc_lb_addresses_set_address(grpc_lb_addresses* addresses, size_t index, |
|
|
|
void grpc_lb_addresses_set_address(grpc_lb_addresses* addresses, size_t index, |
|
|
|
const void* address, size_t address_len, |
|
|
|
const void* address, size_t address_len, |
|
|
|
bool is_balancer, const char* balancer_name, |
|
|
|
bool is_balancer, const char* balancer_name, |
|
|
|
void* user_data); |
|
|
|
void* user_data); |
|
|
|
|
|
|
|
|
|
|
|
/** Sets the value of the address at index \a index of \a addresses from \a uri.
|
|
|
|
/** Sets the value of the address at index \a index of \a addresses from \a uri.
|
|
|
|
* Returns true upon success, false otherwise. Takes ownership of \a |
|
|
|
* Returns true upon success, false otherwise. */ |
|
|
|
* balancer_name. */ |
|
|
|
|
|
|
|
bool grpc_lb_addresses_set_address_from_uri(grpc_lb_addresses* addresses, |
|
|
|
bool grpc_lb_addresses_set_address_from_uri(grpc_lb_addresses* addresses, |
|
|
|
size_t index, const grpc_uri* uri, |
|
|
|
size_t index, const grpc_uri* uri, |
|
|
|
bool is_balancer, |
|
|
|
bool is_balancer, |
|
|
|