bareos: bareos-14.2 86ce108d

Author Committer Branch Timestamp Parent Ported
mvwieringen mvwieringen bareos-14.2 2015-10-24 17:51:10 bareos-14.2 a50b4819 Pending
Changeset Allocate callback functions per session.

Instead of using a static global variable with the callback functions
allocate the callbacks as part of the session structure or context so we
can have different sets of callbacks for each session.

We also check that the actual function pointer is non-NULL before calling it.
mod - src/dird/ndmp_dma.c Diff File
mod - src/ndmp/ndma_robot_simulator.c Diff File
mod - src/ndmp/ndma_tape_simulator.c Diff File
mod - src/ndmp/ndmagents.h Diff File
mod - src/ndmp/ndmjob.h Diff File
mod - src/ndmp/ndmjob_main.c Diff File
mod - src/ndmp/ndmjob_simulator.c Diff File
mod - src/ndmp/ndml_fhdb.c Diff File
mod - src/ndmp/ndmlib.h Diff File
mod - src/ndmp/ndmos_common.c Diff File
mod - src/stored/ndmp_tape.c Diff File