$(LTDLINCL) \
$(BOOST_CPPFLAGS) \
$(OPENSSL_INCLUDES) \
- -I${top_srcdir}/third-party/mmatch
+ -I${top_srcdir}/third-party/mmatch \
+ -I${top_srcdir}/third-party/popen-noshell
libbase_la_LDFLAGS = \
$(BOOST_LDFLAGS) \
$(OPENSSL_LIBS) \
$(BOOST_SIGNALS_LIB) \
$(BOOST_THREAD_LIB) \
- ${top_builddir}/third-party/mmatch/libmmatch.la
+ ${top_builddir}/third-party/mmatch/libmmatch.la \
+ ${top_builddir}/third-party/popen-noshell/libpopen_noshell.la
+/******************************************************************************
+ * Icinga 2 *
+ * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) *
+ * *
+ * This program is free software; you can redistribute it and/or *
+ * modify it under the terms of the GNU General Public License *
+ * as published by the Free Software Foundation; either version 2 *
+ * of the License, or (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software Foundation *
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ******************************************************************************/
+
#ifndef ASYNCTASK_H
#define ASYNCTASK_H
bool m_Finished;
private:
- static void FinishForwarder(typename const shared_ptr<T>& task)
+ static void FinishForwarder(const shared_ptr<T>& task)
{
task->OnTaskCompleted(task);
}
+/******************************************************************************
+ * Icinga 2 *
+ * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) *
+ * *
+ * This program is free software; you can redistribute it and/or *
+ * modify it under the terms of the GNU General Public License *
+ * as published by the Free Software Foundation; either version 2 *
+ * of the License, or (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software Foundation *
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ******************************************************************************/
+
#include "i2-base.h"
+#ifndef _MSC_VER
+# include "popen_noshell.h"
+#endif /* _MSC_VER */
+
using namespace icinga;
bool Process::m_ThreadsCreated = false;
+/******************************************************************************
+ * Icinga 2 *
+ * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) *
+ * *
+ * This program is free software; you can redistribute it and/or *
+ * modify it under the terms of the GNU General Public License *
+ * as published by the Free Software Foundation; either version 2 *
+ * of the License, or (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software Foundation *
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ******************************************************************************/
+
#ifndef PROCESS_H
#define PROCESS_H
-I${top_srcdir}/base \
-I${top_srcdir}/dyn \
-I${top_srcdir}/jsonrpc \
- -I${top_srcdir}/icinga \
- -I${top_srcdir}/third-party/popen-noshell
+ -I${top_srcdir}/icinga
libcib_la_LDFLAGS = \
$(BOOST_LDFLAGS) \
${top_builddir}/base/libbase.la \
${top_builddir}/dyn/libdyn.la \
${top_builddir}/jsonrpc/libjsonrpc.la \
- ${top_builddir}/icinga/libicinga.la \
- ${top_builddir}/third-party/popen-noshell/libpopen_noshell.la
+ ${top_builddir}/icinga/libicinga.la
#include "i2-cib.h"
-#ifndef _MSC_VER
-# include "popen_noshell.h"
-#endif /* _MSC_VER */
-
using namespace icinga;
NagiosCheckTask::NagiosCheckTask(const Service& service)