pkg: use a blob buffer in pkg_t to store variable fields
[oweals/opkg-lede.git] / libopkg / opkg_upgrade.h
index 1523ceecc9973effdc8ca273bf9c68e32d2c4e6c..775a453b499a4ec7124a7f294d9c52245df81810 100644 (file)
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.
 */
+#ifndef OPKG_UPGRADE_H
+#define OPKG_UPGRADE_H
 
-int opkg_upgrade_pkg(opkg_conf_t *conf, pkg_t *old);
-pkg_vec_t *opkg_upgrade_all_list_get(opkg_conf_t *conf);
+#include "active_list.h"
+int opkg_upgrade_pkg(pkg_t * old);
+struct active_list *prepare_upgrade_list(void);
+
+#endif