diff options
author | Ondrej Kos <okos@redhat.com> | 2013-05-20 17:23:27 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-21 16:40:12 +0200 |
commit | db78f4c750943fcd4b60bca5f3fdfd6cc5d3d4f8 (patch) | |
tree | 0ca0aa94c24e590d0193ed5f7d2f7ee8e72b35fc /src/util/util.h | |
parent | 2f6b38151c6dd21cbe0cf2579c20f8c5a358d956 (diff) | |
download | sssd-db78f4c750943fcd4b60bca5f3fdfd6cc5d3d4f8.tar.gz sssd-db78f4c750943fcd4b60bca5f3fdfd6cc5d3d4f8.tar.xz sssd-db78f4c750943fcd4b60bca5f3fdfd6cc5d3d4f8.zip |
Move nscd.c from tools to util
Preparation for the following patch which will include the nscd.c in the
monitor code due to newly introduced function for checking the nscd
configuration file.
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index fa45fdfdf..566530387 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -491,6 +491,14 @@ bool string_in_list(const char *string, char **list, bool case_sensitive); */ void safezero(void *data, size_t size); +/* from nscd.c */ +enum nscd_db { + NSCD_DB_PASSWD, + NSCD_DB_GROUP +}; + +int flush_nscd_cache(enum nscd_db flush_db); + /* from sss_tc_utf8.c */ char * sss_tc_utf8_str_tolower(TALLOC_CTX *mem_ctx, const char *s); |