cce.h File Reference

#include <stdbool.h>
#include "oscap.h"

Go to the source code of this file.

Functions

struct ccecce_new (const char *fname)
 Create a new CCE structure from XML file.
void cce_free (struct cce *cce)
 CCE structure destructor.
Getters
Return value is pointer to structure's member.

Do not free unless you null the pointer in the structure. Use remove function otherwise.

struct cce_entry_iteratorcce_get_entries (const struct cce *cce)
 Get an iterator to the contents of the CCE.
struct cce_entrycce_get_entry (const struct cce *cce, const char *id)
 Get an CCE entry by ID.
const char * cce_entry_get_id (const struct cce_entry *cce)
 Get CCE entry ID.
const char * cce_entry_get_description (const struct cce_entry *cce)
 Get CCE entry desription.
struct oscap_string_iteratorcce_entry_get_params (const struct cce_entry *cce)
 Get an iterator to CCE entry's parameters.
struct oscap_string_iteratorcce_entry_get_tech_mechs (const struct cce_entry *cce)
 Get an iterator to CCE entry's technical mechanisms.
struct cce_reference_iteratorcce_entry_get_references (const struct cce_entry *cce)
 Get an iterator to CCE entry's references.
const char * cce_reference_get_source (const struct cce_reference *ref)
 Get source of CCE reference.
const char * cce_reference_get_value (const struct cce_reference *ref)
 Get contents of CCE reference.
Iterators
struct cce_referencecce_reference_iterator_next (struct cce_reference_iterator *it)
 cce_reference_iterator
bool cce_reference_iterator_has_more (struct cce_reference_iterator *it)
 cce_reference_iterator
void cce_reference_iterator_free (struct cce_reference_iterator *it)
 cce_reference_iterator
void cce_reference_iterator_reset (struct cce_reference_iterator *it)
 cce_reference_iterator
struct cce_entrycce_entry_iterator_next (struct cce_entry_iterator *it)
 cce_entry_iterator
bool cce_entry_iterator_has_more (struct cce_entry_iterator *it)
 cce_entry_iterator
void cce_entry_iterator_free (struct cce_entry_iterator *it)
 cce_entry_iterator
void cce_entry_iterator_reset (struct cce_entry_iterator *it)
 cce_entry_iterator
Evaluators
bool cce_validate (const char *filename)
 Vlaidate CCE XML file.
const char * cce_supported (void)
 Get supported version of CCE XML.


Detailed Description


Generated on Tue Nov 14 12:18:54 2017 for Open SCAP Library by  doxygen 1.5.6