diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-20 09:22:03 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-20 09:22:03 +0000 |
commit | 72c24395762c985e404f65f7ec1064efed1d44b5 (patch) | |
tree | c2841990bcb4d09359a215d9c48035b9e74506d3 /lib/libalpm/alpm.h | |
parent | 18db4c168bca90d3d44ccd9b4b4d076d2426516d (diff) | |
download | pacman-72c24395762c985e404f65f7ec1064efed1d44b5.tar.xz |
Added support for .lastupdate files (from pacman 2.9.1)
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 8eb1ece0..6b69b3b0 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -98,7 +98,8 @@ int alpm_get_option(unsigned char parm, long *data); int alpm_db_register(char *treename, PM_DB **db); int alpm_db_unregister(PM_DB *db); -int alpm_db_update(char *treename, char *archive); +int alpm_db_getlastupdate(PM_DB *db, char *ts); +int alpm_db_update(PM_DB *db, char *archive, char *ts); PM_PKG *alpm_db_readpkg(PM_DB *db, char *name); PM_LIST *alpm_db_getpkgcache(PM_DB *db); |