ESO Recipe Execution Tool
3.13
|
Functions | |
cpl_msg_severity | message_severity (cpl_parameterlist *param_list, int flag) |
Sets the message severity level for the terminal. More... | |
cpl_frameset * | er_frameset_load (const char *name, cpl_frameset *set, int flag_check_sof_exist) |
Create a new frame set from a set of frames file. More... | |
int | plugin_process_plugin (cpl_parameterlist *caller_parameters, char *plugin_name, er_stringarray_t *sof_filename_list, int argc, char *argv[]) |
Process the Plugin. More... | |
void | er_enlarge (const char *fn, char **pptr, int msize) |
Enlarge memory buffer. More... | |
EsoRex Plugin Processing Functions
void er_enlarge | ( | const char * | fn, |
char ** | pptr, | ||
int | msize | ||
) |
Enlarge memory buffer.
fn | name of caller |
pptr | addr. of pointer to allocated memory buffer |
msize | new (increased) size for memory buffer |
This function frees the currently allocated space and uses the pointer 'mem_pntr' to point to newly allocated memory
cpl_frameset* er_frameset_load | ( | const char * | name, |
cpl_frameset * | set, | ||
int | flag_check_sof_exist | ||
) |
Create a new frame set from a set of frames file.
name | Input file path. |
set | Frame set to be updated with the contents of name. |
flag_check_sof_exist | Boolean indicating if an error will be produced if the the Set-of-Frames is missing. |
NULL
, or the updated set set. In case an error occurred the return value is NULL
.The function reads the given input file filename and either, if NULL
is passed for set, creates a new frame set from its contents, or updates set, if set points to an already existing frame set.
cpl_msg_severity message_severity | ( | cpl_parameterlist * | param_list, |
int | flag | ||
) |
Sets the message severity level for the terminal.
param_list | A list of the command line parameters |
flag | = 1, get level for logging = 2, get level for terminal messages |
This function takes the list of all the command line parameters, and checks for the existence of one to set the terminal message reporting level. If it exists, the log-level is set to the requested value.
int plugin_process_plugin | ( | cpl_parameterlist * | caller_parameters, |
char * | plugin_name, | ||
er_stringarray_t * | sof_filename_list, | ||
int | argc, | ||
char * | argv[] | ||
) |
Process the Plugin.
caller_parameters | Caller parameters |
plugin_name | Name of Plugin to process |
sof_filename_list | List of strings with SOF filenames |
argc | Count of remaining arguments from cmdl |
argv | Handle to remaining arguments from cmdl |
Processes a Plugin. Write more here...