summaryrefslogtreecommitdiff
path: root/src/inode.h
diff options
context:
space:
mode:
authorrobi <robi>2010-09-24 02:03:00 +0000
committerrobi <robi>2010-09-24 02:03:00 +0000
commit2761a6bac18b775c6ddd5dcdc83ade0ce6e4944c (patch)
tree62226f1e1439c8c1e7241722fe86bfcb2e728528 /src/inode.h
parent2a7afdee4772f99afdc404bcafea2b70df1bead0 (diff)
magic functions
Diffstat (limited to 'src/inode.h')
-rw-r--r--src/inode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/inode.h b/src/inode.h
index e3406f4..bcc0089 100644
--- a/src/inode.h
+++ b/src/inode.h
@@ -66,8 +66,10 @@ int read_journal_inode( ext2_ino_t, struct ext2_inode*, __u32);// get the first
int read_time_match_inode( ext2_ino_t, struct ext2_inode*, __u32);// get the first Journal Inode by time_stamp
struct ring_buf* get_j_inode_list(struct ext2_super_block*, ext2_ino_t);//fill all inode found in the Journal in the inode-ringbuffer
-struct ext2_inode_large* new_inode();
-int inode_add_block(struct ext2_inode_large* , blk_t , __u32);
+//functions for the magic scanner
+struct ext2_inode_large* new_inode(); //create a new inode
+int inode_add_block(struct ext2_inode_large* , blk_t , __u32); //add a block to inode
+blk_t inode_add_meta_block(struct ext2_inode_large*, blk_t, blk_t*, char* ); //add the ext3 indirect Blocks to the inode
#endif