Open SCAP Library
Public Member Functions | Data Fields

cvrf_reference Struct Reference

Public Member Functions

cvrf_reference_type_t cvrf_reference_get_reference_type (struct cvrf_reference *reference)
xmlNode * cvrf_reference_to_dom (struct cvrf_reference *ref)
 Parent: References or DocumentReferences container.
struct cvrf_reference * cvrf_reference_new (void)
 New CVRF Reference structure.
void cvrf_reference_free (struct cvrf_reference *reference)
 Deallocates memory for a Reference element of the References container.
struct cvrf_reference * cvrf_reference_clone (const struct cvrf_reference *ref)
const char * cvrf_reference_get_url (const struct cvrf_reference *reference)
const char * cvrf_reference_get_description (const struct cvrf_reference *reference)
bool cvrf_reference_set_url (struct cvrf_reference *reference, const char *url)
bool cvrf_reference_set_description (struct cvrf_reference *reference, const char *description)

Data Fields

cvrf_reference_type_t type
char * url
char * description

Member Function Documentation

cvrf_reference_type_t cvrf_reference_get_reference_type ( struct cvrf_reference *  reference)

Indicates whether reference refers to the document itself or to an external source

Parameters:
referenceCVRF Reference structure
Returns:
Enum representing Type attribute of the Reference element
xmlNode * cvrf_reference_to_dom ( struct cvrf_reference *  ref)

Parent: References or DocumentReferences container.

Parameters:
refCVRF Reference structure to be exported to XML
Returns:
xmlNode representing Reference element

The documentation for this struct was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines