From 543676afec3c08fdc0a5a794976adc8dfdca974b Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 15 Jan 2013 11:40:19 +0100 Subject: 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. --- src/tools/tools_util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tools/tools_util.h') diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h index aa55bfaf..0ca52efd 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); -- cgit