aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckutil.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-27 12:35:07 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-27 12:39:01 +0300
commit2922690b716540b7e3971ffbdf506148503c7788 (patch)
treeccb6a4dbbffadf5f91ee47ca5ef5bd8347c02a1c /src/ckutil.h
parent1b09a70af6096d2f85cadff82f227e4e6850bfda (diff)
downloadck-2922690b716540b7e3971ffbdf506148503c7788.tar.gz
ck-2922690b716540b7e3971ffbdf506148503c7788.tar.bz2
ck-2922690b716540b7e3971ffbdf506148503c7788.zip
change own&grp when it should. version 0.8.1!
Diffstat (limited to 'src/ckutil.h')
-rw-r--r--src/ckutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ckutil.h b/src/ckutil.h
index dde7665..d653116 100644
--- a/src/ckutil.h
+++ b/src/ckutil.h
@@ -90,4 +90,7 @@ extern int util_move_file(const char *path, const char* dest);
/* Wrapper around symlink() */
extern int util_symlink_file(const char *path, const char* dest);
+
+/* Chnage owner and group of `new` and make it like `old`*/
+extern int util_own_grp_copy(const char *new, const char* old);
#endif // CKUTIL_H