Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

lcas.h File Reference

API of the LCAS library. More...

#include <gssapi.h>
#include "lcas_types.h"

Go to the source code of this file.

Functions

int lcas_init (FILE *fp)
 Initialize the LCAS module. More...

int lcas_term ()
 Terminate the LCAS module. More...

int lcas_get_fabric_authorization (gss_cred_id_t user_cred, lcas_request_t request)
 submit authorization request to the LCAS. More...


Detailed Description

API of the LCAS library.

Author:
Martijn Steenbakkers for the EU DataGrid.
This header contains the declarations of the LCAS library functions:
  1. lcas_init(): To initialize the LCAS module
  2. lcas_get_fabric_authorization(): to place an authorization request
  3. lcas_term(): To cleanly terminate the module

Definition in file lcas.h.


Function Documentation

lcas_get_fabric_authorization gss_cred_id_t    user_cred,
lcas_request_t    request
 

submit authorization request to the LCAS.

This function calls the plugins for authorization.

Parameters:
request  authorization request in RSL (later JDL)
user_cred  GLOBUS user credential
Return values:
0  initialization succeeded.
1  initialization failed.

Definition at line 941 of file lcas.c.

lcas_init FILE *    fp
 

Initialize the LCAS module.

The function does the following:

  • initialize LCAS module.
  • setup logging, error handling (not yet).
  • read from LCAS database the plugins to be loaded.
  • initialize the plugins
Parameters:
fp  file handle for logging (from gatekeeper)
Return values:
0  initialization succeeded.
1  initialization failed.

Definition at line 429 of file lcas.c.

lcas_term  
 

Terminate the LCAS module.

The function does the following:

  • terminate the LCAS module
  • terminate the plugins
Return values:
0  initialization succeeded.
1  initialization failed.

Definition at line 1070 of file lcas.c.


Generated on Mon Sep 20 15:14:15 2004 for edg-lcas by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002