pkg_depends: add missing parse_replacelist() prototype
[oweals/opkg-lede.git] / libopkg / opkg_download.h
index d3f419db8f08492b827912c7ead436df8f3cc01f..fd260bc35aa97a2bde34c58eef2e349b22f568ea 100644 (file)
@@ -1,4 +1,4 @@
-/* opkg_download.h - the itsy package management system
+/* opkg_download.h - the opkg package management system
 
    Carl D. Worth
 
 #ifndef OPKG_DOWNLOAD_H
 #define OPKG_DOWNLOAD_H
 
-#include "opkg_conf.h"
+#include "pkg.h"
 
-int opkg_download(opkg_conf_t *conf, const char *src, const char *dest_file_name);
-int opkg_download_pkg(opkg_conf_t *conf, pkg_t *pkg, const char *dir);
+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);
 /*
- * Downloads file from url, installs in package database, return package name. 
+ * Downloads file from url, installs in package database, return package name.
  */
-int opkg_prepare_url_for_install(opkg_conf_t *conf, const char *url, char **namep);
+int opkg_prepare_url_for_install(const char *url, char **namep);
 
-int opkg_verify_file (char *text_file, char *sig_file);
+int opkg_verify_file(char *text_file, char *sig_file);
 #endif