/[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 437 by aramv, Wed Jun 17 08:16:35 2009 UTC revision 438 by aramv, Wed Jun 17 15:05:21 2009 UTC
# Line 1  Line 1 
1  #include <stdio.h>  #include <stdio.h>
2  #include "aos_api.h"  #include "aos_api.h"
3  #include "ng_log.h"  #include "ng_log.h"
4    #include "plugin_api.h"
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          return 0;          return 0;
9  }  }
10    
11  int run(){  int plugin_run(){
12          setter_wrapper_string("Label1", "Value_String1");          setter_wrapper_string("Label1", "Value_String1");
13          printf("Getter says: %s\n", (char*) getter_example("Label1"));          printf("Getter says: %s\n", (char*) getter_example("Label1"));
14          return 0;          return 0;

Legend:
Removed from v.437  
changed lines
  Added in v.438

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