bareos2015: bareos-14.2 10bfaba8

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-14.2 2014-07-28 13:51 bareos-14.2 4173da1f Pending
Changeset First attempt at making things somewhat cleaner.

- On windows also compile all shared objects into a dll.
- Implement the DCR (Device Control Record) as an inherited class of
  SMARTALLOC just like most others and implement a proper constructor
  for it. The new_dcr function is now replaced with a instantiate of the
  class and then a call to setup_new_dcr_device()
- Abstract the askdir functions as methods of the DCR (Device Control
  Record) and implement a special derived class for the stored and btape
  that abstracts the special functions for those and make the rest use
  the default dummy methods. This way we can nice and cleanly implement
  this for the different programs.
- Drop the wait_device_release conditional global variable, instead
  create a single function entry point release_device_cond() that gets
  called when we want the conditional variable to be signaled.
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/stored/Makefile.in Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/append.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/autochanger.c Diff File
mod - src/stored/bcopy.c Diff File
mod - src/stored/bextract.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/bls.c Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/butil.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/device.c Diff File
mod - src/stored/dir_cmd.c Diff File
rm - src/stored/dummy.c Diff File
mod - src/stored/label.c Diff File
mod - src/stored/mount.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/reserve.c Diff File
mod - src/stored/scan.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_stats.c Diff File
mod - src/stored/spool.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/stored.h Diff File
mod - src/stored/wait.c Diff File
mod - src/win32/stored/Makefile Diff File
add - src/win32/stored/make_def Diff File