/home/pvrabec/openscap/openscap-0.5.3/src/CPE/cpelang.c File Reference

Interface to Common Platform Enumeration (CPE) Language. More...

#include <libxml/tree.h>
#include <string.h>
#include "cpelang.h"
#include "../common/util.h"
#include "../common/list.h"

Data Structures

struct  cpe_lang_expr
struct  cpe_platformspec
 CPE platform specification. More...
struct  cpe_platform
 Single platform representation in CPE language. More...

Functions

struct cpe_platformspeccpe_platformspec_new_xml (xmlNodePtr root)
struct cpe_platformcpe_platform_new_xml (xmlNodePtr node)
bool cpe_langexpr_new (struct cpe_lang_expr *ret, xmlNodePtr node)
bool cpe_platformspec_add (struct cpe_platformspec *platformspec, struct cpe_platform *platform)
void cpe_platform_free (struct cpe_platform *platform)
void cpe_langexpr_free (struct cpe_lang_expr *expr)
struct cpe_platformspeccpe_platformspec_new (const char *fname)
struct cpe_platformspeccpe_platformspec_new_empty ()
void cpe_platformspec_free (struct cpe_platformspec *platformspec)
bool cpe_language_match_expr (struct cpe_name **cpe, size_t n, const struct cpe_lang_expr *expr)
bool cpe_platform_match_cpe (struct cpe_name **cpe, size_t n, const struct cpe_platform *platform)

Variables

const size_t CPE_PLATFORMSPEC_EMPTY_INIT_ALLOC = 8

Detailed Description

Interface to Common Platform Enumeration (CPE) Language.

See more details at http://nvd.nist.gov/cpe.cfm


Generated on 29 Sep 2009 for Open SCAP Library by  doxygen 1.6.1