bareos: master c19810a3

Author Committer Branch Timestamp Parent
Sebastian Sura Sebastian Sura master 2023-06-23 09:17 master 18bef24d Pending
Changeset config parser: change how present items are stored

Instead of remembering the items by index, they are instead remembered
by their name. This allows other parts of the code to easily query
whether a member was set or not without having access to the list of
resource items.

This works since no two members of a class can have the same name.
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/inc_conf.cc Diff File
mod - core/src/dird/run_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/lib/bareos_resource.cc Diff File
mod - core/src/lib/bareos_resource.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/lib/resource_item.h Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/device_resource.h Diff File
mod - core/src/stored/stored_conf.cc Diff File