Open SCAP Library
|
Public Member Functions | |
cvrf_relationship_type_t | cvrf_relationship_get_relation_type (struct cvrf_relationship *relation) |
Defines how items in ProductReference and RelatesToProductReference are related. More... | |
xmlNode * | cvrf_relationship_to_dom (const struct cvrf_relationship *relation) |
Parent: CVRF ProductTree element. More... | |
OSCAP_API struct cvrf_relationship * | cvrf_relationship_new (void) |
New CVRF Relationship element within ProductTree. More... | |
OSCAP_API void | cvrf_relationship_free (struct cvrf_relationship *relationship) |
Deallocates memory for a Relationship element. More... | |
OSCAP_API struct cvrf_relationship * | cvrf_relationship_clone (const struct cvrf_relationship *relation) |
OSCAP_API const char * | cvrf_relationship_get_product_reference (const struct cvrf_relationship *relation) |
OSCAP_API const char * | cvrf_relationship_get_relates_to_ref (const struct cvrf_relationship *relation) |
OSCAP_API struct cvrf_product_name * | cvrf_relationship_get_product_name (const struct cvrf_relationship *relation) |
OSCAP_API bool | cvrf_relationship_set_product_reference (struct cvrf_relationship *relation, const char *product_reference) |
OSCAP_API bool | cvrf_relationship_set_relates_to_ref (struct cvrf_relationship *relation, const char *relates_to_ref) |
OSCAP_API bool | cvrf_relationship_set_product_name (struct cvrf_relationship *relation, struct cvrf_product_name *name) |
Data Fields | |
char * | product_reference |
cvrf_relationship_type_t | relation_type |
char * | relates_to_ref |
struct cvrf_product_name * | product_name |
cvrf_relationship_type_t cvrf_relationship_get_relation_type | ( | struct cvrf_relationship * | relation | ) |
Defines how items in ProductReference and RelatesToProductReference are related.
relation | CVRF Relationship structure |
xmlNode * cvrf_relationship_to_dom | ( | const struct cvrf_relationship * | relation | ) |
Parent: CVRF ProductTree element.
relation | CVRF Relationship structure to be exported to XML |