Module: check_mk
Branch: master
Commit: 3f0e614de333fcab5848ce84e2cb04ef070b839c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3f0e614de333fc…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Apr 20 10:22:58 2016 +0200
Horrible temporary hack needed to make cmc work again.
The ugly #ifdefs should really die soon, but the alternative is currently
even worse: Duplicating headers and classes in cmc even more. What *really*
should be done is putting a thin compatibility layer into the system,
abstracting away from the differences in the Nagios/CMC worlds. This isn't
hard, just a bit of mechanical work, but this needs to be postponed for
now... :-/
---
livestatus/src/TableHosts.h | 14 +++++++++++---
livestatus/src/TableHostsByGroup.h | 6 ++++++
livestatus/src/TableLog.cc | 29 +++++++++++++++++++++--------
livestatus/src/TableLog.h | 11 ++++++++---
livestatus/src/TableServices.h | 16 ++++++++++++----
livestatus/src/TableServicesByGroup.h | 6 ++++++
livestatus/src/TableServicesByHostGroup.h | 6 ++++++
livestatus/src/TableStateHistory.cc | 29 ++++++++++++++++++++++-------
livestatus/src/TableStateHistory.h | 12 +++++++++---
9 files changed, 101 insertions(+), 28 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=3f0e614de3…