Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
cvrf_note Struct Reference

Public Member Functions

cvrf_note_type_t cvrf_note_get_note_type (const struct cvrf_note *note)
 Category of information provided by a Note element. More...
 
xmlNode * cvrf_note_to_dom (struct cvrf_note *note)
 Parent: Notes or DocumentNotes container (of root node or Vulnerability node, respectively) More...
 
OSCAP_API struct cvrf_notecvrf_note_new (void)
 New CVRF Note element within Notes or DocumentNotes container. More...
 
OSCAP_API void cvrf_note_free (struct cvrf_note *note)
 Deallocates memory for a Note element of the Notes container. More...
 
OSCAP_API struct cvrf_notecvrf_note_clone (const struct cvrf_note *note)
 
OSCAP_API int cvrf_note_get_ordinal (const struct cvrf_note *note)
 
OSCAP_API const char * cvrf_note_get_audience (const struct cvrf_note *note)
 
OSCAP_API const char * cvrf_note_get_title (const struct cvrf_note *note)
 
OSCAP_API const char * cvrf_note_get_contents (const struct cvrf_note *note)
 
OSCAP_API bool cvrf_note_set_ordinal (struct cvrf_note *note, int ordinal)
 
OSCAP_API bool cvrf_note_set_audience (struct cvrf_note *note, const char *audience)
 
OSCAP_API bool cvrf_note_set_title (struct cvrf_note *note, const char *title)
 
OSCAP_API bool cvrf_note_set_contents (struct cvrf_note *note, const char *contents)
 

Data Fields

cvrf_note_type_t type
 
int ordinal
 
char * audience
 
char * title
 
char * contents
 

Member Function Documentation

◆ cvrf_note_get_note_type()

cvrf_note_type_t cvrf_note_get_note_type ( const struct cvrf_note note)

Category of information provided by a Note element.

Parameters
noteCVRF Note structure
Returns
Enum representing Type attribute of the Note element

◆ cvrf_note_to_dom()

xmlNode * cvrf_note_to_dom ( struct cvrf_note note)

Parent: Notes or DocumentNotes container (of root node or Vulnerability node, respectively)

Parameters
noteCVRF Note structure to be exported to XML
Returns
xmlNode representing Note element

The documentation for this struct was generated from the following files: