20#ifndef __C_CREATEREPOLIB_CHECKSUM_H__
21#define __C_CREATEREPOLIB_CHECKSUM_H__
45#ifdef WITH_LEGACY_HASHES
int cr_checksum_update(cr_ChecksumCtx *ctx, const void *buf, size_t len, GError **err)
cr_ChecksumType cr_checksum_type(const char *name)
cr_ChecksumCtx * cr_checksum_new(cr_ChecksumType type, GError **err)
char * cr_checksum_file(const char *filename, cr_ChecksumType type, GError **err)
char * cr_checksum_final(cr_ChecksumCtx *ctx, GError **err)
struct _cr_ChecksumCtx cr_ChecksumCtx
const char * cr_checksum_name_str(cr_ChecksumType type)