#include <libxml/tree.h>
#include <string.h>
#include "public/cpe_lang.h"
#include "cpelang_priv.h"
#include "common/util.h"
#include "common/list.h"
#include "source/public/oscap_source.h"
Defines | |
| #define | CPE_LANG_SUPPORTED "2.2" |
Functions | |
| struct cpe_lang_model * | cpe_lang_model_import (const char *file) |
| Load CPE language model from a XML document. | |
| void | cpe_lang_model_export (const struct cpe_lang_model *spec, const char *file) |
| Write the lang_model to a file. | |
| bool | cpe_platform_match_cpe (struct cpe_name **cpe, size_t n, const struct cpe_platform *platform) |
| Function to match cpe in platform. | |
| const char * | cpe_lang_model_supported (void) |
| Get supported version of CPE language XML. | |
| char * | cpe_lang_model_detect_version_priv (xmlTextReader *reader) |
| char * | cpe_lang_model_detect_version (const char *file) |
| Detect version of given CPE language XML cpe_lang_model. | |
| bool | cpe_platform_applicable_lang_model (const char *platform, struct cpe_lang_model *lang_model, cpe_check_fn check_cb, cpe_dict_fn dict_fn, void *usr) |
| Verify whether given CPE platform idref is applicable by evaluating test expression associated with it. | |
See more details at http://nvd.nist.gov/cpe.cfm
1.5.6