class defining object discovered by invoking commands that return JSON as their output. More...
|JsonDiscovery abstract C-class - it supports discovering "things" through running commands outputting JSON More...|
|typedef struct _JsonDiscovery||JsonDiscovery|
|WINEXPORT JsonDiscovery *||jsondiscovery_new (const char *discoverytype, const char *instancename, int intervalsecs, ConfigContext *jsonparams, NetGSource *, ConfigContext *, gsize)|
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.
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.