#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lcmaps_arguments.h"
Go to the source code of this file.
Functions | |
int | lcmaps_setArgValue (char *argName, char *argType, void *value, int argcx, lcmaps_argument_t **argvx) |
Set the value of argument with name argName of argType to value. | |
void * | lcmaps_getArgValue (char *argName, char *argType, int argcx, lcmaps_argument_t *argvx) |
Get the value of argument with name argName of argType. | |
int | lcmaps_findArgName (char *argName, int argcx, lcmaps_argument_t *argvx) |
Get index of argument with name argName. | |
int | lcmaps_findArgNameAndType (char *argName, char *argType, int argcx, lcmaps_argument_t *argvx) |
Get index of argument with name argName. | |
int | lcmaps_cntArgs (lcmaps_argument_t *argvx) |
Count the number of arguments. |
Definition in file lcmaps_arguments.c.
|
Count the number of arguments. Count the number of arguments that are defined in a plug-in Returns this number.
Definition at line 280 of file lcmaps_arguments.c. References lcmaps_argument_s::argName, and lcmaps_argument_t. Referenced by lcmaps_extractRunVars(), and plugin_introspect(). |
|
Get index of argument with name argName. Search for argName in the arguments list. Returns the index to lcmaps_argument_t element.
Definition at line 186 of file lcmaps_arguments.c. References lcmaps_argument_t. |
|
Get index of argument with name argName. Search for argName in the arguments list. Returns the index to lcmaps_argument_t element.
Definition at line 237 of file lcmaps_arguments.c. References lcmaps_argument_t. Referenced by lcmaps_getArgValue(), and lcmaps_setArgValue(). |
|
Get the value of argument with name argName of argType. Set the value of argType on the reserved place in values. The place within values is determined by the place where argName is found in the arguments list Returns a void pointer to the value.
Definition at line 138 of file lcmaps_arguments.c. References lcmaps_argument_t, lcmaps_findArgNameAndType(), and lcmaps_argument_s::value. Referenced by lcmaps_getRunVars(), plugin_run(), and print_lcmaps_plugin(). |
|
Set the value of argument with name argName of argType to value. Fill the "value" field of the argument with name "argName" and type "argType" with value. The argument list is searched for the combination (argName,argType).
Definition at line 80 of file lcmaps_arguments.c. References lcmaps_argument_t, and lcmaps_findArgNameAndType(). Referenced by lcmaps_setRunVars(), and runPluginManager(). |