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

Public Member Functions

cvrf_branch_type_t cvrf_branch_get_branch_type (struct cvrf_branch *branch)
 Category of information given in the Name attribute of the Branch. More...
 
xmlNode * cvrf_branch_to_dom (struct cvrf_branch *branch)
 Parent: CVRF ProductTree element or another Branch element. More...
 
OSCAP_API struct cvrf_branchcvrf_branch_new (void)
 New CVRF branch of ProductTree or sub-branch. More...
 
OSCAP_API void cvrf_branch_free (struct cvrf_branch *branch)
 Deallocates memory for a Branch element. More...
 
OSCAP_API struct cvrf_branchcvrf_branch_clone (const struct cvrf_branch *branch)
 
OSCAP_API const char * cvrf_branch_get_branch_name (const struct cvrf_branch *branch)
 
OSCAP_API struct cvrf_product_namecvrf_branch_get_product_name (const struct cvrf_branch *branch)
 
OSCAP_API struct oscap_iteratorcvrf_branch_get_subbranches (struct cvrf_branch *branch)
 
OSCAP_API bool cvrf_branch_set_branch_name (struct cvrf_branch *branch, const char *branch_name)
 
OSCAP_API bool cvrf_branch_set_product_name (struct cvrf_branch *branch, struct cvrf_product_name *name)
 

Data Fields

cvrf_branch_type_t type
 
char * branch_name
 
struct cvrf_product_nameproduct_name
 
struct oscap_listsubbranches
 

Member Function Documentation

◆ cvrf_branch_get_branch_type()

cvrf_branch_type_t cvrf_branch_get_branch_type ( struct cvrf_branch branch)

Category of information given in the Name attribute of the Branch.

Parameters
branchCVRF Branch structure
Returns
Enum representing Type attribute of the Branch element

◆ cvrf_branch_to_dom()

xmlNode * cvrf_branch_to_dom ( struct cvrf_branch branch)

Parent: CVRF ProductTree element or another Branch element.

Parameters
branchCVRF Branch structure to be exported to XML
Returns
xmlNode representing Branch element

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