CPE Dictionary
[CPE]

Data Structures

struct  cpe_dict_model
 Structure representing a CPE dictionary. More...
struct  cpe_item
 Structure representing single CPE dictionary item. More...
struct  cpe_vendor
 Structure with information about vendor. More...
struct  cpe_generator
 Structure with information about document. More...
struct  cpe_check
 Structure representing single CPE check. More...
struct  cpe_reference
 CPE dictionary item reference. More...
struct  cpe_item_metadata
 Structure representing metadata of CPE item. More...
struct  cpe_product
 Product of some vendor. More...
struct  cpe_version
 Version of product. More...
struct  cpe_update
 Update of product version. More...
struct  cpe_edition
 Edition of product update. More...
struct  cpe_language
 Language of product edition. More...
struct  cpe_item_iterator
 Iterator over CPE dictionary items. More...
struct  cpe_reference_iterator
 Iterator over CPE dictionary references. More...
struct  cpe_check_iterator
 Iterator over CPE dictionary checks. More...
struct  cpe_vendor_iterator
 Iterator over CPE dictionary item vendors. More...
struct  cpe_product_iterator
 Iterator over CPE dictionary item products. More...
struct  cpe_version_iterator
 Iterator over CPE dictionary item versions. More...
struct  cpe_update_iterator
 Iterator over CPE dictionary item updates. More...
struct  cpe_edition_iterator
 Iterator over CPE dictionary item editions. More...
struct  cpe_language_iterator
 Iterator over CPE dictionary item languages. More...

Files

file  cpedict.h
 

Interface to Common Platform Enumeration (CPE) Dictionary.


Functions

void cpe_check::cpe_check_free (struct cpe_check *check)
void cpe_reference::cpe_reference_free (struct cpe_reference *ref)
void cpe_vendor::cpe_vendor_free (struct cpe_vendor *vendor)
void cpe_product::cpe_product_free (struct cpe_product *product)
void cpe_version::cpe_version_free (struct cpe_version *version)
void cpe_update::cpe_update_free (struct cpe_update *update)
void cpe_edition::cpe_edition_free (struct cpe_edition *edition)
void cpe_language::cpe_language_free (struct cpe_language *language)
void cpe_dict_model::cpe_dict_model_free (struct cpe_dict_model *dict)
void cpe_generator::cpe_generator_free (struct cpe_generator *generator)
void cpe_item::cpe_item_free (struct cpe_item *item)
struct cpe_dict_modelcpe_dict_model::cpe_dict_model_new (void)
struct cpe_generatorcpe_generator::cpe_generator_new (void)
struct cpe_checkcpe_check::cpe_check_new (void)
struct cpe_referencecpe_reference::cpe_reference_new (void)
struct cpe_itemcpe_item::cpe_item_new (void)
struct cpe_vendorcpe_vendor::cpe_vendor_new (void)
struct cpe_productcpe_product::cpe_product_new (void)
struct cpe_versioncpe_version::cpe_version_new (void)
struct cpe_updatecpe_update::cpe_update_new (void)
struct cpe_editioncpe_edition::cpe_edition_new (void)
struct cpe_languagecpe_language::cpe_language_new (void)
struct cpe_item_metadatacpe_item_metadata::cpe_item_metadata_new (void)
void cpe_dict_model::cpe_dict_model_export (const struct cpe_dict_model *dict, const char *file)
 Write the dict_model to a file.
struct cpe_dict_modelcpe_dict_model::cpe_dict_model_import (const char *file)
 Load new CPE dictionary from file.

Getters

Return value is pointer to structure's member.

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



