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

_lcmaps_pluginmanager.h File Reference

API of the PluginManager. More...

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

Go to the source code of this file.

Functions

int startPluginManager ()
 start the PluginManager. More...

int stopPluginManager ()
 Terminate the PluginManager module. More...

int runPluginManager (lcmaps_request_t request, lcmaps_cred_id_t lcmaps_cred, int npols, char **policynames)
 Run the PluginManager. More...

int runPlugin (const char *pluginname)
 Run a plugin. More...

int resetCredentialData ()
 Reset the Credential data. More...


Detailed Description

API of the PluginManager.

Author:
Martijn Steenbakkers for the EU DataGrid.
This header contains the declarations of the LCMAPS library functions:
  1. startPluginManager(): start the PluginManager --> load plugins, start evaluation manager
  2. runPluginManager(): run the PluginManager --> run evaluation manager --> run plugins
  3. stopPluginManager(): stop the PluginManager
  4. runPlugin(): run the specified plugin. (used by Evaluation Manager)
  5. resetCredentialData(): reset the Credential Data. (used by Evaluation Manager)

Definition in file _lcmaps_pluginmanager.h.


Function Documentation

resetCredentialData  
 

Reset the Credential data.

Wrapper around cleanCredentialData() to be used by the Evaluation Manager, before a new policy is evaluated

Returns:
the return value of cleanCredentialData()

Definition at line 976 of file lcmaps_pluginmanager.c.

Referenced by pdl_next_plugin.

runPlugin const char *    pluginname
 

Run a plugin.

Run a plugin for the Evaluation Manager the result (succes or not will be passed to the Evaluation Manager)

Parameters:
pluginname  the name of the plugin module
Return values:
0  plugin run succeeded
1  plugin run failed

Definition at line 1008 of file lcmaps_pluginmanager.c.

runPluginManager lcmaps_request_t    request,
lcmaps_cred_id_t    lcmaps_cred,
int    npols,
char **    policynames
 

Run the PluginManager.

This function runs the PluginManager for user mapping. Contact Evaluation Manager --> runs plugins

Parameters:
request  RSL request (job request)
lcmaps_cred  user credential
npols  number of policies to be considered for evaluation
policynames  the names of the policies to be considered for evaluation
Return values:
0  user mapping succeeded
1  user mapping failed

Definition at line 856 of file lcmaps_pluginmanager.c.

startPluginManager  
 

start the PluginManager.

start the PluginManager --> load plugins, start evaluation manager

Return values:
0  succes
1  failure

Definition at line 155 of file lcmaps_pluginmanager.c.

stopPluginManager  
 

Terminate the PluginManager module.

stop the PluginManager --> terminate plugins, clean plugin list, (stop evaluation manager)

Return values:
0  succes
1  failure

Definition at line 1064 of file lcmaps_pluginmanager.c.


Generated on Sat Oct 2 02:18:27 2004 for edg-lcmaps by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002