diff options
author | Mark D. Roth <roth@google.com> | 2016-10-19 14:53:42 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-10-19 14:53:42 -0700 |
commit | eb35a1d16bf7ccdb3e4006203ad63e5865454652 (patch) | |
tree | e7445fb61be3ff9b3d8a2ed9a8a5b5a4c544609d /src/core/ext/client_channel/resolver_result.h | |
parent | 15195741d7758a80bcf901e7db05b3c57654c4a3 (diff) | |
parent | 20e77f27b0cf2cb1305df21a91e6a51d9a4171d1 (diff) |
Merge remote-tracking branch 'upstream/master' into rename_client_config
Diffstat (limited to 'src/core/ext/client_channel/resolver_result.h')
-rw-r--r-- | src/core/ext/client_channel/resolver_result.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/ext/client_channel/resolver_result.h b/src/core/ext/client_channel/resolver_result.h index 7107d2ed59..5421fd9470 100644 --- a/src/core/ext/client_channel/resolver_result.h +++ b/src/core/ext/client_channel/resolver_result.h @@ -51,22 +51,17 @@ typedef struct grpc_resolver_result grpc_resolver_result; grpc_resolver_result* grpc_resolver_result_create( const char* server_name, grpc_lb_addresses* addresses, const char* lb_policy_name, grpc_channel_args* lb_policy_args); + void grpc_resolver_result_ref(grpc_resolver_result* result); void grpc_resolver_result_unref(grpc_exec_ctx* exec_ctx, grpc_resolver_result* result); -/// Caller does NOT take ownership of result. +/// Accessors. Caller does NOT take ownership of results. const char* grpc_resolver_result_get_server_name(grpc_resolver_result* result); - -/// Caller does NOT take ownership of result. grpc_lb_addresses* grpc_resolver_result_get_addresses( grpc_resolver_result* result); - -/// Caller does NOT take ownership of result. const char* grpc_resolver_result_get_lb_policy_name( grpc_resolver_result* result); - -/// Caller does NOT take ownership of result. grpc_channel_args* grpc_resolver_result_get_lb_policy_args( grpc_resolver_result* result); |