X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libopkg%2Fopkg.c;h=857ed7433ff8347180b11fd2fc85c20c65b81a64;hb=b06a66aaeddc129a3a8c08f0ac45be6d7f2c5199;hp=a4fefa0eadb1e74c2909f5a50839fa4de6dfffe8;hpb=1be7c20fd23dd74a8cc882b4579911588740fcb3;p=project%2Fopkg-lede.git diff --git a/libopkg/opkg.c b/libopkg/opkg.c index a4fefa0..857ed74 100644 --- a/libopkg/opkg.c +++ b/libopkg/opkg.c @@ -387,6 +387,12 @@ opkg_set_option (opkg_t *opkg, char *option, void *value) } +/** + * @brief libopkg API: Install package + * @param opkg Then opkg handler + * @param package_name The name of package in which is going to install + * @param progress_callback The callback function that report the status to caller. + */ int opkg_install_package (opkg_t *opkg, const char *package_name, opkg_progress_callback_t progress_callback, void *user_data) {