#include "lcmaps_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gssapi.h>
#include "lcmaps_log.h"
#include "lcmaps_types.h"
#include "lcmaps_utils.h"
#include "lcmaps_arguments.h"
#include "_lcmaps_runvars.h"
#include "_lcmaps_credential.h"
Go to the source code of this file.
Functions | |
int | lcmaps_extractRunVars (lcmaps_request_t request, lcmaps_cred_id_t lcmaps_cred) |
extract the variables from user credential that can be used by the plugins | |
void * | lcmaps_getRunVars (char *argName, char *argType) |
returns a void pointer to the requested value | |
int | lcmaps_setRunVars (char *argName, char *argType, void *value) |
fill the runvars_list with a value for argName and argType |
Definition in file lcmaps_runvars.c.
|
extract the variables from user credential that can be used by the plugins This function takes the user credential and job request (in RSL) and extracts the information which is published in the runvars_list. These variables can be accessed by the plugins.
Definition at line 119 of file lcmaps_runvars.c. References lcmaps_cred_id_s::context, lcmaps_cred_id_s::cred, lcmaps_cred_id_s::dn, lcmaps_cred_id_s::fqan, lcmaps_cntArgs(), lcmaps_cred_id_t, lcmaps_log(), lcmaps_log_debug(), lcmaps_request_t, lcmaps_setRunVars(), and lcmaps_cred_id_s::nfqan. Referenced by runPluginManager(). |
|
returns a void pointer to the requested value This function returns a void pointer to the requested variable with name argName and type argType in the runvars_list. Internally it uses lcmaps_getArgValue().
Definition at line 241 of file lcmaps_runvars.c. References lcmaps_getArgValue(). Referenced by runPluginManager(). |
|
fill the runvars_list with a value for argName and argType This function fills the (internal) runvars_list with the value for the variable with name argName and type argType. Internally lcmaps_setArgValue() is used.
Definition at line 282 of file lcmaps_runvars.c. References lcmaps_argument_t, lcmaps_log_debug(), and lcmaps_setArgValue(). Referenced by lcmaps_extractRunVars(). |