opkg: apply "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbedded
[project/opkg-lede.git] / opkg_upgrade.h
1 /* opkg_upgrade.c - the itsy package management system
2
3 Copyright (C) 2003 Daniele Nicolodi <daniele@grinta.net>
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 2, or (at
8 your option) any later version.
9
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14 */
15
16 #include "opkg.h"
17
18 int opkg_upgrade_pkg(opkg_conf_t *conf, pkg_t *old);