/[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 1345 - (show annotations) (download) (as text)
Thu Jan 7 16:38:30 2010 UTC (12 years ago) by aramv
File MIME type: text/x-chdr
File size: 695 byte(s)
Implemented redesigned AOS API - Removed references to older version
1 #include "plugin.h"
2 #include <stdio.h>
3
4 EES_PL_RC plugin_initialize(int argc, char* argv[]){
5 eef_log(LOG_ERR, "Initializing plugin b!\n");
6 /*eef_log(LOG_DEBUG, "My pemstring: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
7 return EES_PL_SUCCESS;
8 }
9
10 EES_PL_RC plugin_run(){
11 /*eef_log(LOG_ERR, "My PEM string: %s\n", (char*) AOS_get_value_by_label("my_pemstring"));*/
12 eef_log(LOG_ERR, "Getting 'my_pemstring'\n");
13 /*eef_log(LOG_ERR, "my_pemstring: %s\n", (char*) getObligation("my_pemstring"));*/
14 /*eef_log(LOG_ERR, "foo: %s\n", (char*) getObligation("foo"));*/
15 /*destroyObligation("foo");*/
16 return EES_PL_SUCCESS;
17 }
18
19 EES_PL_RC plugin_terminate(){
20 return EES_PL_SUCCESS;
21 }

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