Fix potential undefined references to FILE, for libopkg users.
[oweals/opkg-lede.git] / libopkg / opkg_upgrade.h
index 1523ceecc9973effdc8ca273bf9c68e32d2c4e6c..6545fa897a52cddaf559c295bdba6dcca93d8f36 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