summaryrefslogtreecommitdiffstats
path: root/src/dir.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-05-27 00:17:02 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-05-27 00:17:02 +0200
commit4f2949ac4c466b3243a5c2db0eaf87c58c40a8cb (patch)
treec93886894818366023900537a9e68e95bcd88b60 /src/dir.h
parentbd354a7f0aa968d8945a54c40da6a6415866b725 (diff)
support for file copy from ext2/ext3
Diffstat (limited to 'src/dir.h')
-rw-r--r--src/dir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dir.h b/src/dir.h
index 08d77be..f9c58ac 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -74,6 +74,7 @@ int dir_whole_partition_log(disk_t *disk_car, const partition_t *partition, dir_
void mode_string (const unsigned int mode, char *str);
FILE *create_file(const char *filename);
int set_date(const char *pathname, time_t actime, time_t modtime);
+int set_mode(const char *pathname, unsigned int mode);
#define LINUX_S_IFMT 00170000
#define LINUX_S_IFSOCK 0140000