summaryrefslogtreecommitdiffstats
path: root/src/md5util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-05 20:14:45 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-05 20:14:45 +0000
commitb2972e79c5d11dfa0625bf43838cb65209f7e632 (patch)
treeee45296a668255b7ad63dfc0e0963209a7299093 /src/md5util.h
parent37621a019f8fb5e0ac2e506b45279ab7ba67a167 (diff)
* 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
Diffstat (limited to 'src/md5util.h')
-rw-r--r--src/md5util.h7
1 files changed, 4 insertions, 3 deletions
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 <sys/types.h>
+#include <inttypes.h>
-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