summaryrefslogtreecommitdiff
path: root/e2fsck/e2fsck.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-05-23 22:02:05 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-06-06 23:38:38 -0400
commit51d12cebb61ca00f5455fe6e25938cd79fea15ab (patch)
tree5f7af054d654d05354a028c8b72ee6cefb4653b5 /e2fsck/e2fsck.h
parent69fbde418b1a197bf793e51b12e23f528b967093 (diff)
downloade2fsprogs-51d12cebb61ca00f5455fe6e25938cd79fea15ab.tar.gz
Add CRC32 (big-endian) routine for use by journal checksums
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/e2fsck.h')
-rw-r--r--e2fsck/e2fsck.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/e2fsck/e2fsck.h b/e2fsck/e2fsck.h
index bd173af4..5523ed69 100644
--- a/e2fsck/e2fsck.h
+++ b/e2fsck/e2fsck.h
@@ -374,6 +374,9 @@ extern int e2fsck_run(e2fsck_t ctx);
extern void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file,
int replace_bad_blocks);
+/* crc32.c */
+extern __u32 crc32_be(__u32 crc, unsigned char const *p, size_t len);
+
/* dirinfo.c */
extern void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
extern void e2fsck_free_dir_info(e2fsck_t ctx);