The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
jsondiscovery.h File Reference

class defining object discovered by invoking commands that return JSON as their output. More...

#include <projectcommon.h>
#include <discovery.h>
#include <childprocess.h>
Include dependency graph for jsondiscovery.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _JsonDiscovery
 JsonDiscovery abstract C-class - it supports discovering "things" through running commands outputting JSON More...
 
#define JSONAGENTROOT   DISCOVERY_DIR
 
typedef struct _JsonDiscovery JsonDiscovery
 
WINEXPORT JsonDiscoveryjsondiscovery_new (const char *discoverytype, const char *instancename, int intervalsecs, ConfigContext *jsonparams, NetGSource *, ConfigContext *, gsize)
 

Detailed Description

class defining object discovered by invoking commands that return JSON as their output.

This implements the code necessary to create a child process to run the command and also return the result.

This file is part of the Assimilation Project.

Author
Copyright © 2011, 2012 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
The Assimilation software 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 3 of the License, or (at your option) any later version.

The Assimilation software 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 the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file jsondiscovery.h.