/[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 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: 1563 byte(s)
Moved around control logic of the parser to stop and report errors if they are encountered
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 static policy_t* parsed_policy_list;
27
28 /* lifecycle functions */
29
30 extern EES_RC /*@alt void@*/ EEF_Init(char *config_file, FILE* log_file, int number_of_policies, char* names_of_policies[]);
31 extern EES_RC /*@alt void@*/ EEF_Run(void);
32 extern EES_RC /*@alt void@*/ EEF_Term(void);
33
34 EES_RC /*@alt void@*/ AOS_Init (void);
35 EES_RC /*@alt void@*/ AOS_Term (void);
36
37 /* convenience methods */
38 const char* get_modules_path(void);
39 void set_modules_path(const char* path);
40 EES_RC start_log(FILE* log_file);
41 EES_RC stop_log(void);
42 #endif
43

Properties

Name Value
svn:mergeinfo

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