From 9d56215d973676130fede91e39ee34d56ca19fb6 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 5 Nov 2009 08:06:02 -0500 Subject: Build files.c only for tools Move files.c into tools directory --- server/tools/tools_util.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'server/tools/tools_util.h') diff --git a/server/tools/tools_util.h b/server/tools/tools_util.h index 2a1ee25e..a643e739 100644 --- a/server/tools/tools_util.h +++ b/server/tools/tools_util.h @@ -95,4 +95,14 @@ int remove_homedir(TALLOC_CTX *mem_ctx, const char *username, uid_t uid, bool force); +/* from files.c */ +int remove_tree(const char *root); + +int copy_tree(const char *src_root, + const char *dst_root, + uid_t uid, gid_t gid); + +int selinux_file_context(const char *dst_name); +int reset_selinux_file_context(void); + #endif /* __TOOLS_UTIL_H__ */ -- cgit