aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/client_config/resolver_registry.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-04 23:28:28 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-04 23:28:28 -0700
commiteb9b6dbf11559593f7ac1f2dc10543c6be9ab475 (patch)
tree9dc72af661f5625ffa7df779e68bfe15dfdd9d4d /src/core/lib/client_config/resolver_registry.h
parent01dcc494497d27b902b4800cb3cb811df5323d71 (diff)
parent1b7c0a2c5cf27d7a77d9c3476fe6406a98ca3d76 (diff)
Merge branch 'master' into ignore_connectivity
Diffstat (limited to 'src/core/lib/client_config/resolver_registry.h')
-rw-r--r--src/core/lib/client_config/resolver_registry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/client_config/resolver_registry.h b/src/core/lib/client_config/resolver_registry.h
index 330cb7f544..36c4f2fe03 100644
--- a/src/core/lib/client_config/resolver_registry.h
+++ b/src/core/lib/client_config/resolver_registry.h
@@ -58,6 +58,10 @@ void grpc_register_resolver_type(grpc_resolver_factory *factory);
grpc_resolver *grpc_resolver_create(
const char *target, grpc_subchannel_factory *subchannel_factory);
+/** Find a resolver factory given a name and return an (owned-by-the-caller)
+ * reference to it */
+grpc_resolver_factory *grpc_resolver_factory_lookup(const char *name);
+
/** Given a target, return a (freshly allocated with gpr_malloc) string
representing the default authority to pass from a client. */
char *grpc_get_default_authority(const char *target);