The Assimilation Project  based on Assimilation version
jsondiscovery.c File Reference

Class defining discovery objects that output JSON discovery information to stdout. More...

#include <projectcommon.h>
#include <memory.h>
#include <frameset.h>
#include <configcontext.h>
#include <cstringframe.h>
#include <frametypes.h>
#include <framesettypes.h>
#include <jsondiscovery.h>
#include <assert.h>
#include <fsprotocol.h>
Include dependency graph for jsondiscovery.c:

Go to the source code of this file.




FSTATIC guint _jsondiscovery_discoverintervalsecs (const Discovery *dself)
 Return how often we are scheduled to perform this particular discovery action. More...
FSTATIC void _jsondiscovery_finalize (AssimObj *dself)
 Finalizing function for Discovery objects. More...
FSTATIC gboolean _jsondiscovery_discover (Discovery *dself)
 Perform the requested discovery action. More...
FSTATIC void _jsondiscovery_childwatch (ChildProcess *child, enum HowDied status, int rc, int signal, gboolean core_dumped)
 Watch our child - we get called when our child process exits. More...
FSTATIC void _jsondiscovery_fullpath (JsonDiscovery *self)
JsonDiscoveryjsondiscovery_new (const char *discoverytype, const char *instancename, gint intervalsecs, ConfigContext *jsoninst, NetGSource *iosource, ConfigContext *context, gsize objsize)
 JsonDiscovery constructor. More...



Detailed Description

Class defining discovery objects that output JSON discovery information to stdout.

It is possible that code like this will wind up in the LRM.

This file is part of the Assimilation Project.

Copyright © 2011, 2012 - Alan Robertson
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

Definition in file jsondiscovery.c.

Macro Definition Documentation


Definition at line 29 of file jsondiscovery.c.