ckiss

KISS in C
git clone git://bvnf.space/ckiss.git
Log | Files | Refs | README | LICENSE

checksums.h (330B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
#ifndef _CKISS_CHECKSUMS_H
#define _CKISS_CHECKSUMS_H
#include "pkg.h"

/* returns the checksum of the file specified by s, if needed and if the cache
 * is present (must download first) */
char *source_generate_checksum(struct source *s);

/* dies if there is a checksum mismatch. */
void verify_checksums(struct pkg *p);
#endif