The Assimilation Project  based on Assimilation version
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.




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).

Alan Robertson - 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

Definition in file resourceocf.c.

Macro Definition Documentation


Definition at line 24 of file resourceocf.c.