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

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

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

revision 482 by aramv, Fri Jun 12 16:22:19 2009 UTC revision 483 by aramv, Thu Jun 25 15:27:35 2009 UTC
# Line 0  Line 1 
1    #include "plugin.h"
2    #include "aos.h"
3    #include "ng_log.h"
4    #include <stdio.h>
5    
6    int plugin_initialize(int argc, char* argv[]){
7            ng_log(LOG_ERR, "Initializing plugin b!\n");
8            /*ng_log(LOG_DEBUG, "My pemstring: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
9            return 0;
10    }
11    
12    int plugin_run(){
13            /*ng_log(LOG_ERR, "My PEM string: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
14            ng_log(LOG_ERR, "Getting 'foo'\n");
15            ng_log(LOG_ERR, "foo: %s\n", (char*) AOS_get_value_by_label("foo"));
16            return 0;
17    }
18    

Legend:
Removed from v.482  
changed lines
  Added in v.483

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