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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 483 - (show annotations) (download) (as text)
Thu Jun 25 15:27:35 2009 UTC (13 years ago) by aramv
File MIME type: text/x-chdr
File size: 284 byte(s)
Added some testing code for plugin-AOS communication
1 #include <stdio.h>
2 #include "aos.h"
3 #include "plugin.h"
4 #include "ng_log.h"
5
6 int plugin_initialize(int argc, char* argv[]){
7 ng_log(LOG_ERR, "Initializing plugin b!\n");
8 return 0;
9 }
10
11 int plugin_run(){
12 ng_log(LOG_ERR, "Setting 'foo'\n");
13 AOS_set_string("foo", "bar");
14 return 0;
15 }
16

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