index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/cache.h | 2 |
diff --git a/lib/libalpm/cache.h b/lib/libalpm/cache.h index b8897322..805d5d30 100644 --- a/lib/libalpm/cache.h +++ b/lib/libalpm/cache.h @@ -29,6 +29,8 @@ /* packages */ int db_load_pkgcache(pmdb_t *db); void db_free_pkgcache(pmdb_t *db); +int db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg); +int db_remove_pkgfromcache(pmdb_t *db, char *name); PMList *db_get_pkgcache(pmdb_t *db); pmpkg_t *db_get_pkgfromcache(pmdb_t *db, char *target); /* groups */ |