summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:33:45 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:33:45 (EST)
commitb06a66aaeddc129a3a8c08f0ac45be6d7f2c5199 (patch)
tree582a75d4e71a008d5616210adb5cd2ee4c7535f9 /libopkg/opkg.c
parent1be7c20fd23dd74a8cc882b4579911588740fcb3 (diff)
opkg: trivial adding some comments
git-svn-id: http://opkg.googlecode.com/svn/trunk@176 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg.c')
-rw-r--r--libopkg/opkg.c6
1 files changed, 6 insertions, 0 deletions
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)
{