/[pdpsoft]/trunk/grid-mw-security/ees/plugin_examples/plugin_a/src/plugin_a.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/plugin_examples/plugin_a/src/plugin_a.c

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

revision 472 by aramv, Tue Jun 23 13:04:30 2009 UTC revision 473 by aramv, Wed Jun 24 14:25:36 2009 UTC
# Line 5  Line 5 
5    
6  int plugin_initialize(int argc, char* argv[]){  int plugin_initialize(int argc, char* argv[]){
7          ng_log(LOG_ERR, "Logging from Plugin a!\n");          ng_log(LOG_ERR, "Logging from Plugin a!\n");
8            /*ng_log(LOG_DEBUG, "My pemstring: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
9            printf("My pemstring: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));
10          return 0;          return 0;
11  }  }
12    
13  int plugin_run(){  int plugin_run(){
         AOS_set_string("Label1", "Value_String1");  
         printf("Getter says: %s\n", (char*) AOS_get_value_by_label("Label1"));  
14          return 0;          return 0;
15  }  }
16    

Legend:
Removed from v.472  
changed lines
  Added in v.473

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