summaryrefslogtreecommitdiffstats
path: root/src/ext2grp.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-07-07 22:32:13 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-07-07 22:32:13 +0200
commite09fa6f39c889cbe327510eaa1523a413d5bcde2 (patch)
tree87c0f179dae28adf2d804fccb05c29044bba4c7f /src/ext2grp.h
parentb50843560aa4f2a6afdfdf0d190db909c3449278 (diff)
PhotoRec: add "/cmd device ext2_group,group_nr,search" to carve the corresponding ext2/ext3 group number
or "/cmd device ext2_inode,inode_nr,search" to carve the group holding the specified inode
Diffstat (limited to 'src/ext2grp.h')
-rw-r--r--src/ext2grp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ext2grp.h b/src/ext2grp.h
new file mode 100644
index 0000000..803a08f
--- /dev/null
+++ b/src/ext2grp.h
@@ -0,0 +1,23 @@
+/*
+
+ File: ext2grp.h
+
+ Copyright (C) 2008 Christophe GRENIER <grenier@cgsecurity.org>
+
+ This software is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write the Free Software Foundation, Inc., 51
+ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ */
+unsigned int ext2_fix_group(alloc_data_t *list_search_space, disk_t *disk, partition_t *partition);
+unsigned int ext2_fix_inode(alloc_data_t *list_search_space, disk_t *disk, partition_t *partition);