Open SCAP Library
|
An Oval_reference links an Oval_definition to a definitive external reference. More...
#include <oval_definitions.h>
Public Member Functions | |
OSCAP_API struct oval_reference * | oval_reference_new (struct oval_definition_model *) |
OSCAP_API struct oval_reference * | oval_reference_clone (struct oval_definition_model *new_model, struct oval_reference *old_reference) |
OSCAP_API void | oval_reference_free (struct oval_reference *) |
Setters | |
OSCAP_API void | oval_reference_set_source (struct oval_reference *, char *) |
Set OVAL reference source. | |
OSCAP_API void | oval_reference_set_id (struct oval_reference *, char *) |
OSCAP_API void | oval_reference_set_url (struct oval_reference *, char *) |
Getters | |
OSCAP_API char * | oval_reference_get_source (struct oval_reference *) |
Get OVAL reference source. | |
OSCAP_API char * | oval_reference_get_id (struct oval_reference *) |
Get OVAL reference ID. | |
OSCAP_API char * | oval_reference_get_url (struct oval_reference *) |
Get OVAL reference URL. | |
Data Fields | |
struct oval_definition_model * | model |
char * | source |
char * | id |
char * | url |
An Oval_reference links an Oval_definition to a definitive external reference.
For example, CVE Identifiers for vulnerabilities. The intended purpose for this reference is to link the definition to a variety of other sources that address the same issue being specified by the Oval_definition.