From 924a46bf92e346c820f42f74a6792653894944e2 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:18:54 -0500 Subject: opkg: include the current url being downloaded in the progress callback git-svn-id: http://opkg.googlecode.com/svn/trunk@13 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg.h') diff --git a/libopkg.h b/libopkg.h index 429e3a1..274e37b 100644 --- a/libopkg.h +++ b/libopkg.h @@ -36,7 +36,7 @@ typedef int (*opkg_list_callback)(char *name, char *desc, char *version, typedef int (*opkg_status_callback)(char *name, int istatus, char *desc, void *userdata); typedef char* (*opkg_response_callback)(char *question); -typedef void (*opkg_download_progress_callback)(int percent); +typedef void (*opkg_download_progress_callback)(int percent, char *url); extern int opkg_op(int argc, char *argv[]); /* opkglib.c */ extern int opkg_init (opkg_message_callback mcall, -- cgit v0.9.1