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

Implements the ResourceOCF class. More...

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

Go to the source code of this file.

Macros

#define RESOURCECMD_SUBCLASS
 

Functions

FSTATIC void _resourceocf_finalize (AssimObj *aself)
 Finalize function for ResourceOCF objects. More...
 
FSTATIC void _resourceocf_execute (ResourceCmd *cmdself)
 Do the deed, dude! More...
 
FSTATIC void _resourceocf_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...
 
FSTATIC gboolean _resourceocf_outputs_string (const char *operation)
 
FSTATIC void _resourceocf_init_environ (ResourceOCF *self)
 
ResourceCmdresourceocf_new (guint structsize, ConfigContext *request, gpointer user_data, ResourceCmdCallback callback)
 Constructor for ResourceOCF class. More...
 

Detailed Description

Implements the ResourceOCF class.

Constructs an OCF resource agent object (aka ResourceOCF 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 resourceocf.c.

Macro Definition Documentation

#define RESOURCECMD_SUBCLASS

Definition at line 24 of file resourceocf.c.