summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_download.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/opkg_download.h')
-rw-r--r--libopkg/opkg_download.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/opkg_download.h b/libopkg/opkg_download.h
index da65b00..b878380 100644
--- a/libopkg/opkg_download.h
+++ b/libopkg/opkg_download.h
@@ -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);
/*