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

_lcmaps_pluginmanager.h

Go to the documentation of this file.
00001 /*                                                                                                            
00002  * Copyright (c) 2001 EU DataGrid.                                                                             
00003  * For license conditions see http://www.eu-datagrid.org/license.html                                          
00004  *
00005  * Copyright (c) 2001, 2002 by 
00006  *     Martijn Steenbakkers <martijn@nikhef.nl>,
00007  *     David Groep <davidg@nikhef.nl>,
00008  *     NIKHEF Amsterdam, the Netherlands
00009  */
00010 
00023 #ifndef _LCMAPS_PLUGINMANAGER_H
00024 #define _LCMAPS_PLUGINMANAGER_H
00025 
00026 /******************************************************************************
00027                              Include header files
00028 ******************************************************************************/
00029 #include <gssapi.h>
00030 #include "lcmaps_types.h"
00031 
00032 /******************************************************************************
00033  *                 Module definition
00034  *****************************************************************************/
00035 
00036 /******************************************************************************
00037 Function:   startPluginManager
00038 Description:
00039     Initialize PluginManager module: 
00040     read from LCMAPS config file, the plugins to be loaded
00041     Initialize evaluation manager (get policy)
00042 
00043 Parameters:
00044 Returns:
00045     0: succes
00046     1: failure
00047 ******************************************************************************/
00048 extern int startPluginManager(
00049 );
00050 
00051 /******************************************************************************
00052 Function:   stopPluginManager
00053 Description:
00054     Terminate PluginManager module.
00055 
00056 Parameters:
00057 Returns:
00058     0: termination succeeded
00059     1: termination failed
00060 ******************************************************************************/
00061 extern int stopPluginManager();
00062 
00063 /******************************************************************************
00064 Function:   runPluginManager
00065 Description:
00066     Run PluginManager:
00067     Contact Evaluation Manager --> runs plugins
00068 
00069 Parameters:
00070     request:   RSL request
00071     lcmaps_cred: user credential
00072 Returns:
00073     0: user mapping succeeded
00074     1: user mapping failed
00075 ******************************************************************************/
00076 extern int runPluginManager(
00077         lcmaps_request_t request,
00078         lcmaps_cred_id_t lcmaps_cred
00079 );
00080 
00081 /******************************************************************************
00082 Function:   runPlugin
00083 Description:
00084     Run a plugin for the Evaluation Manager
00085     the result (succes or not will be passed to the Evaluation Manager)
00086 
00087 Parameters:
00088     pluginname: the name of the plugin module
00089 Returns:
00090     0: plugin run succeeded
00091     1: plugin run failed
00092 ******************************************************************************/
00093 extern int runPlugin(
00094         const char * pluginname
00095 );
00096 
00097 #endif /* _LCMAPS_PLUGINMANAGER_H */
00098 
00099 /******************************************************************************
00100 CVS Information:
00101     $Source: /cvs/fabric_mgt/gridification/lcmaps/src/pluginmanager/_lcmaps_pluginmanager.h,v $
00102     $Date: 2003/07/02 14:49:47 $
00103     $Revision: 1.4 $
00104     $Author: martijn $
00105 ******************************************************************************/

Generated at Tue Sep 23 15:48:08 2003 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001