diff options
author | Michal Zidek <mzidek@redhat.com> | 2012-11-20 13:52:12 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-04 17:15:40 +0100 |
commit | 7d226411fe3f18765f475adc513660f2201a3334 (patch) | |
tree | 6cd9b626fc9af0e2c9ef53c051fdf2671061add4 /src/tools/tools_util.h | |
parent | 2269b53337afcc18f52110d03fa808c4b3039ee0 (diff) | |
download | sssd-7d226411fe3f18765f475adc513660f2201a3334.tar.gz sssd-7d226411fe3f18765f475adc513660f2201a3334.tar.xz sssd-7d226411fe3f18765f475adc513660f2201a3334.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.h | 2 |
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); |