X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2Flibopkg.h;h=be4c31b9d66eff40e96058051a3596e37e95ab1e;hp=3430e1c326a7a01830018d579001640cd5f5cd03;hb=5d1f7db216c5cc3ea3357b4f8fc36308856cd135;hpb=06d63167c8aefc168f4fa774908323e556e6a4e9 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,