bareos: master a35c24bf

Author Committer Branch Timestamp Parent
Andreas Rogge Andreas Rogge master 2022-10-21 12:48 master 90d1a431 Pending
Changeset win32: refactor all uses of GetProcAddress

This patch wraps GetProcAddress into a C++ template to make it easier to
use and to allow us to ignore the cast-function-type warning in a
central location.
It also simplifies a lot of the uses due to template argument deduction
and changes winapi.cc to use macros that reduce repetition.
mod - core/src/dird/CMakeLists.txt Diff File
mod - core/src/filed/CMakeLists.txt Diff File
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lib/osinfo_win32.cc Diff File
mod - core/src/stored/CMakeLists.txt Diff File
mod - core/src/win32/compat/winapi.cc Diff File
mod - core/src/win32/filed/vss_generic.cc Diff File
mod - core/src/win32/generic/service.cc Diff File