diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-05 08:06:02 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-05 14:55:20 -0500 |
commit | 9d56215d973676130fede91e39ee34d56ca19fb6 (patch) | |
tree | 794aeed697c80557c4e007950cbf41ba8203e50a /server/tools/tools_util.h | |
parent | ba7e028069a4de7b91f454e50cc672cb94f72421 (diff) | |
download | sssd-9d56215d973676130fede91e39ee34d56ca19fb6.tar.gz sssd-9d56215d973676130fede91e39ee34d56ca19fb6.tar.bz2 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.h | 10 |
1 files changed, 10 insertions, 0 deletions
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__ */ |