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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1069 by aramv, Mon Nov 9 10:19:47 2009 UTC revision 1070 by aramv, Tue Nov 10 09:34:50 2009 UTC
# Line 1  Line 1 
1  #include "config.h"  #include "config.h"
 #if HAVE_UNISTD_H  
 #include <unistd.h>  
 #endif  
2  #include "eef.h"  #include "eef.h"
3  #include "aos.h"  #include "aos.h"
4    
# Line 11  int main (int argc, char* argv[]){ Line 8  int main (int argc, char* argv[]){
8          if(EEF_Init(config_file) == EES_FAILURE){          if(EEF_Init(config_file) == EES_FAILURE){
9      eef_log(LOG_ERR, "Failed to parse config file (%s), exiting...", config_file);      eef_log(LOG_ERR, "Failed to parse config file (%s), exiting...", config_file);
10    } else {    } else {
11      eef_log(LOG_INFO, "Modules dir: %s\n", get_modules_path());      /*eef_log(LOG_INFO, "Modules path: %s\n", get_modules_path());*/
12      setObligation("test", "foobar");      setObligation("test", "foobar");
13      if(EEF_Run() == EES_FAILURE){      if(EEF_Run() == EES_FAILURE){
14        eef_log(LOG_ERR, "Failed to load plugins from config file (%s), exiting...", config_file);        eef_log(LOG_ERR, "Failed to load plugins from config file (%s), exiting...", config_file);

Legend:
Removed from v.1069  
changed lines
  Added in v.1070

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