summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-03-07 17:08:52 +0100
committerJan Zeleny <jzeleny@redhat.com>2012-03-08 10:58:15 +0100
commit606d2d03833903f00d40f9810d4dccd04a752e76 (patch)
tree41fc8ff0f0fb69aeea5b2cd425d515e219c5f259 /src/providers/dp_backend.h
parent9729b24935f9b717234728b2d2cfb4ca49df307b (diff)
downloadsssd-606d2d03833903f00d40f9810d4dccd04a752e76.tar.gz
sssd-606d2d03833903f00d40f9810d4dccd04a752e76.tar.xz
sssd-606d2d03833903f00d40f9810d4dccd04a752e76.zip
Detect cycle in the fail over on subsequent resolve requests only
Diffstat (limited to 'src/providers/dp_backend.h')
-rw-r--r--src/providers/dp_backend.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h
index 96c774783..6e98e7ef3 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -207,7 +207,8 @@ int be_fo_add_server(struct be_ctx *ctx, const char *service_name,
struct tevent_req *be_resolve_server_send(TALLOC_CTX *memctx,
struct tevent_context *ev,
struct be_ctx *ctx,
- const char *service_name);
+ const char *service_name,
+ bool first_try);
int be_resolve_server_recv(struct tevent_req *req, struct fo_server **srv);
void be_fo_set_port_status(struct be_ctx *ctx,