Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
cvrf_document Struct Reference
Collaboration diagram for cvrf_document:
[legend]

Public Member Functions

xmlNode * cvrf_document_to_dom (struct cvrf_document *document)
 Creates a list of xmlNode siblings of all document elements, all of which will be added as a child list to the root node. More...
 
OSCAP_API struct cvrf_documentcvrf_document_new (void)
 New CVRF Document structure. More...
 
OSCAP_API void cvrf_document_free (struct cvrf_document *doc)
 Deallocates memory for the CVRF Document structure and all its child DocumentTracking, DocumentPublisher, DocumentReferences structures. More...
 
OSCAP_API struct cvrf_documentcvrf_document_clone (const struct cvrf_document *doc)
 
OSCAP_API const char * cvrf_document_get_doc_distribution (const struct cvrf_document *doc)
 
OSCAP_API const char * cvrf_document_get_aggregate_severity (const struct cvrf_document *doc)
 
OSCAP_API const char * cvrf_document_get_namespace (const struct cvrf_document *doc)
 
OSCAP_API struct cvrf_doc_trackingcvrf_document_get_tracking (const struct cvrf_document *doc)
 
OSCAP_API struct cvrf_doc_publishercvrf_document_get_publisher (const struct cvrf_document *doc)
 
OSCAP_API struct oscap_iteratorcvrf_document_get_notes (struct cvrf_document *doc)
 
OSCAP_API struct oscap_iteratorcvrf_document_get_references (struct cvrf_document *doc)
 
OSCAP_API struct oscap_iteratorcvrf_document_get_acknowledgments (struct cvrf_document *doc)
 
OSCAP_API bool cvrf_document_set_doc_distribution (struct cvrf_document *doc, const char *distribution)
 
OSCAP_API bool cvrf_document_set_aggregate_severity (struct cvrf_document *doc, const char *severity)
 
OSCAP_API bool cvrf_document_set_namespace (struct cvrf_document *doc, const char *ns)
 
OSCAP_API bool cvrf_document_set_publisher (struct cvrf_document *doc, struct cvrf_doc_publisher *publisher)
 
OSCAP_API bool cvrf_document_set_tracking (struct cvrf_document *doc, struct cvrf_doc_tracking *track)
 

Data Fields

char * doc_distribution
 
char * aggregate_severity
 
struct cvrf_doc_trackingtracking
 
struct cvrf_doc_publisherpublisher
 
struct oscap_listdoc_notes
 
struct oscap_listdoc_references
 
struct oscap_listacknowledgments
 

Member Function Documentation

◆ cvrf_document_to_dom()

xmlNode * cvrf_document_to_dom ( struct cvrf_document document)

Creates a list of xmlNode siblings of all document elements, all of which will be added as a child list to the root node.

Parameters
documentCVRF Document structure
Returns
xmlNode with list of siblings to be added to root node

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