Structure holding a CCE reference.
Definition: cce_priv.h:55
const char * cce_entry_get_id(const struct cce_entry *cce)
Get CCE entry ID.
struct cce_reference_iterator * cce_entry_get_references(const struct cce_entry *cce)
Get an iterator to CCE entry's references.
General OpenScap functions and types.
Structure holding CCE entries.
Definition: cce_priv.h:42
void cce_reference_iterator_free(struct cce_reference_iterator *it)
struct cce_entry * cce_get_entry(const struct cce *cce, const char *id)
Get an CCE entry by ID.
struct cce_reference * cce_reference_iterator_next(struct cce_reference_iterator *it)
Iterator over CCE entries.
void cce_free(struct cce *cce)
CCE structure destructor.
Definition: cce.c:53
const char * cce_reference_get_source(const struct cce_reference *ref)
Get source of CCE reference.
struct cce_entry_iterator * cce_get_entries(const struct cce *cce)
Get an iterator to the contents of the CCE.
const char * cce_entry_get_description(const struct cce_entry *cce)
Get CCE entry desription.
struct cce * cce_new(const char *fname)
Create a new CCE structure from XML file.
Definition: cce.c:99
void cce_entry_iterator_reset(struct cce_entry_iterator *it)
Iterator over CCE references.
bool cce_entry_iterator_has_more(struct cce_entry_iterator *it)
void cce_entry_iterator_free(struct cce_entry_iterator *it)
Structure holding single CCE entry data.
Definition: cce_priv.h:47
struct oscap_string_iterator * cce_entry_get_params(const struct cce_entry *cce)
Get an iterator to CCE entry's parameters.
struct oscap_string_iterator * cce_entry_get_tech_mechs(const struct cce_entry *cce)
Get an iterator to CCE entry's technical mechanisms.
void cce_reference_iterator_reset(struct cce_reference_iterator *it)
const char * cce_reference_get_value(const struct cce_reference *ref)
Get contents of CCE reference.
const char * cce_supported(void)
Get supported version of CCE XML.
Definition: cce.c:106
bool cce_validate(const char *filename)
Vlaidate CCE XML file.
Definition: cce.c:111
struct cce_entry * cce_entry_iterator_next(struct cce_entry_iterator *it)
bool cce_reference_iterator_has_more(struct cce_reference_iterator *it)