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"

Include dependency graph for lcas.h:

Include dependency graph

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

int 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 905 of file lcas.c.

int 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 211 of file lcas.c.

int 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 1034 of file lcas.c.


Generated at Tue Sep 23 15:06:59 2003 for edg-lcas by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001