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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1345 - (hide annotations) (download) (as text)
Thu Jan 7 16:38:30 2010 UTC (12 years, 4 months ago) by aramv
File MIME type: text/x-chdr
File size: 695 byte(s)
Implemented redesigned AOS API - Removed references to older version
1 aramv 483 #include "plugin.h"
2     #include <stdio.h>
3    
4 aramv 781 EES_PL_RC plugin_initialize(int argc, char* argv[]){
5 aramv 828 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 aramv 781 return EES_PL_SUCCESS;
8 aramv 483 }
9    
10 aramv 781 EES_PL_RC plugin_run(){
11 aramv 828 /*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 aramv 1345 /*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 aramv 781 return EES_PL_SUCCESS;
17 aramv 483 }
18    
19 aramv 781 EES_PL_RC plugin_terminate(){
20     return EES_PL_SUCCESS;
21 aramv 502 }

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