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"

Include dependency graph for _lcmaps_pluginmanager.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

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)
 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

int 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 957 of file lcmaps_pluginmanager.c.

Referenced by pdl_next_plugin().

int 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 989 of file lcmaps_pluginmanager.c.

int runPluginManager ( lcmaps_request_t request,
lcmaps_cred_id_t lcmaps_cred )
 

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
Return values:
0   user mapping succeeded
1   user mapping failed

Definition at line 849 of file lcmaps_pluginmanager.c.

int 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.

Referenced by lcmaps_init().

int 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 1045 of file lcmaps_pluginmanager.c.

Referenced by lcmaps_term().


Generated at Thu Mar 4 17:39:08 2004 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001