Main Page Alphabetical List Compound List File List Compound Members File Members
resourcebroker_adaptor.c File ReferenceSource file for the resourcebroker_adaptor class.
More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GATCPI.h>
#include "resourcebroker.h"
#include "reservation.h"
#include "resource.h"
#include "job.h"
#include "self.h"
#include "request.h"
Include dependency graph for resourcebroker_adaptor.c:
Go to the source code of this file.
Detailed Description
Source file for the resourcebroker_adaptor class.
- Date:
-
Thu Oct 23 2003
- Version:
-
- Header:
-
/export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/adaptors/resourcebroker/resourcebroker_adaptor.c,v 1.7 2004/04/26 12:29: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 resourcebroker_adaptor.c.
Function Documentation
|
|
resourcebroker_adaptor_register Registers all CPIs this adaptor provides.
This function is invoked by the loader in the GATEngine when an instance of this adaptor is loaded. Each instance has its own private configuration table. - Parameters:
-
| registry |
The registry the adaptor should register its CPIs with. |
| system_config |
The system configuration table. |
| instance_config |
The configuration table for this instance. |
| token |
An arbitrary token used by the loader to identify this adaptor instance |
- Returns:
-
An error code.
Definition at line 58 of file resourcebroker_adaptor.c.
References GAT_CREATE_STATUS, GAT_CURRENT_STATUS, GAT_RETURN_STATUS, GAT_SUCCEEDED, GAT_SUCCESS, GAT_UNKNOWN_VERSION, GAT_USES_STATUS, GATResult, GATTable_const, GATTable_Get_int(), GATVERSION_ISCOMPATIBLE, resourcebroker_adaptor_Register_GATJobCPI(), resourcebroker_adaptor_Register_GATRequestCPI(), resourcebroker_adaptor_Register_GATReservationCPI(), resourcebroker_adaptor_Register_GATResourceBrokerCPI(), resourcebroker_adaptor_Register_GATResourceCPI(), resourcebroker_adaptor_Register_GATSelfCPI(), and token. |
Variable Documentation
const char* rcsid = "$Header: /export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/adaptors/resourcebroker/resourcebroker_adaptor.c,v 1.7 2004/04/26 12:29:57 hartmutkaiser Exp $" [static]
|
|
|