Functions | |
int | plugin_introspect (int *argc, lcmaps_argument_t **argv) |
Plugin asks for required arguments. | |
int | plugin_initialize (int argc, char **argv) |
initialize the plugin. | |
int | plugin_run (int argc, lcmaps_argument_t *argv) |
Gather credentials for user making use of the ordered arguments. | |
int | plugin_terminate () |
Whatever is needed to terminate the plugin module goes in here. |
|
initialize the plugin. Everything that is needed to initialize the plugin should be put inside this function. Arguments as read from the LCMAPS database (argc, argv) are passed to the plugin.
Definition at line 144 of file lcmaps_plugin_example.c. References lcmaps_log_debug(), LCMAPS_MOD_SUCCESS, and plugin_initialize(). Referenced by plugin_initialize(). |
|
Plugin asks for required arguments.
Definition at line 90 of file lcmaps_plugin_example.c. References lcmaps_argument_t, lcmaps_cntArgs(), lcmaps_log_debug(), LCMAPS_MOD_SUCCESS, and plugin_introspect(). Referenced by plugin_introspect(). |
|
Gather credentials for user making use of the ordered arguments. Ask for credentials by passing the arguments (like JDL, globus DN, VOMS roles etc.) that were ordered earlier by the plugin_introspect() function
Definition at line 187 of file lcmaps_plugin_example.c. References lcmaps_argument_t, lcmaps_getArgValue(), lcmaps_log_debug(), LCMAPS_MOD_FAIL, LCMAPS_MOD_SUCCESS, lcmaps_request_t, and plugin_run(). Referenced by plugin_run(). |
|
Whatever is needed to terminate the plugin module goes in here.
Definition at line 259 of file lcmaps_plugin_example.c. References lcmaps_log_debug(), and LCMAPS_MOD_SUCCESS. |