diff options
author | ticktock35 <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) |
commit | b06a66aaeddc129a3a8c08f0ac45be6d7f2c5199 (patch) | |
tree | 582a75d4e71a008d5616210adb5cd2ee4c7535f9 /libopkg | |
parent | 1be7c20fd23dd74a8cc882b4579911588740fcb3 (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')
-rw-r--r-- | libopkg/opkg.c | 6 | ||||
-rw-r--r-- | libopkg/opkg_install.c | 4 |
2 files changed, 9 insertions, 1 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) { diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c index aa17c9b..3a1d69d 100644 --- a/libopkg/opkg_install.c +++ b/libopkg/opkg_install.c @@ -748,7 +748,9 @@ static int opkg_install_check_downgrade(opkg_conf_t *conf, pkg_t *pkg, pkg_t *ol } } -/* and now the meat... */ +/** + * @brief Really install a pkg_t + */ int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrade) { int err = 0; |