From b2972e79c5d11dfa0625bf43838cb65209f7e632 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 5 Jun 2005 20:14:45 +0000 Subject: * cleanup trash recursively * ignore some more files * compile as C99 with -pedantic * upgrade to Berkeley DB 4.3 * add some tests for rm_rf() and copy_fd() * remove some minor warnings * minor fixes git-svn-id: file:///home/lennart/svn/public/syrep/trunk@76 07ea20a6-d2c5-0310-9e02-9ef735347d72 --- src/md5util.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/md5util.h') diff --git a/src/md5util.h b/src/md5util.h index 373d0b8..9755b0f 100644 --- a/src/md5util.h +++ b/src/md5util.h @@ -22,12 +22,13 @@ ***/ #include +#include -void fhex(const unsigned char *bin, int len, char *txt); +void fhex(const uint8_t *bin, size_t len, char *txt); #define fhex_md5(bin,txt) fhex((bin),16,(txt)) -int fdmd5(int fd, off_t l, char *md); +int fdmd5(int fd, off_t l, uint8_t md[]); -int fmd5(const char *fn, char *md); +int fmd5(const char *fn, uint8_t md[]); #endif -- cgit