#include "lcmaps_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <dlfcn.h>
#include <gssapi.h>
#include "lcmaps_types.h"
#include "lcmaps_log.h"
#include "lcmaps_arguments.h"
#include "lcmaps_defines.h"
#include "_lcmaps_utils.h"
#include "_lcmaps_db_read.h"
#include "_lcmaps_runvars.h"
#include "_lcmaps_cred_data.h"
#include "../evaluationmanager/evaluationmanager.h"
Go to the source code of this file.
Data Structures | |
struct | lcmaps_plugindl_s |
the lcmaps plugin module structure. More... | |
Typedefs | |
typedef int(* | lcmaps_proc_t )() |
this type corresponds to the types of the plugin interface functions. | |
typedef lcmaps_plugindl_s | lcmaps_plugindl_t |
the type definition of the lcmaps plugin module structure. | |
Enumerations | |
enum | lcmaps_proctype_e { INITPROC, RUNPROC, TERMPROC, INTROPROC } |
This enumeration type gives the different plugin symbol/function types. More... | |
Functions | |
lcmaps_plugindl_t * | PluginInit (lcmaps_db_entry_t *, lcmaps_plugindl_t **) |
Initialize the plugin. More... | |
lcmaps_proc_t | get_procsymbol (void *, char *) |
get procedure symbol from dlopen-ed library. More... | |
int | print_lcmaps_plugin (int, lcmaps_plugindl_t *) |
print the lcmaps_plugindl_t structure. More... | |
int | parse_args_plugin (const char *, const char *, char **, int *) |
convert plugin argument string into xargc, xargv. More... | |
int | clean_plugin_list (lcmaps_plugindl_t **) |
clean (free) the list of plugins and call the plugin termination functions. More... |
Definition in file lcmaps_pluginmanager.c.
|
This enumeration type gives the different plugin symbol/function types.
Definition at line 77 of file lcmaps_pluginmanager.c. |
|
clean (free) the list of plugins and call the plugin termination functions.
Definition at line 781 of file lcmaps_pluginmanager.c. References lcmaps_plugindl_s::handle, lcmaps_plugindl_s::init_argc, lcmaps_plugindl_s::init_argv, lcmaps_plugindl_s::next, lcmaps_plugindl_s::pluginname, lcmaps_plugindl_s::procs, and TERMPROC. |
|
get procedure symbol from dlopen-ed library.
Definition at line 639 of file lcmaps_pluginmanager.c. References lcmaps_proc_t. Referenced by PluginInit. |
|
convert plugin argument string into xargc, xargv.
Parse the argument string of the plugin and create xargv and xargc
Definition at line 578 of file lcmaps_pluginmanager.c. Referenced by PluginInit. |
|
Initialize the plugin.
This function takes a plugin LCMAPS database entry and performs the following tasks:
Definition at line 354 of file lcmaps_pluginmanager.c. References get_procsymbol, lcmaps_plugindl_s::handle, lcmaps_plugindl_s::init_argc, lcmaps_plugindl_s::init_argv, INITPROC, INTROPROC, lcmaps_proc_t, lcmaps_plugindl_s::next, parse_args_plugin, lcmaps_plugindl_s::pluginargs, lcmaps_db_entry_s::pluginargs, lcmaps_plugindl_s::pluginname, lcmaps_db_entry_s::pluginname, lcmaps_plugindl_s::procs, lcmaps_plugindl_s::run_argc, lcmaps_plugindl_s::run_argv, RUNPROC, and TERMPROC. |
|
print the lcmaps_plugindl_t structure.
Definition at line 680 of file lcmaps_pluginmanager.c. References lcmaps_plugindl_s::handle, lcmaps_plugindl_s::init_argc, lcmaps_plugindl_s::init_argv, INITPROC, INTROPROC, lcmaps_plugindl_s::next, lcmaps_plugindl_s::pluginargs, lcmaps_plugindl_s::pluginname, lcmaps_plugindl_s::procs, lcmaps_plugindl_s::run_argc, lcmaps_plugindl_s::run_argv, RUNPROC, and TERMPROC. |