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:38:42 +0100
commit2636bda234b21fbdb00b070bf471ecfff853b707 (patch)
tree2475a5da01afd882fd4eddb82556ed4c1c832e14 /src/tools/tools_util.h
parent4a0b98d985d6cc30bbaf3ebfb0852b87dc2a987d (diff)
downloadsssd-2636bda234b21fbdb00b070bf471ecfff853b707.tar.gz
sssd-2636bda234b21fbdb00b070bf471ecfff853b707.tar.xz
sssd-2636bda234b21fbdb00b070bf471ecfff853b707.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);