Add flag in opkg_download calls to reduce the severity of the 'failed download' message
[oweals/opkg-lede.git] / libopkg / opkg_download.h
index 3e1c7604c30e693c48a6e672c8fe9a4afa083b37..91b990e9717979410c871ecfa0e2e8c3ff98ad28 100644 (file)
@@ -25,7 +25,7 @@ typedef void (*opkg_download_progress_callback)(int percent, char *url);
 typedef int (*curl_progress_func)(void *data, double t, double d, double ultotal, double ulnow);
 
 
-int opkg_download(const char *src, const char *dest_file_name, curl_progress_func cb, void *data);
+int opkg_download(const char *src, const char *dest_file_name, curl_progress_func cb, void *data, const short hide_error);
 int opkg_download_pkg(pkg_t *pkg, const char *dir);
 /*
  * Downloads file from url, installs in package database, return package name.