diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-04-02 23:20:00 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-04-02 23:20:00 +0000 |
commit | 80bae750cd8ec44aa879b22fb1fdcc41036cbff6 (patch) | |
tree | 7d56a90647b760d90f8bd5976c049dd47648c495 /lib/libalpm/db.h | |
parent | a94c24c4067945e02f0afdd7f91cf74218b0142a (diff) | |
download | pacman-80bae750cd8ec44aa879b22fb1fdcc41036cbff6.tar.xz |
- added 'lastupdate' field to pmdb_t
- added a new public function alpm_db_getinfo
- added a public parameter PM_PKG_DB for PM_PKG struct
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index c3efdc29..9f7509c6 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -35,6 +35,7 @@ #define INFRQ_ALL 0xFF #define DB_TREENAME_LEN 128 +#define DB_UPDATE_LEN 16 /* Database */ typedef struct __pmdb_t { @@ -43,6 +44,7 @@ typedef struct __pmdb_t { DIR *dir; PMList *pkgcache; PMList *grpcache; + char lastupdate[DB_UPDATE_LEN]; } pmdb_t; pmdb_t *db_open(char *root, char *dbpath, char *treename); |