libopkg: factor out checksum and size verification
[project/opkg-lede.git] / libopkg / opkg_download.h
index fd260bc35aa97a2bde34c58eef2e349b22f568ea..863bcf25a80f137129312476a956624a9176c74d 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "pkg.h"
 
+int opkg_verify_integrity(pkg_t *pkg, const char *filename);
 int opkg_download(const char *src, const char *dest_file_name,
                   const short hide_error);
 int opkg_download_pkg(pkg_t * pkg, const char *dir);