libopkg: remove internal dependency on libopkg.h and opkg_cmd.h
[oweals/opkg-lede.git] / libopkg / opkg_download.h
index da65b0032903950063708423e66edf5b063f3749..b87838085d5f9940a46c7da7934c279b20b3a187 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "opkg_conf.h"
 
+typedef void (*opkg_download_progress_callback)(int percent, char *url);
+
 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);
 /*