/[pdpsoft]/trunk/grid-mw-security/ees/include/common/plugin_manager.h
ViewVC logotype

Contents of /trunk/grid-mw-security/ees/include/common/plugin_manager.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1235 - (show annotations) (download) (as text)
Fri Dec 4 11:35:24 2009 UTC (12 years, 10 months ago) by aramv
File MIME type: text/x-csrc
File size: 1376 byte(s)
Moved around control logic of the parser to stop and report errors if they are encountered
1 /*!
2
3 \file plugin_manager.h
4 \brief API of the PluginManager
5 \author Aram Verstegen
6
7 This header contains the declarations of the NextGen Library functions:
8 -# startPluginManager(): start the PluginManager --> load plugins as dictated by the EvaluationManager
9 -# stopPluginManager(): stop the PluginManager
10 -# runPlugin(plugin_name): find plugin with name plugin_name in list, and call its run function.
11 -# termPlugin(plugin_name): find plugin with name plugin_name in list, and call its term function.
12
13 -# get_running_plugin(): returns a pointer to the node containing the running plugin's DL handle.
14 -# set_running_plugin(plugin_handle): set a pointer to the node containing the running plugin's DL handle.
15
16 */
17 #ifndef PLUGIN_MANAGER_H
18 #define PLUGIN_MANAGER_H
19
20 #include "eef.h"
21 #include "pdl.h"
22
23 extern EES_RC start_plugin_manager(void);
24 extern EES_RC stop_plugin_manager(void);
25 extern EES_RC add_plugin_struct(int argc, char* argv[]);
26
27 extern EES_RC initialize_plugins(void);
28 extern EES_RC run_plugins(policy_t* policies);
29 extern EES_RC term_plugins(void);
30
31 extern eef_plugindl_t * get_plugin(char*);
32 extern eef_plugindl_t * get_running_plugin(void);
33 extern void set_running_plugin(eef_plugindl_t * plugin);
34
35 #endif

Properties

Name Value
svn:mergeinfo

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28