Mercurial > geeqie.yaz
comparison src/md5-util.h @ 1346:c9949c19a6d0
No space between function name and first parenthesis, it eases greping (see CODING).
author | zas_ |
---|---|
date | Sat, 28 Feb 2009 20:48:47 +0000 |
parents | 1646720364cf |
children | ceafe3731568 |
comparison
equal
deleted
inserted
replaced
1345:6fb0c1829b76 | 1346:c9949c19a6d0 |
---|---|
35 gint doByteReverse; | 35 gint doByteReverse; |
36 } MD5Context; | 36 } MD5Context; |
37 | 37 |
38 | 38 |
39 /* raw routines */ | 39 /* raw routines */ |
40 void md5_init (MD5Context *ctx); | 40 void md5_init(MD5Context *ctx); |
41 void md5_update (MD5Context *ctx, const guchar *buf, guint32 len); | 41 void md5_update(MD5Context *ctx, const guchar *buf, guint32 len); |
42 void md5_final (MD5Context *ctx, guchar digest[16]); | 42 void md5_final(MD5Context *ctx, guchar digest[16]); |
43 | 43 |
44 /* generate digest from memory buffer */ | 44 /* generate digest from memory buffer */ |
45 void md5_get_digest (const guchar *buffer, gint buffer_size, guchar digest[16]); | 45 void md5_get_digest(const guchar *buffer, gint buffer_size, guchar digest[16]); |
46 | 46 |
47 /* generate digest from file */ | 47 /* generate digest from file */ |
48 gboolean md5_get_digest_from_file(const gchar *path, guchar digest[16]); | 48 gboolean md5_get_digest_from_file(const gchar *path, guchar digest[16]); |
49 gboolean md5_get_digest_from_file_utf8(const gchar *path, guchar digest[16]); | 49 gboolean md5_get_digest_from_file_utf8(const gchar *path, guchar digest[16]); |
50 | 50 |