summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorrobi <robi>2011-12-25 20:38:16 +0000
committerrobi <robi>2011-12-25 20:38:16 +0000
commit9d0ee99f1144cec4c00e04ce6a7e3f2653005df7 (patch)
treeea2cbe5c3bf112ab1ceb1c1046ba585e4268b3aa /src/util.h
parentbe0c55229494231393ae0f122cac8d19753d6804 (diff)
new partial step, recover in journal lost inodes
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index ac1d576..243968e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -205,6 +205,7 @@ ext2_ino_t local_namei(struct dir_list_head_t*, char* , __u32, __u32, int);// se
//public functions recover.c
void recover_list(char*, char*,__u32, __u32, int); // recover files from a "double quotes" listfile
int recover_file( char* ,char* , char* , struct ext2_inode* , ext2_ino_t, int); //recover all filetypes
+int check_file_stat(struct ext2_inode*); //check inode; return true if blocks not allocated and not recovered
int check_file_recover(struct ext2_inode*); // return percentage of not allocated blocks
void set_dir_attributes(char* ,char* ,struct ext2_inode*); //set owner,file mode bits an timestamps for directory
int check_dir(char*);//check if the target directory existent