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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1258 - (show annotations) (download) (as text)
Wed Dec 9 11:13:47 2009 UTC (12 years, 1 month ago) by aramv
File MIME type: text/x-csrc
File size: 1512 byte(s)
Parser now cleaned up properly
1 /*!
2
3 \file eef.h
4 \brief API of the Nextgen library
5 \author Aram Verstegen
6
7 This header contains the delcaration of the Nextgen library functions:
8 -# EEF_Init(): Starts the Nextgen library, which invokes the Evaluation Manager, which in turn invokes the PluginManager to load and init the required plugins.
9 -# EEF_Run(plugin_name): Runs the Nextgen library, which iterates through the list and invokes the PluginManager to run the selected plugins.
10 -# EEF_Term(): Terminates the Nextgen library, prompting a cleanup of the stored data in the AOS and plugin manager.
11
12 -# AOS_Init(): Initializes the AOS to store data.
13 -# AOS_TERM(): Terminates the AOS, clearing the allocated data.
14 -# eef_log(): Logging function for internal library use.
15
16 */
17 #ifndef EEF_H
18 #include "config.h"
19 #define EEF_H
20 #include "eef_polytypes.h"
21 #include "eef_log.h"
22 #include "eef_return_codes.h"
23
24 #define MAX_TIME_STRING_SIZE 256
25
26 /* lifecycle functions */
27
28 extern EES_RC /*@alt void@*/ EEF_Init(char *config_file, FILE* log_file, int number_of_policies, char* names_of_policies[]);
29 extern EES_RC /*@alt void@*/ EEF_Run(void);
30 extern EES_RC /*@alt void@*/ EEF_Term(void);
31
32 EES_RC /*@alt void@*/ AOS_Init (void);
33 EES_RC /*@alt void@*/ AOS_Term (void);
34
35 /* convenience methods */
36 const char* get_modules_path(void);
37 void set_modules_path(const char* path);
38 EES_RC start_log(FILE* log_file);
39 EES_RC stop_log(void);
40 #endif
41

Properties

Name Value
svn:mergeinfo

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