diff options
| author | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-26 15:05:40 +0200 |
|---|---|---|
| committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-26 15:05:40 +0200 |
| commit | 7c85202ab49b005bf4a4fe5113ccaa9b25b584f9 (patch) | |
| tree | 56229ff26cd878176707d9672fe65148b6073c5a /nslcd/common.h | |
| parent | d2e2e400e79c94c2e60f21ec61811dfe948924cc (diff) | |
| parent | e1b0399ee018d217cd50267cef03c28dfdb32fbf (diff) | |
Make cache invalidation more generic
This changes the nscd_invalidate option into a more generic
reconnect_invalidate and also allows clearing the nfsidmap cache.
Diffstat (limited to 'nslcd/common.h')
| -rw-r--r-- | nslcd/common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nslcd/common.h b/nslcd/common.h index a6c2c4d..fce92f6 100644 --- a/nslcd/common.h +++ b/nslcd/common.h @@ -141,11 +141,11 @@ void nsswitch_check_reload(void); int nsswitch_shadow_uses_ldap(void); /* start a child process that holds onto the original privileges with the - sole purpose of running nscd -i commands */ -int nscd_start_invalidator(void); + purpose of running external cache invalidation commands */ +int invalidator_start(void); -/* signal nscd to invalidate the selected map */ -void nscd_invalidate(enum ldap_map_selector map); +/* signal invalidator to invalidate the selected external cache */ +void invalidator_do(enum ldap_map_selector map); /* fallback definition of HOST_NAME_MAX */ #ifndef HOST_NAME_MAX |
