/[pdpsoft]/trunk/grid-mw-security/ees/src/app/main.c
ViewVC logotype

Contents of /trunk/grid-mw-security/ees/src/app/main.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1070 - (show annotations) (download) (as text)
Tue Nov 10 09:34:50 2009 UTC (12 years, 2 months ago) by aramv
File MIME type: text/x-chdr
File size: 616 byte(s)
Added logic to clean up old versions of flex, added some comments to the evaluation manager callbacks
1 #include "config.h"
2 #include "eef.h"
3 #include "aos.h"
4
5 int main (int argc, char* argv[]){
6 char *config_file = "examples/example_1.pdl";
7
8 if(EEF_Init(config_file) == EES_FAILURE){
9 eef_log(LOG_ERR, "Failed to parse config file (%s), exiting...", config_file);
10 } else {
11 /*eef_log(LOG_INFO, "Modules path: %s\n", get_modules_path());*/
12 setObligation("test", "foobar");
13 if(EEF_Run() == EES_FAILURE){
14 eef_log(LOG_ERR, "Failed to load plugins from config file (%s), exiting...", config_file);
15 } else {
16 eef_log(LOG_INFO, "Finished run, exiting...");
17 }
18 }
19 EEF_Term();
20 return 0;
21 }

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