diff options
author | eindenbom <eindenbom@gmail.com> | 2010-06-17 16:09:36 +0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-07-09 11:44:06 -0400 |
commit | faace4bdd6b84f60d2f707c00d31a84c0e84d375 (patch) | |
tree | 1dc5b3e6ac3c021498d7fc8de2188bac8861b1cb /src/providers/dp_backend.h | |
parent | a2cabe1873c4d01c18ef6617b6b1f10a0ce3560e (diff) | |
download | sssd-faace4bdd6b84f60d2f707c00d31a84c0e84d375.tar.gz sssd-faace4bdd6b84f60d2f707c00d31a84c0e84d375.tar.xz sssd-faace4bdd6b84f60d2f707c00d31a84c0e84d375.zip |
Added an interface to query number of configured (and currently resolved through SRV records) failover servers.
Diffstat (limited to 'src/providers/dp_backend.h')
-rw-r--r-- | src/providers/dp_backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h index 61917b99d..69872b6c4 100644 --- a/src/providers/dp_backend.h +++ b/src/providers/dp_backend.h @@ -165,6 +165,7 @@ int be_fo_add_service(struct be_ctx *ctx, const char *service_name); int be_fo_service_add_callback(TALLOC_CTX *memctx, struct be_ctx *ctx, const char *service_name, be_svc_callback_fn_t *fn, void *private_data); +int be_fo_get_server_count(struct be_ctx *ctx, const char *service_name); int be_fo_add_srv_server(struct be_ctx *ctx, const char *service_name, const char *query_service, const char *proto, void *user_data); |