summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--src/tools/tools_util.h8
-rw-r--r--src/util/nscd.c (renamed from src/tools/nscd.c)0
-rw-r--r--src/util/util.h8
4 files changed, 9 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index 94ad8c04..c6680521 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -311,7 +311,7 @@ SSSD_TOOLS_OBJ = \
src/tools/tools_util.c \
src/tools/files.c \
src/tools/selinux.c \
- src/tools/nscd.c
+ src/util/nscd.c
SSSD_LCL_TOOLS_OBJ = \
src/sss_client/common.c \
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h
index 50f5a51f..cc35475d 100644
--- a/src/tools/tools_util.h
+++ b/src/tools/tools_util.h
@@ -120,14 +120,6 @@ int remove_tree(const char *root);
int copy_tree(const char *src_root, const char *dst_root,
mode_t mode_root, uid_t uid, gid_t gid);
-/* from nscd.c */
-enum nscd_db {
- NSCD_DB_PASSWD,
- NSCD_DB_GROUP
-};
-
-int flush_nscd_cache(enum nscd_db flush_db);
-
/* from selinux.c */
int selinux_file_context(const char *dst_name);
int reset_selinux_file_context(void);
diff --git a/src/tools/nscd.c b/src/util/nscd.c
index b9f2ba88..b9f2ba88 100644
--- a/src/tools/nscd.c
+++ b/src/util/nscd.c
diff --git a/src/util/util.h b/src/util/util.h
index fa45fdfd..56653038 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);