GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



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

endpoint_adaptor.c File Reference

Source file for the endpoint_adaptor class. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GATCPI.h>
#include "pipe.h"
#include "endpoint.h"

Include dependency graph for endpoint_adaptor.c:

Include dependency graph

Go to the source code of this file.

Functions

GATResult endpoint_adaptor_register (GATContext error_context, GATRegistry registry, GATTable_const system_config, GATTable_const instance_config, void *token)
 endpoint_adaptor_register Registers all CPIs this adaptor provides.


Variables

const char * rcsid = "$Header: /export/cvs-gridlab/GridLabWeb/WorkPackages/wp-1/Doc/C-Reference/endpoint__adaptor_8c.html,v 1.6 2004/05/13 09:52:23 merzky Exp $"


Detailed Description

Source file for the endpoint_adaptor class.

Date:
Date:
2004/04/28 10:53:34

Version:
Header:
/export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/adaptors/endpoint/endpoint_adaptor.c,v 1.5 2004/04/28 10:53:34 hartmutkaiser Exp

Copyright (C) Kelly Davis This file is part of the GAT Engine. Contributed by Kelly Davis <kdavis@aei.mpg.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 endpoint_adaptor.c.


Function Documentation

GATResult endpoint_adaptor_register GATContext    error_context,
GATRegistry    registry,
GATTable_const    system_config,
GATTable_const    instance_config,
void *    token
 

endpoint_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 54 of file endpoint_adaptor.c.

References endpoint_adaptor_register_endpoint(), GAT_CREATE_STATUS, GAT_FAILED, GAT_RETURN_STATUS, GAT_UNKNOWN_VERSION, GAT_USES_STATUS, GATResult, GATTable_const, GATTable_Get_int(), GATVERSION_ISCOMPATIBLE, pipe_adaptor_register_pipe(), and token.


Variable Documentation

const char* rcsid = "$Header: /export/cvs-gridlab/GridLabWeb/WorkPackages/wp-1/Doc/C-Reference/endpoint__adaptor_8c.html,v 1.6 2004/05/13 09:52:23 merzky Exp $" [static]
 

Definition at line 17 of file endpoint_adaptor.c.