icinga2/dyntest/dyntest.cpp

13 lines
200 B
C++
Raw Normal View History

2012-05-31 10:16:32 +02:00
#include <i2-dyn.h>
2012-05-30 10:43:58 +02:00
using namespace icinga;
int main(int argc, char **argv)
{
2012-05-31 09:43:46 +02:00
stringstream config;
config << "object process \"foo\" {}";
ConfigContext ctx(&config);
yyparse(&ctx);
2012-05-30 10:43:58 +02:00
return 0;
}