const char * cpe_item_metadata::cpe_item_metadata_get_modification_date (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get date
const char * cpe_item_metadata::cpe_item_metadata_get_status (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get status
const char * cpe_item_metadata::cpe_item_metadata_get_nvd_id (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get nvd ID
const char * cpe_item_metadata::cpe_item_metadata_get_deprecated_by_nvd_id (const struct cpe_item_metadata *item)
 cpe_item_metadata function to get NVD ID of deprecated item
const char * cpe_check::cpe_check_get_system (const struct cpe_check *item)
 cpe_check functions to get system
const char * cpe_check::cpe_check_get_href (const struct cpe_check *item)
 cpe_check functions to get href
const char * cpe_check::cpe_check_get_identifier (const struct cpe_check *item)
 cpe_check functions to get identifier
const char * cpe_reference::cpe_reference_get_href (const struct cpe_reference *item)
 cpe_reference functions to get href of reference
const char * cpe_reference::cpe_reference_get_content (const struct cpe_reference *item)
 cpe_reference functions to get content of reference
struct cpe_namecpe_item::cpe_item_get_name (const struct cpe_item *item)
 cpe_item functions to get variable member name
struct cpe_namecpe_item::cpe_item_get_deprecated (const struct cpe_item *item)
 cpe_item functions to get variable member deprecated
const char * cpe_item::cpe_item_get_deprecation_date (const struct cpe_item *item)
 cpe_item functions to get variable member date
struct cpe_item_metadatacpe_item::cpe_item_get_metadata (const struct cpe_item *item)
 cpe_item functions to get metadata of cpe_item
struct cpe_reference_iteratorcpe_item::cpe_item_get_references (const struct cpe_item *item)
 cpe_item functions to get CPE references
struct cpe_check_iteratorcpe_item::cpe_item_get_checks (const struct cpe_item *item)
 cpe_item functions to get CPE checks
struct oscap_text_iteratorcpe_item::cpe_item_get_titles (const struct cpe_item *item)
 cpe_item functions to get CPE titles
struct oscap_text_iteratorcpe_item::cpe_item_get_notes (const struct cpe_item *item)
 cpe_item functions to get CPE notes
const char * cpe_generator::cpe_generator_get_product_name (const struct cpe_generator *item)
 cpe_generator functions to get product name
const char * cpe_generator::cpe_generator_get_product_version (const struct cpe_generator *item)
 cpe_generator functions to get product version
const char * cpe_generator::cpe_generator_get_schema_version (const struct cpe_generator *item)
 cpe_generator functions to get document schema version
const char * cpe_generator::cpe_generator_get_timestamp (const struct cpe_generator *item)
 cpe_generator functions to get timestamp from generator
struct cpe_generatorcpe_generator::cpe_dict_model_get_generator (const struct cpe_dict_model *item)
 cpe_dict_model functions to get generator from CPE dictionary model
struct cpe_item_iteratorcpe_dict_model::cpe_dict_model_get_items (const struct cpe_dict_model *item)
 cpe_dict_model functions to get CPE items
struct cpe_vendor_iteratorcpe_dict_model::cpe_dict_model_get_vendors (const struct cpe_dict_model *item)
 cpe_dict_model functions to get vendors
const char * cpe_vendor::cpe_vendor_get_value (const struct cpe_vendor *item)
 cpe_vendor functions to get vendor value
struct oscap_text_iteratorcpe_vendor::cpe_vendor_get_titles (const struct cpe_vendor *item)
 cpe_vendor functions to get vendor titles
struct cpe_product_iteratorcpe_vendor::cpe_vendor_get_products (const struct cpe_vendor *item)
 cpe_vendor functions to get vendor products
const char * cpe_product::cpe_product_get_value (const struct cpe_product *item)
 cpe_product functions to get product value
cpe_part_t cpe_product::cpe_product_get_part (const struct cpe_product *item)
 cpe_product functions to get product part
struct cpe_version_iteratorcpe_version::cpe_product_get_versions (const struct cpe_product *item)
 cpe_product functions to get versions of product
const char * cpe_version::cpe_version_get_value (const struct cpe_version *item)
 cpe_version functions to get vupdates of versions
struct cpe_update_iteratorcpe_update::cpe_version_get_updates (const struct cpe_version *items)
 cpe_version functions to get value of version
const char * cpe_update::cpe_update_get_value (const struct cpe_update *item)
 cpe_update functions to get updates of version
struct cpe_edition_iteratorcpe_edition::cpe_update_get_editions (const struct cpe_update *items)
 cpe_update functions to get editions of update
const char * cpe_edition::cpe_edition_get_value (const struct cpe_edition *item)
 cpe_edition functions to get value of edition
struct cpe_language_iteratorcpe_language::cpe_edition_get_languages (const struct cpe_edition *items)
 cpe_edition functions to get languages of edition
const char * cpe_language::cpe_language_get_value (const struct cpe_language *item)
 cpe_language functions to get value of language

Setters

For lists use add functions.

Parameters of set functions are duplicated in memory and need to be freed by caller.



bool cpe_item::cpe_item_set_deprecation_date (struct cpe_item *item, const char *new_deprecation_date)
bool cpe_item_metadata::cpe_item_metadata_set_modification_date (struct cpe_item_metadata *item_metadata, const char *new_modification_date)
bool cpe_item_metadata::cpe_item_metadata_set_status (struct cpe_item_metadata *item_metadata, const char *new_status)
bool cpe_item_metadata::cpe_item_metadata_set_nvd_id (struct cpe_item_metadata *item_metadata, const char *new_nvd_id)
bool cpe_item_metadata::cpe_item_metadata_set_deprecated_by_nvd_id (struct cpe_item_metadata *item_metadata, const char *new_deprecated_by_nvd_id)
bool cpe_check::cpe_check_set_system (struct cpe_check *check, const char *new_system)
bool cpe_check::cpe_check_set_href (struct cpe_check *check, const char *new_href)
bool cpe_check::cpe_check_set_identifier (struct cpe_check *check, const char *new_identifier)
bool cpe_reference::cpe_reference_set_href (struct cpe_reference *reference, const char *new_href)
bool cpe_reference::cpe_reference_set_content (struct cpe_reference *reference, const char *new_content)
bool cpe_generator::cpe_generator_set_product_name (struct cpe_generator *generator, const char *new_product_name)
bool cpe_generator::cpe_generator_set_product_version (struct cpe_generator *generator, const char *new_product_version)
bool cpe_generator::cpe_generator_set_schema_version (struct cpe_generator *generator, const char *new_schema_version)
bool cpe_generator::cpe_generator_set_timestamp (struct cpe_generator *generator, const char *new_timestamp)
bool cpe_vendor::cpe_vendor_set_value (struct cpe_vendor *vendor, const char *new_value)
bool cpe_product::cpe_product_set_value (struct cpe_product *product, const char *new_value)
bool cpe_product::cpe_product_set_part (struct cpe_product *product, cpe_part_t new_part)
bool cpe_version::cpe_version_set_value (struct cpe_version *version, const char *new_value)
bool cpe_update::cpe_update_set_value (struct cpe_update *update, const char *new_value)
bool cpe_edition::cpe_edition_set_value (struct cpe_edition *edition, const char *new_value)
bool cpe_language::cpe_language_set_value (struct cpe_language *language, const char *new_value)
bool cpe_item::cpe_item_add_reference (struct cpe_item *item, struct cpe_reference *new_reference)
bool cpe_item::cpe_item_add_check (struct cpe_item *item, struct cpe_check *new_check)
bool cpe_item::cpe_item_add_title (struct cpe_item *item, struct oscap_text *new_title)
bool cpe_item::cpe_item_add_note (struct cpe_item *item, struct oscap_text *new_title)
bool cpe_dict_model::cpe_dict_model_add_vendor (struct cpe_dict_model *dict, struct cpe_vendor *new_vendor)
bool cpe_vendor::cpe_vendor_add_title (struct cpe_vendor *vendor, struct oscap_text *new_title)
bool cpe_vendor::cpe_vendor_add_product (struct cpe_vendor *vendor, struct cpe_product *new_product)
bool cpe_product::cpe_product_add_version (struct cpe_product *product, struct cpe_version *new_version)
bool cpe_version::cpe_version_add_update (struct cpe_version *version, struct cpe_update *new_update)
bool cpe_update::cpe_update_add_edition (struct cpe_update *update, struct cpe_edition *new_edition)
bool cpe_edition::cpe_edition_add_language (struct cpe_edition *edition, struct cpe_language *new_language)

Iterators



struct cpe_itemcpe_item_iterator::cpe_item_iterator_next (struct cpe_item_iterator *it)
 Iterator over CPE dictionary items.
bool cpe_item_iterator::cpe_item_iterator_has_more (struct cpe_item_iterator *it)
 Iterator over CPE dictionary items.
void cpe_item_iterator::cpe_item_iterator_free (struct cpe_item_iterator *it)
 Iterator over CPE dictionary items.
void cpe_item::cpe_item_iterator_remove (struct cpe_item_iterator *it)
void cpe_item_iterator::cpe_item_iterator_reset (struct cpe_item_iterator *it)
struct cpe_referencecpe_reference_iterator::cpe_reference_iterator_next (struct cpe_reference_iterator *it)
 Iterator over CPE item reference items.
bool cpe_reference_iterator::cpe_reference_iterator_has_more (struct cpe_reference_iterator *it)
 Iterator over CPE item reference items.
void cpe_reference_iterator::cpe_reference_iterator_free (struct cpe_reference_iterator *it)
 Iterator over CPE item reference items.
void cpe_reference_iterator::cpe_reference_iterator_remove (struct cpe_reference_iterator *it)
void cpe_reference_iterator::cpe_reference_iterator_reset (struct cpe_reference_iterator *it)
struct cpe_checkcpe_check_iterator::cpe_check_iterator_next (struct cpe_check_iterator *it)
 Iterator over CPE item check items.
bool cpe_check_iterator::cpe_check_iterator_has_more (struct cpe_check_iterator *it)
 Iterator over CPE item check items.
void cpe_check_iterator::cpe_check_iterator_free (struct cpe_check_iterator *it)
 Iterator over CPE item check items.
void cpe_check_iterator::cpe_check_iterator_remove (struct cpe_check_iterator *it)
void cpe_check_iterator::cpe_check_iterator_reset (struct cpe_check_iterator *it)
struct cpe_vendorcpe_vendor_iterator::cpe_vendor_iterator_next (struct cpe_vendor_iterator *it)
 Iterator over CPE vendor items.
bool cpe_vendor_iterator::cpe_vendor_iterator_has_more (struct cpe_vendor_iterator *it)
 Iterator over CPE vendor items.
void cpe_vendor_iterator::cpe_vendor_iterator_free (struct cpe_vendor_iterator *it)
 Iterator over CPE vendor items.
void cpe_vendor_iterator::cpe_vendor_iterator_remove (struct cpe_vendor_iterator *it)
void cpe_vendor_iterator::cpe_vendor_iterator_reset (struct cpe_vendor_iterator *it)
struct cpe_productcpe_product_iterator::cpe_product_iterator_next (struct cpe_product_iterator *it)
 Iterator over CPE product items.
bool cpe_product_iterator::cpe_product_iterator_has_more (struct cpe_product_iterator *it)
 Iterator over CPE product items.
void cpe_product_iterator::cpe_product_iterator_free (struct cpe_product_iterator *it)
 Iterator over CPE product items.
void cpe_product_iterator::cpe_product_iterator_remove (struct cpe_product_iterator *it)
void cpe_product_iterator::cpe_product_iterator_reset (struct cpe_product_iterator *it)
struct cpe_versioncpe_version_iterator::cpe_version_iterator_next (struct cpe_version_iterator *it)
 Iterator over CPE version items.
bool cpe_version_iterator::cpe_version_iterator_has_more (struct cpe_version_iterator *it)
 Iterator over CPE version items.
void cpe_version_iterator::cpe_version_iterator_free (struct cpe_version_iterator *it)
 Iterator over CPE version items.
void cpe_version_iterator::cpe_version_iterator_remove (struct cpe_version_iterator *it)
void cpe_version_iterator::cpe_version_iterator_reset (struct cpe_version_iterator *it)
struct cpe_updatecpe_update_iterator::cpe_update_iterator_next (struct cpe_update_iterator *it)
 Iterator over CPE update items.
bool cpe_update_iterator::cpe_update_iterator_has_more (struct cpe_update_iterator *it)
 Iterator over CPE update items.
void cpe_update_iterator::cpe_update_iterator_free (struct cpe_update_iterator *it)
 Iterator over CPE update items.
void cpe_update_iterator::cpe_update_iterator_remove (struct cpe_update_iterator *it)
void cpe_update_iterator::cpe_update_iterator_reset (struct cpe_update_iterator *it)
struct cpe_editioncpe_edition_iterator::cpe_edition_iterator_next (struct cpe_edition_iterator *it)
 Iterator over CPE edition items.
bool cpe_edition_iterator::cpe_edition_iterator_has_more (struct cpe_edition_iterator *it)
 Iterator over CPE edition items.
void cpe_edition_iterator::cpe_edition_iterator_free (struct cpe_edition_iterator *it)
 Iterator over CPE edition items.
void cpe_edition_iterator::cpe_edition_iterator_remove (struct cpe_edition_iterator *it)
void cpe_edition_iterator::cpe_edition_iterator_reset (struct cpe_edition_iterator *it)
struct cpe_languagecpe_language_iterator::cpe_language_iterator_next (struct cpe_language_iterator *it)
 Iterator over CPE language items.
bool cpe_language_iterator::cpe_language_iterator_has_more (struct cpe_language_iterator *it)
 Iterator over CPE language items.
void cpe_language_iterator::cpe_language_iterator_free (struct cpe_language_iterator *it)
 Iterator over CPE language items.
void cpe_language_iterator::cpe_language_iterator_remove (struct cpe_language_iterator *it)
void cpe_language_iterator::cpe_language_iterator_reset (struct cpe_language_iterator *it)

Evaluators



const char * cpe_dict_model::cpe_dict_model_supported (void)
 Get supported version of CPE dictionary XML.
bool cpe_dict_model::cpe_name_match_dict (struct cpe_name *cpe, struct cpe_dict_model *dict)
 Verify wether given CPE is known according to specified dictionary.
bool cpe_dict_model::cpe_name_match_dict_str (const char *cpe, struct cpe_dict_model *dict)
 Verify if CPE given by string is known according to specified dictionary.

Detailed Description

cpe_dictionary.png

Class diagram


Function Documentation

void cpe_check_free ( struct cpe_check check  )  [inherited]
const char * cpe_check_get_href ( const struct cpe_check item  )  [inherited]

cpe_check functions to get href

Parameters:
item CPE check item
const char * cpe_check_get_identifier ( const struct cpe_check item  )  [inherited]

cpe_check functions to get identifier

Parameters:
item CPE check item
const char * cpe_check_get_system ( const struct cpe_check item  )  [inherited]

cpe_check functions to get system

Parameters:
item CPE check item
void cpe_check_iterator_free ( struct cpe_check_iterator it  )  [inherited]

Iterator over CPE item check items.

See also:
oscap_iterator
bool cpe_check_iterator_has_more ( struct cpe_check_iterator it  )  [inherited]

Iterator over CPE item check items.

See also:
oscap_iterator
struct cpe_check * cpe_check_iterator_next ( struct cpe_check_iterator it  )  [read, inherited]

Iterator over CPE item check items.

See also:
oscap_iterator
void cpe_check_iterator_remove ( struct cpe_check_iterator it  )  [inherited]
void cpe_check_iterator_reset ( struct cpe_check_iterator it  )  [inherited]
struct cpe_check * cpe_check_new ( void   )  [read, inherited]
bool cpe_check_set_href ( struct cpe_check check,
const char *  new_href 
) [inherited]
bool cpe_check_set_identifier ( struct cpe_check check,
const char *  new_identifier 
) [inherited]
bool cpe_check_set_system ( struct cpe_check check,
const char *  new_system 
) [inherited]
bool cpe_dict_model_add_vendor ( struct cpe_dict_model dict,
struct cpe_vendor new_vendor 
) [inherited]
void cpe_dict_model_export ( const struct cpe_dict_model dict,
const char *  file 
) [inherited]

Write the dict_model to a file.

Parameters:
dict CPE Dict model
void cpe_dict_model_free ( struct cpe_dict_model dict  )  [inherited]
struct cpe_generator * cpe_dict_model_get_generator ( const struct cpe_dict_model item  )  [read, inherited]

cpe_dict_model functions to get generator from CPE dictionary model

Parameters:
item dictionary model
struct cpe_item_iterator * cpe_dict_model_get_items ( const struct cpe_dict_model item  )  [read, inherited]

cpe_dict_model functions to get CPE items

Parameters:
item dictionary model
struct cpe_vendor_iterator * cpe_dict_model_get_vendors ( const struct cpe_dict_model item  )  [read, inherited]

cpe_dict_model functions to get vendors

Parameters:
item dictionary model
struct cpe_dict_model * cpe_dict_model_import ( const char *  file  )  [read, inherited]

Load new CPE dictionary from file.

Parameters:
file filename
Returns:
new dictionary
Return values:
NULL on failure
struct cpe_dict_model * cpe_dict_model_new ( void   )  [read, inherited]
const char * cpe_dict_model_supported ( void   )  [inherited]

Get supported version of CPE dictionary XML.

Returns:
version of XML file format
bool cpe_edition_add_language ( struct cpe_edition edition,
struct cpe_language new_language 
) [inherited]
void cpe_edition_free ( struct cpe_edition edition  )  [inherited]
struct cpe_language_iterator * cpe_edition_get_languages ( const struct cpe_edition items  )  [read, inherited]

cpe_edition functions to get languages of edition

Parameters:
item cpe_edition of update
const char * cpe_edition_get_value ( const struct cpe_edition item  )  [inherited]

cpe_edition functions to get value of edition

Parameters:
item cpe_edition of update
void cpe_edition_iterator_free ( struct cpe_edition_iterator it  )  [inherited]

Iterator over CPE edition items.

See also:
oscap_iterator
bool cpe_edition_iterator_has_more ( struct cpe_edition_iterator it  )  [inherited]

Iterator over CPE edition items.

See also:
oscap_iterator
struct cpe_edition * cpe_edition_iterator_next ( struct cpe_edition_iterator it  )  [read, inherited]

Iterator over CPE edition items.

See also:
oscap_iterator
void cpe_edition_iterator_remove ( struct cpe_edition_iterator it  )  [inherited]
void cpe_edition_iterator_reset ( struct cpe_edition_iterator it  )  [inherited]
struct cpe_edition * cpe_edition_new ( void   )  [read, inherited]
bool cpe_edition_set_value ( struct cpe_edition edition,
const char *  new_value 
) [inherited]
void cpe_generator_free ( struct cpe_generator generator  )  [inherited]
const char * cpe_generator_get_product_name ( const struct cpe_generator item  )  [inherited]

cpe_generator functions to get product name

Parameters:
item document generator
const char * cpe_generator_get_product_version ( const struct cpe_generator item  )  [inherited]

cpe_generator functions to get product version

Parameters:
item document generator
const char * cpe_generator_get_schema_version ( const struct cpe_generator item  )  [inherited]

cpe_generator functions to get document schema version

Parameters:
item document generator
const char * cpe_generator_get_timestamp ( const struct cpe_generator item  )  [inherited]

cpe_generator functions to get timestamp from generator

Parameters:
item document generator
struct cpe_generator * cpe_generator_new ( void   )  [read, inherited]
bool cpe_generator_set_product_name ( struct cpe_generator generator,
const char *  new_product_name 
) [inherited]
bool cpe_generator_set_product_version ( struct cpe_generator generator,
const char *  new_product_version 
) [inherited]
bool cpe_generator_set_schema_version ( struct cpe_generator generator,
const char *  new_schema_version 
) [inherited]
bool cpe_generator_set_timestamp ( struct cpe_generator generator,
const char *  new_timestamp 
) [inherited]
bool cpe_item_add_check ( struct cpe_item item,
struct cpe_check new_check 
) [inherited]
bool cpe_item_add_note ( struct cpe_item item,
struct oscap_text new_title 
) [inherited]
bool cpe_item_add_reference ( struct cpe_item item,
struct cpe_reference new_reference 
) [inherited]
bool cpe_item_add_title ( struct cpe_item item,
struct oscap_text new_title 
) [inherited]
void cpe_item_free ( struct cpe_item item  )  [inherited]
struct cpe_check_iterator * cpe_item_get_checks ( const struct cpe_item item  )  [read, inherited]

cpe_item functions to get CPE checks

Parameters:
item CPE item
struct cpe_name * cpe_item_get_deprecated ( const struct cpe_item item  )  [read, inherited]

cpe_item functions to get variable member deprecated

Parameters:
item CPE item
const char * cpe_item_get_deprecation_date ( const struct cpe_item item  )  [inherited]

cpe_item functions to get variable member date

Parameters:
item CPE item
struct cpe_item_metadata * cpe_item_get_metadata ( const struct cpe_item item  )  [read, inherited]

cpe_item functions to get metadata of cpe_item

Parameters:
item CPE item
struct cpe_name * cpe_item_get_name ( const struct cpe_item item  )  [read, inherited]

cpe_item functions to get variable member name

Parameters:
item CPE item
struct oscap_text_iterator * cpe_item_get_notes ( const struct cpe_item item  )  [read, inherited]

cpe_item functions to get CPE notes

Parameters:
item CPE item
struct cpe_reference_iterator * cpe_item_get_references ( const struct cpe_item item  )  [read, inherited]

cpe_item functions to get CPE references

Parameters:
item CPE item
struct oscap_text_iterator * cpe_item_get_titles ( const struct cpe_item item  )  [read, inherited]

cpe_item functions to get CPE titles

Parameters:
item CPE item
void cpe_item_iterator_free ( struct cpe_item_iterator it  )  [inherited]

Iterator over CPE dictionary items.

See also:
oscap_iterator
bool cpe_item_iterator_has_more ( struct cpe_item_iterator it  )  [inherited]

Iterator over CPE dictionary items.

See also:
oscap_iterator
struct cpe_item * cpe_item_iterator_next ( struct cpe_item_iterator it  )  [read, inherited]

Iterator over CPE dictionary items.

See also:
oscap_iterator
void cpe_item_iterator_remove ( struct cpe_item_iterator it  )  [inherited]
void cpe_item_iterator_reset ( struct cpe_item_iterator it  )  [inherited]
const char * cpe_item_metadata_get_deprecated_by_nvd_id ( const struct cpe_item_metadata item  )  [inherited]

cpe_item_metadata function to get NVD ID of deprecated item

Parameters:
item metadata of CPE item
const char * cpe_item_metadata_get_modification_date ( const struct cpe_item_metadata item  )  [inherited]

cpe_item_metadata function to get date

Parameters:
item metadata of CPE item
const char * cpe_item_metadata_get_nvd_id ( const struct cpe_item_metadata item  )  [inherited]

cpe_item_metadata function to get nvd ID

Parameters:
item metadata of CPE item
const char * cpe_item_metadata_get_status ( const struct cpe_item_metadata item  )  [inherited]

cpe_item_metadata function to get status

Parameters:
item metadata of CPE item
struct cpe_item_metadata * cpe_item_metadata_new ( void   )  [read, inherited]
bool cpe_item_metadata_set_deprecated_by_nvd_id ( struct cpe_item_metadata item_metadata,
const char *  new_deprecated_by_nvd_id 
) [inherited]
bool cpe_item_metadata_set_modification_date ( struct cpe_item_metadata item_metadata,
const char *  new_modification_date 
) [inherited]
bool cpe_item_metadata_set_nvd_id ( struct cpe_item_metadata item_metadata,
const char *  new_nvd_id 
) [inherited]
bool cpe_item_metadata_set_status ( struct cpe_item_metadata item_metadata,
const char *  new_status 
) [inherited]
struct cpe_item * cpe_item_new ( void   )  [read, inherited]
bool cpe_item_set_deprecation_date ( struct cpe_item item,
const char *  new_deprecation_date 
) [inherited]
void cpe_language_free ( struct cpe_language language  )  [inherited]
const char * cpe_language_get_value ( const struct cpe_language item  )  [inherited]

cpe_language functions to get value of language

Parameters:
item language
void cpe_language_iterator_free ( struct cpe_language_iterator it  )  [inherited]

Iterator over CPE language items.

See also:
oscap_iterator
bool cpe_language_iterator_has_more ( struct cpe_language_iterator it  )  [inherited]

Iterator over CPE language items.

See also:
oscap_iterator
struct cpe_language * cpe_language_iterator_next ( struct cpe_language_iterator it  )  [read, inherited]

Iterator over CPE language items.

See also:
oscap_iterator
void cpe_language_iterator_remove ( struct cpe_language_iterator it  )  [inherited]
void cpe_language_iterator_reset ( struct cpe_language_iterator it  )  [inherited]
struct cpe_language * cpe_language_new ( void   )  [read, inherited]
bool cpe_language_set_value ( struct cpe_language language,
const char *  new_value 
) [inherited]
bool cpe_name_match_dict ( struct cpe_name cpe,
struct cpe_dict_model dict 
) [inherited]

Verify wether given CPE is known according to specified dictionary.

Parameters:
cpe CPE to verify
dict used CPE dictionary
Returns:
true if dictionary contains given CPE
bool cpe_name_match_dict_str ( const char *  cpe,
struct cpe_dict_model dict 
) [inherited]

Verify if CPE given by string is known according to specified dictionary.

Parameters:
cpe CPE to verify
dict used CPE dictionary
Returns:
true if dictionary contains given CPE
bool cpe_product_add_version ( struct cpe_product product,
struct cpe_version new_version 
) [inherited]
void cpe_product_free ( struct cpe_product product  )  [inherited]
cpe_part_t cpe_product_get_part ( const struct cpe_product item  )  [inherited]

cpe_product functions to get product part

Parameters:
item cpe_product
const char * cpe_product_get_value ( const struct cpe_product item  )  [inherited]

cpe_product functions to get product value

Parameters:
item cpe_product
struct cpe_version_iterator * cpe_product_get_versions ( const struct cpe_product item  )  [read, inherited]

cpe_product functions to get versions of product

Parameters:
item cpe_product
void cpe_product_iterator_free ( struct cpe_product_iterator it  )  [inherited]

Iterator over CPE product items.

See also:
oscap_iterator
bool cpe_product_iterator_has_more ( struct cpe_product_iterator it  )  [inherited]

Iterator over CPE product items.

See also:
oscap_iterator
struct cpe_product * cpe_product_iterator_next ( struct cpe_product_iterator it  )  [read, inherited]

Iterator over CPE product items.

See also:
oscap_iterator
void cpe_product_iterator_remove ( struct cpe_product_iterator it  )  [inherited]
void cpe_product_iterator_reset ( struct cpe_product_iterator it  )  [inherited]
struct cpe_product * cpe_product_new ( void   )  [read, inherited]
bool cpe_product_set_part ( struct cpe_product product,
cpe_part_t  new_part 
) [inherited]
bool cpe_product_set_value ( struct cpe_product product,
const char *  new_value 
) [inherited]
void cpe_reference_free ( struct cpe_reference ref  )  [inherited]
const char * cpe_reference_get_content ( const struct cpe_reference item  )  [inherited]

cpe_reference functions to get content of reference

Parameters:
item CPE reference item
const char * cpe_reference_get_href ( const struct cpe_reference item  )  [inherited]

cpe_reference functions to get href of reference

Parameters:
item CPE reference item
void cpe_reference_iterator_free ( struct cpe_reference_iterator it  )  [inherited]

Iterator over CPE item reference items.

See also:
oscap_iterator
bool cpe_reference_iterator_has_more ( struct cpe_reference_iterator it  )  [inherited]

Iterator over CPE item reference items.

See also:
oscap_iterator
struct cpe_reference * cpe_reference_iterator_next ( struct cpe_reference_iterator it  )  [read, inherited]

Iterator over CPE item reference items.

See also:
oscap_iterator
void cpe_reference_iterator_remove ( struct cpe_reference_iterator it  )  [inherited]
void cpe_reference_iterator_reset ( struct cpe_reference_iterator it  )  [inherited]
struct cpe_reference * cpe_reference_new ( void   )  [read, inherited]
bool cpe_reference_set_content ( struct cpe_reference reference,
const char *  new_content 
) [inherited]
bool cpe_reference_set_href ( struct cpe_reference reference,
const char *  new_href 
) [inherited]
bool cpe_update_add_edition ( struct cpe_update update,
struct cpe_edition new_edition 
) [inherited]
void cpe_update_free ( struct cpe_update update  )  [inherited]
struct cpe_edition_iterator * cpe_update_get_editions ( const struct cpe_update items  )  [read, inherited]

cpe_update functions to get editions of update

Parameters:
item cpe_update of product element
const char * cpe_update_get_value ( const struct cpe_update item  )  [inherited]

cpe_update functions to get updates of version

Parameters:
item 
void cpe_update_iterator_free ( struct cpe_update_iterator it  )  [inherited]

Iterator over CPE update items.

See also:
oscap_iterator
bool cpe_update_iterator_has_more ( struct cpe_update_iterator it  )  [inherited]

Iterator over CPE update items.

See also:
oscap_iterator
struct cpe_update * cpe_update_iterator_next ( struct cpe_update_iterator it  )  [read, inherited]

Iterator over CPE update items.

See also:
oscap_iterator
void cpe_update_iterator_remove ( struct cpe_update_iterator it  )  [inherited]
void cpe_update_iterator_reset ( struct cpe_update_iterator it  )  [inherited]
struct cpe_update * cpe_update_new ( void   )  [read, inherited]
bool cpe_update_set_value ( struct cpe_update update,
const char *  new_value 
) [inherited]
bool cpe_vendor_add_product ( struct cpe_vendor vendor,
struct cpe_product new_product 
) [inherited]
bool cpe_vendor_add_title ( struct cpe_vendor vendor,
struct oscap_text new_title 
) [inherited]
void cpe_vendor_free ( struct cpe_vendor vendor  )  [inherited]
struct cpe_product_iterator * cpe_vendor_get_products ( const struct cpe_vendor item  )  [read, inherited]

cpe_vendor functions to get vendor products

Parameters:
item cpe_vendor
struct oscap_text_iterator * cpe_vendor_get_titles ( const struct cpe_vendor item  )  [read, inherited]

cpe_vendor functions to get vendor titles

Parameters:
item cpe_vendor
const char * cpe_vendor_get_value ( const struct cpe_vendor item  )  [inherited]

cpe_vendor functions to get vendor value

Parameters:
item cpe_vendor
void cpe_vendor_iterator_free ( struct cpe_vendor_iterator it  )  [inherited]

Iterator over CPE vendor items.

See also:
oscap_iterator
bool cpe_vendor_iterator_has_more ( struct cpe_vendor_iterator it  )  [inherited]

Iterator over CPE vendor items.

See also:
oscap_iterator
struct cpe_vendor * cpe_vendor_iterator_next ( struct cpe_vendor_iterator it  )  [read, inherited]

Iterator over CPE vendor items.

See also:
oscap_iterator
void cpe_vendor_iterator_remove ( struct cpe_vendor_iterator it  )  [inherited]
void cpe_vendor_iterator_reset ( struct cpe_vendor_iterator it  )  [inherited]
struct cpe_vendor * cpe_vendor_new ( void   )  [read, inherited]
bool cpe_vendor_set_value ( struct cpe_vendor vendor,
const char *  new_value 
) [inherited]
bool cpe_version_add_update ( struct cpe_version version,
struct cpe_update new_update 
) [inherited]
void cpe_version_free ( struct cpe_version version  )  [inherited]
struct cpe_update_iterator * cpe_version_get_updates ( const struct cpe_version items  )  [read, inherited]

cpe_version functions to get value of version

Parameters:
item cpe_version
const char * cpe_version_get_value ( const struct cpe_version item  )  [inherited]

cpe_version functions to get vupdates of versions

Parameters:
item cpe_version
void cpe_version_iterator_free ( struct cpe_version_iterator it  )  [inherited]

Iterator over CPE version items.

See also:
oscap_iterator
bool cpe_version_iterator_has_more ( struct cpe_version_iterator it  )  [inherited]

Iterator over CPE version items.

See also:
oscap_iterator
struct cpe_version * cpe_version_iterator_next ( struct cpe_version_iterator it  )  [read, inherited]

Iterator over CPE version items.

See also:
oscap_iterator
void cpe_version_iterator_remove ( struct cpe_version_iterator it  )  [inherited]
void cpe_version_iterator_reset ( struct cpe_version_iterator it  )  [inherited]
struct cpe_version * cpe_version_new ( void   )  [read, inherited]
bool cpe_version_set_value ( struct cpe_version version,
const char *  new_value 
) [inherited]

Generated on 30 Mar 2012 for Open SCAP Library by  doxygen 1.6.1