Separate be_files into be_sync and be_local
commit5b2de3d8ecceea0eed3124e50792400adce4e95a
authorAllan McRae <allan@archlinux.org>
Wed, 13 Oct 2010 08:04:07 +0000 (13 18:04 +1000)
committerAllan McRae <allan@archlinux.org>
Thu, 14 Oct 2010 03:17:38 +0000 (14 13:17 +1000)
treeaeea616ec007697d6478ae75387ba8624a367d9d
parent96e277cfd935d680d6309311260fe79567324e9c
Separate be_files into be_sync and be_local

The file be_files.c is "split" to be_local.c and be_sync.c in order
to achieve separate handling of sync and local databases.

Some basic clean-up of functions that are only of use for local or
sync databases has been performed and some rough function renaming
in duplicated code has been performed to prevent compilation errors.
However, most of the clean-up and final separation of sync and local
db handling occurs in following patches.

Signed-off-by: Allan McRae <allan@archlinux.org>
lib/libalpm/Makefile.am
lib/libalpm/add.c
lib/libalpm/be_local.c [copied from lib/libalpm/be_files.c with 75% similarity]
lib/libalpm/be_sync.c [moved from lib/libalpm/be_files.c with 66% similarity]
lib/libalpm/db.c
lib/libalpm/db.h
lib/libalpm/po/POTFILES.in
lib/libalpm/remove.c