/[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 1754 - (show annotations) (download) (as text)
Thu Jun 10 16:35:55 2010 UTC (11 years, 7 months ago) by aramv
File MIME type: text/x-chdr
File size: 670 byte(s)
Fixed most memleaks in localaccount/localgroup plugin
1 #include <stdio.h>
2 #include "eef_plugin.h"
3
4 EES_PL_RC plugin_initialize(int argc, char* argv[]){
5 /*EEF_log(LOG_DEBUG, "Initializing plugin a!\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_DEBUG, "Getting 'pemstring'\n");*/
13 /*eef_log(LOG_ERR, "my_pemstring: %s\n", getObligation("my_pemstring"));*/
14 /*EEF_log(LOG_DEBUG, "Setting 'pemstring' leeg\n");*/
15 /*setObligation("my_pemstring", "Leeggehaald\n");*/
16 /*setObligation("foo", "barbaz");*/
17 /*destroyObligation("my_pemstring");*/
18 /*aos_dump_argslist();*/
19 return 0;
20 }
21
22 EES_PL_RC plugin_terminate(){
23 return 0;
24 }

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