/[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 485 by aramv, Thu Jun 25 22:42:04 2009 UTC revision 486 by aramv, Fri Jun 26 08:54:30 2009 UTC
# Line 41  int main (void){ Line 41  int main (void){
41    
42          close(_fd);          close(_fd);
43    
44          _string[_stat.st_size] = '\0';    /*_string[_stat.st_size] = '\0';*/
45    
46          NG_Init();          NG_Init();
47    
# Line 49  int main (void){ Line 49  int main (void){
49    
50          /*AOS_set_string("fooskldfjlskdjfkl;sjfl;sdjfl;dsjl;fjsdlfjsldfjsdkfj", "bar");*/          /*AOS_set_string("fooskldfjlskdjfkl;sjfl;sdjfl;dsjl;fjsdlfjsldfjsdkfj", "bar");*/
51    
52          AOS_set_string("my_pemstring", _string);          AOS_set_string("my_pemstring", "bladiebladiebla");
53    
54          NG_Run("plugin_a");          NG_Run("plugin_a");
55          NG_Run("plugin_b");          NG_Run("plugin_b");
56    
57          /*ng_log(LOG_ERR, "My PEM string: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/          /*ng_log(LOG_ERR, "My PEM string: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
58    
59          free(_string);    /*free(_string);*/
60    
61          NG_Term();          NG_Term();
62    

Legend:
Removed from v.485  
changed lines
  Added in v.486

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