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

Contents of /trunk/grid-mw-security/ees/plugin_examples/lcmaps_dummy_good/src/lcmaps_dummy_good.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: 634 byte(s)
Implemented redesigned AOS API - Removed references to older version
1 #include <stdio.h>
2 #include "plugin.h"
3
4 EES_PL_RC plugin_initialize(int argc, char* argv[]){
5 eef_log(LOG_ERR, "Initializing plugin lcmaps_dummy_good!\n");
6 return 0;
7 }
8
9 EES_PL_RC plugin_run(){
10 /*eef_log(LOG_ERR, "Setting 'foo'\n");*/
11 /*AOS_set_string("foo", "bar");*/
12 eef_log(LOG_ERR, "Getting 'pemstring'\n");
13 /*eef_log(LOG_ERR, "my_pemstring: %s\n", getObligation("my_pemstring"));*/
14 eef_log(LOG_ERR, "Setting 'pemstring' leeg\n");
15 /*setObligation("my_pemstring", "Leeggehaald\n");*/
16 /*setObligation("foo", "barbaz");*/
17 /*destroyObligation("my_pemstring");*/
18 return 0;
19 }
20
21 EES_PL_RC plugin_terminate(){
22 return 0;
23 }

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