Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_CRC32C_H |
| 2 | #define _LINUX_CRC32C_H |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | |
Herbert Xu | 69c35ef | 2008-11-07 15:11:47 +0800 | [diff] [blame] | 6 | extern u32 crc32c(u32 crc, const void *address, unsigned int length); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
Herbert Xu | 0426c16 | 2008-11-11 12:20:06 +0800 | [diff] [blame^] | 8 | /* This macro exists for backwards-compatibility. */ |
| 9 | #define crc32c_le crc32c |
| 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #endif /* _LINUX_CRC32C_H */ |