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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 486 - (show annotations) (download) (as text)
Fri Jun 26 08:54:30 2009 UTC (12 years, 11 months ago) by aramv
File MIME type: text/x-chdr
File size: 500 byte(s)
Added check to prevent overwriting of data
1 #include "plugin.h"
2 #include <stdio.h>
3
4 int plugin_initialize(int argc, char* argv[]){
5 ng_log(LOG_ERR, "Initializing plugin b!\n");
6 /*ng_log(LOG_DEBUG, "My pemstring: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
7 return 0;
8 }
9
10 int plugin_run(){
11 /*ng_log(LOG_ERR, "My PEM string: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
12 ng_log(LOG_ERR, "Getting 'my_pemstring'\n");
13 ng_log(LOG_ERR, "my_pemstring: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));
14 return 0;
15 }
16

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