The Assimilation Project  based on Assimilation version 1.1.7.1474836767
resourcelsb.c File Reference

Implements the ResourceLSB class. More...

#include <projectcommon.h>
#include <string.h>
#include <resourcecmd.h>
#include <resourcelsb.h>
Include dependency graph for resourcelsb.c:

Go to the source code of this file.

Macros

#define RESOURCECMD_SUBCLASS
 

Functions

FSTATIC void _resourcelsb_finalize (AssimObj *aself)
 Finalize function for ResourceLSB objects. More...
 
FSTATIC void _resourcelsb_execute (ResourceCmd *cmdself)
 Do the deed, dude! More...
 
FSTATIC void _resourcelsb_metadata (ResourceLSB *self)
 Return overly-simplified faked-up metadata for an LSB resource. More...
 
FSTATIC void _resourcelsb_validate_all (ResourceLSB *self)
 Fake validate-all action - just return success... More...
 
FSTATIC void _resourcelsb_child_notify (ChildProcess *child, enum HowDied exittype, int rc, int signal, gboolean core_dumped)
 We get called when our child exits, times out and is killed, or times out and can't be killed. More...
 
ResourceCmdresourcelsb_new (guint structsize, ConfigContext *request, gpointer user_data, ResourceCmdCallback callback)
 Constructor for ResourceLSB class. More...
 

Detailed Description

Implements the ResourceLSB class.

Constructs an LSB resource agent object (aka ResourceLSB object).

Author
Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh - Copyright © 2013 - Assimilation Systems Limited
This file is part of the Assimilation Project. 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 resourcelsb.c.

Macro Definition Documentation

#define RESOURCECMD_SUBCLASS

Definition at line 24 of file resourcelsb.c.