r4866 - trunk/src/target/opkg/libopkg

tick at docs.openmoko.org tick at docs.openmoko.org
Sun Dec 14 12:09:52 CET 2008


Author: tick
Date: 2008-12-14 12:09:52 +0100 (Sun, 14 Dec 2008)
New Revision: 4866

Modified:
   trunk/src/target/opkg/libopkg/opkg.c
   trunk/src/target/opkg/libopkg/opkg_install.c
Log:
opkg: trivial adding some comments


Modified: trunk/src/target/opkg/libopkg/opkg.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg.c	2008-12-14 11:09:38 UTC (rev 4865)
+++ trunk/src/target/opkg/libopkg/opkg.c	2008-12-14 11:09:52 UTC (rev 4866)
@@ -387,6 +387,12 @@
 
 }
 
+/**
+ * @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)
 {

Modified: trunk/src/target/opkg/libopkg/opkg_install.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_install.c	2008-12-14 11:09:38 UTC (rev 4865)
+++ trunk/src/target/opkg/libopkg/opkg_install.c	2008-12-14 11:09:52 UTC (rev 4866)
@@ -748,7 +748,9 @@
      }
 }
 
-/* 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;




More information about the commitlog mailing list