summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-08-13 16:37:13 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-08-15 13:51:22 +0200
commit9ab243b369ba317cc964080786dbcdebaf23d6be (patch)
tree7a08b9d00a11e2946a00bcee9b8fc093ee10b19f /src/providers/dp_backend.h
parent4f76afc76610a26da85438e5657a6cb5e83c787a (diff)
downloadsssd-9ab243b369ba317cc964080786dbcdebaf23d6be.tar.gz
sssd-9ab243b369ba317cc964080786dbcdebaf23d6be.tar.xz
sssd-9ab243b369ba317cc964080786dbcdebaf23d6be.zip
Duplicate detection in fail over did not work.
https://fedorahosted.org/sssd/ticket/1472
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 4d079c005..b98d15078 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -218,7 +218,8 @@ typedef void (be_svc_callback_fn_t)(void *, struct fo_server *);
int be_init_failover(struct be_ctx *ctx);
int be_fo_is_srv_identifier(const char *server);
-int be_fo_add_service(struct be_ctx *ctx, const char *service_name);
+int be_fo_add_service(struct be_ctx *ctx, const char *service_name,
+ datacmp_fn user_data_cmp);
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);