OVAL External Variable Binding API import/export methods. More...
Functions | |
int | oval_variable_model_import (struct oval_variable_model *, struct oscap_import_source *, void *) |
Load the specified oval_variable_model from an XML stream. | |
int | oval_variable_model_export (struct oval_variable_model *, struct oscap_export_target *) |
Export the specified oval_variable_model to an XML stream. |
OVAL External Variable Binding API import/export methods.
int oval_variable_model_export | ( | struct oval_variable_model * | , | |
struct oscap_export_target * | ||||
) |
Export the specified oval_variable_model to an XML stream.
The exported document element is a valid instance of <http://oval.mitre.org/XMLSchema/oval-variables-5:oval_variables>.
variable_model | the specified oval_variable_model. | |
export_target | the oscap_export_target that resolves the output XML stream. |
int oval_variable_model_import | ( | struct oval_variable_model * | , | |
struct oscap_import_source * | , | |||
void * | ||||
) |
Load the specified oval_variable_model from an XML stream.
The stream document element must be a valid instance of <http://oval.mitre.org/XMLSchema/oval-variables-5:oval_variables>. If the oval_variable model is not empty, the loaded content will be appended to the existing content.
variable_model | the specified oval_variable_model. | |
import_source | the oscap_import_source that resolves the XML stream. | |
user_param | a user parameter that is passed the the error handler implementation. |