diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 11:40:19 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 20:16:04 +0100 |
commit | 543676afec3c08fdc0a5a794976adc8dfdca974b (patch) | |
tree | 97ade9c8091c0f5d21b9036dbb8ebad93b5b2b47 /src/tools/tools_util.h | |
parent | 82dc11348718bf8e2ff07da696f91f6703293c24 (diff) | |
download | sssd-543676afec3c08fdc0a5a794976adc8dfdca974b.tar.gz sssd-543676afec3c08fdc0a5a794976adc8dfdca974b.tar.xz sssd-543676afec3c08fdc0a5a794976adc8dfdca974b.zip |
TOOLS: Split querying nss responder into a separate function
The tools query the responder in order to sync the memcache after
performing changes to the local database. The functions will be reused
by other tools so I split them into a separate functions.
Diffstat (limited to 'src/tools/tools_util.h')
-rw-r--r-- | src/tools/tools_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h index aa55bfaf3..0ca52efdf 100644 --- a/src/tools/tools_util.h +++ b/src/tools/tools_util.h @@ -109,6 +109,9 @@ errno_t sss_memcache_invalidate(const char *mc_filename); errno_t sss_memcache_clear_all(void); +errno_t sss_mc_refresh_user(const char *username); +errno_t sss_mc_refresh_group(const char *groupname); + /* from files.c */ int remove_tree(const char *root); |