summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-09-21 12:31:18 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-09-22 23:35:25 +0200
commit63c31bbd54f92a90f82f1a9db09b3b4ac2e7cb4a (patch)
tree8e9f84b63b361692f5e9ce29b138b7505d403dfb /src/providers/dp_backend.h
parent0d585474a63197957f5bf41fedf8ecac7b2ad810 (diff)
downloadsssd-63c31bbd54f92a90f82f1a9db09b3b4ac2e7cb4a.tar.gz
sssd-63c31bbd54f92a90f82f1a9db09b3b4ac2e7cb4a.tar.xz
sssd-63c31bbd54f92a90f82f1a9db09b3b4ac2e7cb4a.zip
FO: Add an API to reset all servers in a single service
Required for: https://fedorahosted.org/sssd/ticket/2639 Previously, we had a function that allowed the caller to reset the status of all services in the global fail over context. This patch adds a new function that allows the caller to reset a single service instead. The main user would be IPA subdomain provider that might need to reset the status of an AD trusted domain on demand.
Diffstat (limited to 'src/providers/dp_backend.h')
-rw-r--r--src/providers/dp_backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h
index 4bffcee9e..0ced851be 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -283,6 +283,7 @@ int be_fo_run_callbacks_at_next_request(struct be_ctx *ctx,
const char *service_name);
void reset_fo(struct be_ctx *be_ctx);
+void be_fo_reset_svc(struct be_ctx *be_ctx, const char *svc_name);
errno_t be_res_init(struct be_ctx *ctx);