2012-05-25 11:10:11 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* 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. *
|
|
|
|
******************************************************************************/
|
|
|
|
|
2012-09-07 10:27:31 +02:00
|
|
|
#ifndef I2CONFIG_H
|
|
|
|
#define I2CONFIG_H
|
2012-05-25 11:10:11 +02:00
|
|
|
|
|
|
|
/**
|
2012-09-17 13:35:55 +02:00
|
|
|
* @defgroup config Configuration library
|
2012-05-25 11:10:11 +02:00
|
|
|
*
|
2012-09-17 13:35:55 +02:00
|
|
|
* The configuration library implements a compiler for Icinga 2's configuration
|
2012-09-19 12:32:39 +02:00
|
|
|
* format. It also provides functionality for creating configuration objects
|
2012-09-17 13:35:55 +02:00
|
|
|
* at runtime.
|
2012-05-25 11:10:11 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <i2-base.h>
|
|
|
|
|
2012-06-18 06:29:48 +02:00
|
|
|
#include <stack>
|
2012-06-06 14:38:28 +02:00
|
|
|
#include <fstream>
|
2012-05-31 16:04:51 +02:00
|
|
|
|
2012-06-18 06:29:48 +02:00
|
|
|
using std::stack;
|
2012-06-15 19:32:41 +02:00
|
|
|
using std::istream;
|
|
|
|
using std::ostream;
|
|
|
|
using std::cin;
|
|
|
|
using std::endl;
|
|
|
|
|
2012-09-07 10:27:31 +02:00
|
|
|
#ifdef I2_CONFIG_BUILD
|
|
|
|
# define I2_CONFIG_API I2_EXPORT
|
|
|
|
#else /* I2_CONFIG_BUILD */
|
|
|
|
# define I2_CONFIG_API I2_IMPORT
|
|
|
|
#endif /* I2_CONFIG_BUILD */
|
2012-05-30 10:43:58 +02:00
|
|
|
|
2012-06-06 14:38:28 +02:00
|
|
|
#include "debuginfo.h"
|
2013-02-02 14:28:11 +01:00
|
|
|
#include "typerulelist.h"
|
|
|
|
#include "typerule.h"
|
2012-06-01 16:49:33 +02:00
|
|
|
#include "expression.h"
|
|
|
|
#include "expressionlist.h"
|
2012-06-06 14:38:28 +02:00
|
|
|
#include "configitem.h"
|
2013-02-05 13:06:42 +01:00
|
|
|
#include "configtype.h"
|
2012-07-06 14:33:10 +02:00
|
|
|
#include "configitembuilder.h"
|
2012-06-06 14:38:28 +02:00
|
|
|
#include "configcompiler.h"
|
2013-02-05 13:06:42 +01:00
|
|
|
#include "configcompilercontext.h"
|
2012-05-25 11:10:11 +02:00
|
|
|
|
2012-09-07 10:27:31 +02:00
|
|
|
#endif /* I2CONFIG_H */
|