/home/pvrabec/openscap/openscap-0.5.6/src/CPE/cpeuri.c File Reference

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

#include <string.h>
#include <stdio.h>
#include <pcre.h>
#include <ctype.h>
#include "cpeuri.h"
#include "../common/util.h"

Data Structures

struct  cpe_name
 Structure holding Common Platform Enumeration URI data. More...

Enumerations

enum  cpe_field_t {
  CPE_FIELD_TYPE, CPE_FIELD_VENDOR, CPE_FIELD_PRODUCT, CPE_FIELD_VERSION,
  CPE_FIELD_UPDATE, CPE_FIELD_EDITION, CPE_FIELD_LANGUAGE, CPE_FIELDNUM
}

Functions

char ** cpe_uri_split (char *str, const char *delim)
bool cpe_name_check (const char *str)
struct cpe_namecpe_name_new (const char *cpestr)
bool cpe_name_match_one (const struct cpe_name *cpe, const struct cpe_name *against)
bool cpe_name_match_cpes (const struct cpe_name *name, size_t n, struct cpe_name **namelist)
int cpe_name_match_strs (const char *candidate, size_t n, char **targets)
char * cpe_name_get_uri (const struct cpe_name *cpe)
int cpe_name_write (const struct cpe_name *cpe, FILE *f)
void cpe_name_free (struct cpe_name *cpe)

Detailed Description

Interface to Common Platform Enumeration (CPE) URI.

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


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1