Move database handling utility functions
commit0909a72000b03332c5203b16b6a4e862c0662e03
authorAllan McRae <allan@archlinux.org>
Wed, 13 Oct 2010 07:55:55 +0000 (13 17:55 +1000)
committerAllan McRae <allan@archlinux.org>
Wed, 13 Oct 2010 13:53:18 +0000 (13 23:53 +1000)
treefb82a6174d6938cf6a1902a0aa336176f818da6b
parentc56b576f6fef464f82f425219ef386fe8b742899
Move database handling utility functions

Move splitname, checkdbdir, get_pkgpath into db.{h,c} as these will be
needed to parse both the local and sync databases during the initial
splitting.  They will be moved out of db.{h,c} at to more appropriate
locations at a later stage.

Signed-off-by: Allan McRae <allan@archlinux.org>
lib/libalpm/be_files.c
lib/libalpm/db.c
lib/libalpm/db.h