Interface to Common Platform Enumeration (CPE) Dictionary. More...
#include <stdlib.h>#include <string.h>#include <ctype.h>#include <libxml/tree.h>#include "cpedict.h"#include "../common/list.h"#include "../common/util.h"Data Structures | |
| struct | cpe_dict_check |
| Structure representing single CPE check. More... | |
| struct | cpe_dict_reference |
| CPE dictionary item reference. More... | |
| struct | cpe_dictitem |
| Structure representing single CPE dictionary item. More... | |
| struct | cpe_dict |
| Structure representing a CPE dictionary. More... | |
Functions | |
| struct cpe_dict * | cpe_dict_new_xml (xmlNodePtr node) |
| struct cpe_dictitem * | cpe_dictitem_new_xml (xmlNodePtr node) |
| struct cpe_dict_check * | cpe_dictcheck_new_xml (xmlNode *node) |
| struct cpe_dictitem * | cpe_dictitem_new_empty () |
| void | cpe_dictitem_free (struct cpe_dictitem *item) |
| void | cpe_dict_check_free (struct cpe_dict_check *check) |
| char * | str_trim (char *str) |
| struct cpe_dict * | cpe_dict_new (const char *fname) |
| struct cpe_dict * | cpe_dict_new_empty (void) |
| bool | cpe_dict_add_item (struct cpe_dict *dict, struct cpe_dictitem *item) |
| void | cpe_dict_free (struct cpe_dict *dict) |
| void | cpe_dict_reference_free (struct cpe_dict_reference *ref) |
| void | cpe_dictcheck_free (struct cpe_dict_check *check) |
| bool | cpe_name_match_dict (struct cpe_name *cpe, struct cpe_dict *dict) |
| bool | cpe_name_match_dict_str (const char *cpestr, struct cpe_dict *dict) |
Variables | |
| const size_t | CPE_DICT_CPES_INITIAL_ALLOC = 8 |
Interface to Common Platform Enumeration (CPE) Dictionary.
See more details at http://nvd.nist.gov/cpe.cfm
1.6.1