| 1 | /************************************************************************** |
|---|
| 2 | * Copyright (C) 2004-2007 by Michael Medin <michael@medin.name> * |
|---|
| 3 | * * |
|---|
| 4 | * This code is part of NSClient++ - http://trac.nakednuns.org/nscp * |
|---|
| 5 | * * |
|---|
| 6 | * This program is free software; you can redistribute it and/or modify * |
|---|
| 7 | * it under the terms of the GNU General Public License as published by * |
|---|
| 8 | * the Free Software Foundation; either version 2 of the License, or * |
|---|
| 9 | * (at your option) any later version. * |
|---|
| 10 | * * |
|---|
| 11 | * This program is distributed in the hope that it will be useful, * |
|---|
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
|---|
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
|---|
| 14 | * GNU General Public License for more details. * |
|---|
| 15 | * * |
|---|
| 16 | * You should have received a copy of the GNU General Public License * |
|---|
| 17 | * along with this program; if not, write to the * |
|---|
| 18 | * Free Software Foundation, Inc., * |
|---|
| 19 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
|---|
| 20 | ***************************************************************************/ |
|---|
| 21 | #pragma once |
|---|
| 22 | |
|---|
| 23 | #include <string> |
|---|
| 24 | #include <functional> |
|---|
| 25 | #include <map> |
|---|
| 26 | #include <vector> |
|---|
| 27 | |
|---|
| 28 | #include <boost/thread.hpp> |
|---|
| 29 | #include <boost/bind.hpp> |
|---|
| 30 | #include <boost/shared_ptr.hpp> |
|---|
| 31 | #include <boost/array.hpp> |
|---|
| 32 | #include <boost/asio.hpp> |
|---|
| 33 | #include <boost/optional.hpp> |
|---|
| 34 | #include <boost/bind.hpp> |
|---|
| 35 | #include <boost/logic/tribool.hpp> |
|---|
| 36 | #include <boost/utility.hpp> |
|---|
| 37 | #include <boost/tuple/tuple.hpp> |
|---|
| 38 | |
|---|
| 39 | #ifdef USE_SSL |
|---|
| 40 | #include <boost/asio/ssl.hpp> |
|---|
| 41 | #endif |
|---|
| 42 | |
|---|
| 43 | #include <config.h> |
|---|
| 44 | #include <utils.h> |
|---|
| 45 | |
|---|
| 46 | #include <types.hpp> |
|---|
| 47 | #include <NSCAPI.h> |
|---|
| 48 | #include <NSCHelper.h> |
|---|
| 49 | #include <nsc_module_wrapper.hpp> |
|---|
| 50 | #include <nrpe/nrpe_packet.hpp> |
|---|
| 51 | |
|---|