GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

GATRequestCPIInstanceData.h File Reference

More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  GATRequestCPIInstance_Data

Defines

#define _GATREQUESTCPIINSTANCEDATA_H_

Typedefs

typedef GATRequestCPIInstance_Data GATRequestCPIInstance_Data

Functions

GATRequestCPIInstance_DataGATRequestCPIInstance_Data_Create (void)
 GATRequestCPIInstance_Data_Create.

void GATRequestCPIInstance_Data_Destroy (GATRequestCPIInstance_Data **)
 GATRequestCPIInstance_Data_Destroy.

GATResult GATRequestCPIInstance_Data_Clone (GATRequestCPIInstance_Data const *, GATRequestCPIInstance_Data **)
 GATRequestCPIInstance_Data_Clone.

GATResult GATRequestCPIInstance_Data_Equals (GATRequestCPIInstance_Data const *, GATRequestCPIInstance_Data const *, GATBool *)
 GATRequestCPIInstance_Data_Equals.


Detailed Description

Date:
Thu Apr 01 2004
Version:
Header:
/export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/adaptors/resourcebroker/GATRequestCPIInstanceData.c,v 1.2 2004/04/02 12:31:57 hartmutkaiser Exp

Copyright (C) Hartmut Kaiser This file is part of the GAT Engine. Contributed by Hartmut Kaiser <hartmutkaiser [at] t-online [dot] de>.

Use, modification and distribution is subject to the Gridlab Software License. (See accompanying file GLlicense.txt or copy at http://www.gridlab.org/GLlicense.txt)

Definition in file GATRequestCPIInstanceData.h.


Define Documentation

#define _GATREQUESTCPIINSTANCEDATA_H_
 

Definition at line 17 of file GATRequestCPIInstanceData.h.


Typedef Documentation

typedef struct GATRequestCPIInstance_Data GATRequestCPIInstance_Data
 


Function Documentation

GATRequestCPIInstance_Data* GATRequestCPIInstance_Data_Create void   
 

GATRequestCPIInstance_Data_Create.

The function GATRequestCPIInstance_Data_Create creates a new instance of the internal CPI instance data.

Returns:
The pointer to the newly created and initialised data structure.

Definition at line 31 of file GATRequestCPIInstanceData.c.

Referenced by resourcebroker_adaptor_GATSelfCPI_CreateRequestForListener().

void GATRequestCPIInstance_Data_Destroy GATRequestCPIInstance_Data **    instance_data
 

GATRequestCPIInstance_Data_Destroy.

The function GATRequestCPIInstance_Data_Destroy is called to free all the memory associated with the given instance data item.

Parameters:
instance_data  The pointer to a variable holding the old instance data item, this is set to zero on exit.

Definition at line 52 of file GATRequestCPIInstanceData.c.

Referenced by resourcebroker_adaptor_GATRequestCPI_DestroyInstance(), and resourcebroker_adaptor_GATSelfCPI_CreateRequestForListener().

GATResult GATRequestCPIInstance_Data_Clone GATRequestCPIInstance_Data const *    instance_data,
GATRequestCPIInstance_Data **    new_instance_data
 

GATRequestCPIInstance_Data_Clone.

The function GATRequestCPIInstance_Data_Clone is called to make a copy of the given instance data item.

Parameters:
instance_data  The instance data item to copy.
new_instance_Data  The pointer to a variable, which receives the newly created copy of the instance data item.
Returns:
An error code.

Definition at line 74 of file GATRequestCPIInstanceData.c.

References GAT_INVALID_PARAMETER, GAT_MEMORYFAILURE, GAT_SUCCESS, GATResult, and GATRequestCPIInstance_Data::start_time.

Referenced by resourcebroker_adaptor_GATRequestCPI_CloneInstance(), and resourcebroker_adaptor_GATRequestCPI_CreateInstance().

GATResult GATRequestCPIInstance_Data_Equals GATRequestCPIInstance_Data const *    lhs,
GATRequestCPIInstance_Data const *    rhs,
GATBool   isequal
 

GATRequestCPIInstance_Data_Equals.

The function GATRequestCPIInstance_Data_Equals is called, whenever the engine needs to compare for equality two different instance data items.

Parameters:
lhs  The first instance data item to compare.
rhs  The second instance data item to compare.
isequal  The pointer to a variable, which receives the result of the compare operation.
Returns:
An error code.

Definition at line 112 of file GATRequestCPIInstanceData.c.

References GAT_SUCCESS, GATBool, GATFalse, GATTrue, and GATRequestCPIInstance_Data::start_time.

Referenced by resourcebroker_adaptor_GATRequestCPI_EqualsInstance().