summaryrefslogtreecommitdiffstats
path: root/src/tools/tools_util.h
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-11-20 13:52:12 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-28 10:37:45 +0100
commita290ace39af184d878568e17588b6b2210aea63f (patch)
tree2c817b03ee4d37903372daf17c19d59a46938267 /src/tools/tools_util.h
parent62b36cdae054b915da4d29fd3812f3799c27de69 (diff)
downloadsssd-a290ace39af184d878568e17588b6b2210aea63f.tar.gz
sssd-a290ace39af184d878568e17588b6b2210aea63f.tar.xz
sssd-a290ace39af184d878568e17588b6b2210aea63f.zip
sss_cache: Small refactor.
The logic that checks if sssd_nss is running and then sends SIGHUP to monitor or removes the caches was moved to a function sss_memcache_clear_all() and made public in tools_util.h.
Diffstat (limited to 'src/tools/tools_util.h')
-rw-r--r--src/tools/tools_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h
index a83c8eea0..20a2a4af2 100644
--- a/src/tools/tools_util.h
+++ b/src/tools/tools_util.h
@@ -106,6 +106,8 @@ errno_t signal_sssd(int signum);
errno_t sss_memcache_invalidate(const char *mc_filename);
+errno_t sss_memcache_clear_all(void);
+
/* from files.c */
int remove_tree(const char *root);