/home/brq/plautrba/devel/src/openscap.git/openscap-0.8.2/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...

Defines

#define _BSD_SOURCE
#define CPE_URI_SUPPORTED   "2.2"

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)
struct cpe_namecpe_name_clone (struct cpe_name *old_name)
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)
const char * cpe_name_supported (void)

Detailed Description

Interface to Common Platform Enumeration (CPE) URI.

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


Generated on 30 Mar 2012 for Open SCAP Library by  doxygen 1.6.1