From 5d1f7db216c5cc3ea3357b4f8fc36308856cd135 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:46:49 -0500 Subject: opkg: add autoremove command line option git-svn-id: http://opkg.googlecode.com/svn/trunk@37 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/libopkg.h') 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, -- cgit v0.9.1