index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2010-10-13 18:04:07 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-10-14 13:17:38 +1000 |
commit | 5b2de3d8ecceea0eed3124e50792400adce4e95a (patch) | |
tree | aeea616ec007697d6478ae75387ba8624a367d9d /lib/libalpm/db.h | |
parent | 96e277cfd935d680d6309311260fe79567324e9c (diff) |
-rw-r--r-- | lib/libalpm/db.h | 8 |
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index f4559fe9..8adbc5d1 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -70,13 +70,15 @@ alpm_list_t *_alpm_db_search(pmdb_t *db, const alpm_list_t *needles); pmdb_t *_alpm_db_register_local(void); pmdb_t *_alpm_db_register_sync(const char *treename); void _alpm_db_unregister(pmdb_t *db); +pmdb_t *_alpm_db_new(const char *treename, int is_local); /* be.c, backend specific calls */ int _alpm_db_populate(pmdb_t *db); int _alpm_db_read(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq); -int _alpm_db_prepare(pmdb_t *db, pmpkg_t *info); -int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq); -int _alpm_db_remove(pmdb_t *db, pmpkg_t *info); + +int _alpm_local_db_prepare(pmdb_t *db, pmpkg_t *info); +int _alpm_local_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq); +int _alpm_local_db_remove(pmdb_t *db, pmpkg_t *info); /* cache bullshit */ /* packages */ |