Data Structures |
struct | cpe_platformspec |
| CPE platform specification. More...
|
struct | cpe_platform |
| Single platform representation in CPE language. More...
|
struct | cpe_platform_iterator |
| Iterator over CPE dictionary items. More...
|
Files |
file | cpelang.h |
| Interface to Common Platform Enumeration (CPE) Language.
|
Enumerations |
enum | cpe_lang_oper_t {
CPE_LANG_OPER_HALT = 0x00,
CPE_LANG_OPER_AND = 0x01,
CPE_LANG_OPER_OR = 0x02,
CPE_LANG_OPER_MATCH = 0x03,
CPE_LANG_OPER_MASK = 0xFF,
CPE_LANG_OPER_NOT = 0x100,
CPE_LANG_OPER_NAND = CPE_LANG_OPER_AND | CPE_LANG_OPER_NOT,
CPE_LANG_OPER_NOR = CPE_LANG_OPER_OR | CPE_LANG_OPER_NOT
} |
| CPE language operators.
More...
|
Functions |
struct cpe_platform * | cpe_platform_iterator::cpe_platform_iterator_next (struct cpe_platform_iterator *it) |
bool | cpe_platform_iterator::cpe_platform_iterator_has_more (struct cpe_platform_iterator *it) |
void | cpe_platform_iterator::cpe_platform_iterator_free (struct cpe_platform_iterator *it) |
struct cpe_platformspec * | cpe_platformspec::cpe_platformspec_new (const char *fname) |
| New platform specification from file.
|
void | cpe_platformspec::cpe_platformspec_free (struct cpe_platformspec *platformspec) |
| Free specified platform specification list.
|
struct cpe_platform_iterator * | cpe_platformspec::cpe_platformspec_get_items (const struct cpe_platformspec *platformspec) |
| Get an iterator to platforms contained in this specification.
|
struct cpe_platform * | cpe_platformspec::cpe_platformspec_get_item (const struct cpe_platformspec *platformspec, const char *id) |
| Get platform with given ID.
|
bool | cpe_platform::cpe_platform_match_cpe (struct cpe_name **cpe, size_t n, const struct cpe_platform *platform) |
| Match list of CPEs against CPE language platform specification.
|
const char * | cpe_platform::cpe_platform_get_id (const struct cpe_platform *platform) |
| Get CPE paltform ID.
|
const char * | cpe_platform::cpe_platform_get_title (const struct cpe_platform *platform) |
| Get CPE paltform title.
|
const char * | cpe_platform::cpe_platform_get_remark (const struct cpe_platform *platform) |
| Get CPE paltform remark.
|