Open SCAP Library
Loading...
Searching...
No Matches
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)
 Indicates whether reference refers to the document itself or to an external source. More...
 
xmlNode * cvrf_reference_to_dom (struct cvrf_reference *ref)
 Parent: References or DocumentReferences container. More...
 
OSCAP_API struct cvrf_referencecvrf_reference_new (void)
 New CVRF Reference structure. More...
 
OSCAP_API void cvrf_reference_free (struct cvrf_reference *reference)
 Deallocates memory for a Reference element of the References container. More...
 
OSCAP_API struct cvrf_referencecvrf_reference_clone (const struct cvrf_reference *ref)
 
OSCAP_API const char * cvrf_reference_get_url (const struct cvrf_reference *reference)
 
OSCAP_API const char * cvrf_reference_get_description (const struct cvrf_reference *reference)
 
OSCAP_API bool cvrf_reference_set_url (struct cvrf_reference *reference, const char *url)
 
OSCAP_API 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_get_reference_type()

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

◆ cvrf_reference_to_dom()

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: