5 #ifndef DMLITE_CHECKSUMS_H 6 #define DMLITE_CHECKSUMS_H 46 char* output,
size_t outsize);
58 char* output,
size_t outsize);
70 char* output,
size_t outsize);
char * dmlite_checksum_full_name(const char *shortName, char *output, size_t osize)
Puts into output the full name of the checksum algorithm specified with shortName.
int dmlite_checksum_crc32(dmlite_fd *fd, off_t offset, off_t size, char *output, size_t outsize)
Generated the CRC32 checksum of the given file.
C wrapper for I/O interfaces.
int dmlite_checksum_md5(dmlite_fd *fd, off_t offset, off_t size, char *output, size_t outsize)
Generated the MD5 checksum of the given file.
int dmlite_checksum_adler32(dmlite_fd *fd, off_t offset, off_t size, char *output, size_t outsize)
Generated the Adler32 checksum of the given file.
struct dmlite_fd dmlite_fd
Definition: io.h:25
char * dmlite_checksum_short_name(const char *longName, char *output, size_t osize)
Puts into output the short name of the checksum algorithm specified with longName.