From 6e76fd8af3113a28280077ba3da016c01a760ba2 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 15 Feb 2006 22:51:28 +0000 Subject: - merged db_open and db_create into one single function - moved the .lastupdate support to the frontend --- lib/libalpm/alpm.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libalpm/alpm.h') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index b69d5fde..cdb00975 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -105,8 +105,7 @@ int alpm_get_option(unsigned char parm, long *data); /* Info parameters */ enum { - PM_DB_TREENAME = 1, - PM_DB_LASTUPDATE + PM_DB_TREENAME = 1 }; PM_DB *alpm_db_register(char *treename); @@ -114,7 +113,7 @@ int alpm_db_unregister(PM_DB *db); void *alpm_db_getinfo(PM_DB *db, unsigned char parm); -int alpm_db_update(PM_DB *db, char *archive, char *ts); +int alpm_db_update(PM_DB *db, char *archive); PM_PKG *alpm_db_readpkg(PM_DB *db, char *name); PM_LIST *alpm_db_getpkgcache(PM_DB *db); -- cgit v1.2.3