summaryrefslogtreecommitdiffstats
path: root/libopkg/libopkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/libopkg.h')
-rw-r--r--libopkg/libopkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopkg/libopkg.h b/libopkg/libopkg.h
index 3430e1c..be4c31b 100644
--- a/libopkg/libopkg.h
+++ b/libopkg/libopkg.h
@@ -39,6 +39,7 @@ typedef int (*opkg_status_callback)(char *name, int istatus, char *desc,
typedef char* (*opkg_response_callback)(char *question);
typedef void (*opkg_download_progress_callback)(int percent, char *url);
typedef void (*opkg_state_changed_callback)(opkg_state_t state, const char *data);
+typedef void (*opkg_progress_callback)(int complete, int total, void *userdata);
extern int opkg_op(int argc, char *argv[]); /* opkglib.c */
extern int opkg_init (opkg_message_callback mcall,