diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:31:20 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:31:20 +0000 |
commit | 606c70fdc9a0ee295fe81ec7e6efbbbe142d01be (patch) | |
tree | 81a14a4b7111a8f18399aeaf7db820f52bc27dad /lib/libalpm/alpm.h | |
parent | 5faecdb523a8a6d1bff082f55d35d4ada6b9a257 (diff) | |
download | pacman-606c70fdc9a0ee295fe81ec7e6efbbbe142d01be.tar.xz |
Added a db_update() function to manage sync databases updates.
The API provides a wrapper alpm_db_update().
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 4551b3f9..dbc42275 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -92,6 +92,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); + PM_PKG *alpm_db_readpkg(PM_DB *db, char *name); PM_LIST *alpm_db_getpkgcache(PM_DB *db); |