[icinga-checkins] icinga.org: icinga-core/master: create logging.h, with stubs for the common function in cgiutils.c (Andreas Ericsson)

git at icinga.org git at icinga.org
Wed May 19 13:41:51 CEST 2010


Module: icinga-core
Branch: master
Commit: 709559b69a1ca7a1fa1e2383b1ba1a9cc0bc381d
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=709559b69a1ca7a1fa1e2383b1ba1a9cc0bc381d

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed May 12 18:29:21 2010 +0200

create logging.h, with stubs for the common function in cgiutils.c (Andreas Ericsson)

[--snip--]
The (extremely) many '#ifdef NSCORE' entries scattered throughout
the shared code makes making major changes a real headache. This
is a first step to let us work the code without worrying if we're
the cgi's or the daemon.

The fact that we're removing almost 500 lines more than we're
adding is a sure sign it's a step in the right direction.
[--snip--]

fits in Icinga too, applied.

fixes #394

---

 Changelog           |    1 +
 cgi/cgiutils.c      |   10 ++-
 common/objects.c    |  132 ------------------
 include/cgiutils.h  |    1 +
 include/icinga.h    |   52 +-------
 include/logging.h   |   60 +++++++++
 xdata/xodtemplate.c |  366 +-------------------------------------------------
 xdata/xodtemplate.h |    2 -
 xdata/xrddefault.c  |    6 -
 xdata/xsddefault.c  |    6 -
 10 files changed, 80 insertions(+), 556 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=709559b69a1ca7a1fa1e2383b1ba1a9cc0bc381d




More information about the icinga-checkins mailing list