/home/pvrabec/tmp/openscap/openscap-0.1.4/src/CPE/cpematch.h File Reference

Interface to Common Product Enumeration (CPE) matching facilities. More...

#include <stdlib.h>
#include "cpeuri.h"
#include "cpedict.h"
#include "cpelang.h"

Go to the source code of this file.

Functions

bool cpe_name_match_dict (cpe_t *cpe, cpe_dict_t *dict)
bool cpe_name_match_dict_str (const char *cpe, cpe_dict_t *dict)


Detailed Description

Interface to Common Product Enumeration (CPE) matching facilities.

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


Function Documentation

bool cpe_name_match_dict ( cpe_t cpe,
cpe_dict_t dict 
)

Verify wether given CPE is known according to specified dictionary

Parameters:
cpe CPE to verify
dict used CPE dictionary
Returns:
true if dictionary contains given CPE

bool cpe_name_match_dict_str ( const char *  cpe,
cpe_dict_t dict 
)

Verify if CPE given by string is known according to specified dictionary

Parameters:
cpe CPE to verify
dict used CPE dictionary
Returns:
true if dictionary contains given CPE


Generated on Sun Mar 29 13:29:21 2009 for Open SCAP Library by  doxygen 1.5.6