opkg: add autoremove command line option
[oweals/opkg-lede.git] / libopkg / libopkg.h
index 3430e1c326a7a01830018d579001640cd5f5cd03..be4c31b9d66eff40e96058051a3596e37e95ab1e 100644 (file)
@@ -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 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, 
 
 extern int opkg_op(int argc, char *argv[]); /* opkglib.c */
 extern int opkg_init (opkg_message_callback mcall,