diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-04 08:26:52 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-04 08:26:52 +0000 |
commit | 63000584b6442412dbcdf1dd867e09fbde404afe (patch) | |
tree | 5ac1028f9aaf0ff5a75d9d2144a9ecc337dc2211 /lib/libalpm/package.h | |
parent | b2da4b42344444dc22f1e5b01fb4cd09033adc1d (diff) | |
download | pacman-63000584b6442412dbcdf1dd867e09fbde404afe.tar.xz |
Implemented a crappy version of -Qu (query upgrades). This simply outputs the
packages to be upgraded in a -Su operation. Much of the code is duplicated from
sync.c.
TODO: move the implementation to upgrades.c, and reimplement the sync_sysupgrade
function in terms of this:
trans->packages = alpm_get_upgrades();
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 50052326..dfaec2a2 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -97,7 +97,7 @@ int _alpm_pkg_cmp(const void *p1, const void *p2); pmpkg_t *_alpm_pkg_load(char *pkgfile); pmpkg_t *_alpm_pkg_isin(char *needle, alpm_list_t *haystack); int _alpm_pkg_splitname(char *target, char *name, char *version, int witharch); - +int _alpm_pkg_istoonew(pmpkg_t *pkg); #endif /* _ALPM_PACKAGE_H */ |