|
ocssw
V2022
|
#include <stdio.h>Go to the source code of this file.
Classes | |
| struct | EPR_SParamElem |
Functions | |
| EPR_SPtrArray * | epr_create_param_table (void) |
| EPR_SParamElem * | epr_create_param_elem (const char *param_name, int param_value) |
| int | epr_set_dyn_dddb_params (EPR_SProductId *product_id) |
| void | epr_free_param_table (EPR_SPtrArray *param_table) |
| void | epr_free_param_elem (EPR_SParamElem *param_elem) |
Function Documentation
◆ epr_create_param_elem()
| EPR_SParamElem* epr_create_param_elem | ( | const char * | param_name, |
| int | param_value | ||
| ) |
Creates a new element (pair 'name-value') for the parameter table.
- Parameters
-
param_name the name of the parameter, param_value the value of this parameter,
- Returns
- the pointer at this element or
NULLif an error occured.
Definition at line 46 of file epr_param.c.
◆ epr_create_param_table()
| EPR_SPtrArray* epr_create_param_table | ( | void | ) |
Definition at line 70 of file epr_param.c.
◆ epr_free_param_elem()
| void epr_free_param_elem | ( | EPR_SParamElem * | param_elem | ) |
Frees the memory allocated by the given param_elem.
After calling this function the give record_info pointer gets invalid and should not be used anymore.
- Parameters
-
param_table the table to be released, if NULLthe function immediately returns
Definition at line 112 of file epr_param.c.
◆ epr_free_param_table()
| void epr_free_param_table | ( | EPR_SPtrArray * | param_table | ) |
Frees the memory allocated by the given param_table.
After calling this function the give record_info pointer gets invalid and should not be used anymore.
- Parameters
-
param_table the table to be released, if NULLthe function immediately returns
Definition at line 86 of file epr_param.c.
◆ epr_set_dyn_dddb_params()
| int epr_set_dyn_dddb_params | ( | EPR_SProductId * | product_id | ) |
Definition at line 126 of file epr_param.c.


