Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-15 22:51:28 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-15 22:51:28 +0000
commit6e76fd8af3113a28280077ba3da016c01a760ba2 (patch)
tree5c818cd1736168a7e4ace2d50d8180a3584bae6f /lib/libalpm/alpm.h
parent2e128d3a41602b2e5c2f793b685175decce1bac0 (diff)
- merged db_open and db_create into one single function
- moved the .lastupdate support to the frontend
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h5
1 files changed, 2 insertions, 3 deletions
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);