/[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 473 - (show annotations) (download) (as text)
Wed Jun 24 14:25:36 2009 UTC (12 years, 6 months ago) by aramv
File MIME type: text/x-chdr
File size: 389 byte(s)
Added test code for l[4~oading a PEM file into the AOS.
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, "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;
11 }
12
13 int plugin_run(){
14 return 0;
15 }
16

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