Add func that returns a malloc'ed buffer with the hash string of a file.

--HG--
extra : convert_revision : 66d886c413e0a909ccd678fe1ebdda44ab6fef8a
This commit is contained in:
Juan RP
2009-04-03 12:10:28 +02:00
parent cb21ca090c
commit c72bbb0a5b
2 changed files with 27 additions and 12 deletions

View File

@@ -28,6 +28,7 @@
/* From lib/util.c */
char * xbps_append_full_path(bool, const char *, const char *);
char * xbps_get_file_hash(const char *);
int xbps_check_file_hash(const char *, const char *);
int xbps_check_pkg_file_hash(prop_dictionary_t, const char *);
int xbps_check_is_installed_pkg(const char *);