lib: added DBName support to parsers and builders
commit76e91678d8de80af7e142e090bfbc093cdc57e24
authorChris Frey <cdfrey@foursquare.net>
Sat, 2 Oct 2010 05:47:38 +0000 (2 01:47 -0400)
committerChris Frey <cdfrey@foursquare.net>
Sat, 2 Oct 2010 06:23:48 +0000 (2 02:23 -0400)
tree0b1502d639c7bb7ec078078119db0408ddce4055
parent472697b1746f9f892a4c472283682beaec0dc003
lib: added DBName support to parsers and builders

For the upcoming libbarrybackup, it makes sense that parsers and
builders know what database they are working on, since it is
possible they can contain more than one.

This commit adds the DBName argument to SetIds(), which means that
during a Desktop::LoadDatabase(), the database name will automatically
come along with it.

It also adds Builder::GetDBName(), which supports it in the other
direction.
gui/src/DeviceIface.cc
gui/src/DeviceIface.h
man/brecsum.1
src/builder.h
src/m_desktop.cc
src/packet.cc
src/packet.h
src/parser.h
tools/bfuse.cc
tools/brecsum.cc
tools/btool.cc