Mercurial > geeqie.yaz
diff src/ui_fileops.h @ 1638:ceafe3731568
Fix up compilation using make -jN: sometimes it fails due to order of headers inclusion.
author | zas_ |
---|---|
date | Thu, 11 Jun 2009 17:34:37 +0000 |
parents | 89dedc61b1bd |
children | f80ee95314dd |
line wrap: on
line diff
--- a/src/ui_fileops.h Wed Jun 10 20:45:24 2009 +0000 +++ b/src/ui_fileops.h Thu Jun 11 17:34:37 2009 +0000 @@ -97,5 +97,12 @@ gboolean recursive_mkdir_if_not_exists(const gchar *path, mode_t mode); + +/* generate md5 string from file, + * on failure returns newly allocated copy of error_text, error_text may be NULL + */ +gchar *md5_text_from_file_utf8(const gchar *path, const gchar *error_text); +gboolean md5_get_digest_from_file_utf8(const gchar *path, guchar digest[16]); + #endif /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */