GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



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

resource.h

Go to the documentation of this file.
00001 /** @file resource.h
00002  *  Header file for the sample Resource CPI provider.
00003  *
00004  *  @date Thu Oct 23 2003
00005  *
00006  *  @version $Header: /export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/adaptors/resourcebroker/resource.h,v 1.3 2004/04/26 12:29:57 hartmutkaiser Exp $
00007  *
00008  *  Copyright (C) Hartmut Kaiser
00009  *  This file is part of the GAT Engine.
00010  *  Contributed by Hartmut Kaiser <hartmutkaiser [at] t-online [dot] de>.
00011  *
00012  *  Use, modification and distribution is subject to the Gridlab Software
00013  *  License. (See accompanying file GLlicense.txt or copy at
00014  *  http://www.gridlab.org/GLlicense.txt)
00015  */
00016  
00017 #if !defined(_RESOURCE_H_)
00018 #define _RESOURCE_H_
00019 
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023 
00024 /* Register the Reservation CPI */
00025 GATResult resourcebroker_adaptor_Register_GATResourceCPI(
00026   GATContext error_context, GATRegistry registry, 
00027   GATTable_const system_config, GATTable_const instance_config, void *token);
00028 
00029 #ifdef __cplusplus
00030 } /* extern "C" */
00031 #endif
00032 
00033 #endif /* !defined(_RESOURCE_H_) */
00034