Service
[OVAL Definitions interface]

OVAL Definitions interface import/export methods. More...

Functions

int oval_definition_model_import (struct oval_definition_model *model, struct oscap_import_source *source, void *client)
 Import the content from a specified XML stream into a OVAL Definitions interface.
int oval_definition_model_export (struct oval_definition_model *, struct oscap_export_target *)

Detailed Description

OVAL Definitions interface import/export methods.


Function Documentation

int oval_definition_model_import ( struct oval_definition_model model,
struct oscap_import_source source,
void *  client 
)

Import the content from a specified XML stream into a OVAL Definitions interface.

The imported XML stream must be If the input_source specifies a model entity (id=A, version=V) and the model specifies no entity (id=A, ...) then (id=A, version=V) is merged into the model. If the input_source specifies a model entity (id=A, version=V) and the model specifies an entity (id=A, ...) then (id=A, version=V) then the source specification is skipped.

Parameters:
model the merge target model.
source an <oval_def:oval_definitions> XML stream
error_handler callback for detected error conditions (may be NULL)
client pointer to client data (may be NULL)

Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1