1 #if !defined( __FS_REISER4_COMPRESS_H__ )
2 #define __FS_REISER4_COMPRESS_H__
4 #include <linux/types.h>
5 #include <linux/string.h>
7 /* transform direction */
9 TFMA_READ
, /* decrypt, decompress */
10 TFMA_WRITE
, /* encrypt, compress */
14 /* supported compression algorithms */
19 } reiser4_compression_id
;
21 /* the same as pgoff, but units are page clusters */
22 typedef unsigned long cloff_t
;
24 /* working data of a (de)compression algorithm */
27 /* table for all supported (de)compression algorithms */
28 typedef coa_t coa_set
[LAST_COMPRESSION_ID
][TFMA_LAST
];
30 __u32
reiser4_adler32(char *data
, __u32 len
);
32 #endif /* __FS_REISER4_COMPRESS_H__ */
36 c-indentation-style: "K&R"