summaryrefslogtreecommitdiffstats
path: root/src/tools/tools_util.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-01-15 11:40:19 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 20:55:47 +0100
commit53aefebdca2ec9151aff87ae21ee4203eaa9a03a (patch)
treee51c7dd8eb2e436d60156280b5668d8f0f728f4f /src/tools/tools_util.h
parentdd1dbf1e10a864f4ec0796aae3a6f272104b098e (diff)
downloadsssd-53aefebdca2ec9151aff87ae21ee4203eaa9a03a.tar.gz
sssd-53aefebdca2ec9151aff87ae21ee4203eaa9a03a.tar.xz
sssd-53aefebdca2ec9151aff87ae21ee4203eaa9a03a.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.h3
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);