summaryrefslogtreecommitdiffstats
path: root/server/tools/tools_util.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-11-05 08:06:02 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-11-05 14:55:20 -0500
commit9d56215d973676130fede91e39ee34d56ca19fb6 (patch)
tree794aeed697c80557c4e007950cbf41ba8203e50a /server/tools/tools_util.h
parentba7e028069a4de7b91f454e50cc672cb94f72421 (diff)
downloadsssd-9d56215d973676130fede91e39ee34d56ca19fb6.tar.gz
sssd-9d56215d973676130fede91e39ee34d56ca19fb6.tar.xz
sssd-9d56215d973676130fede91e39ee34d56ca19fb6.zip
Build files.c only for tools
Move files.c into tools directory
Diffstat (limited to 'server/tools/tools_util.h')
-rw-r--r--server/tools/tools_util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/tools/tools_util.h b/server/tools/tools_util.h
index 2a1ee25e8..a643e739f 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__ */