Open SCAP Library
|
Interface to Common Platform Enumeration (CPE) URI. More...
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "cpe_name.h"
#include "common/util.h"
#include "common/oscap_pcre.h"
#include "oscap_helpers.h"
Data Structures | |
struct | cpe_name |
Structure holding Common Platform Enumeration URI data. More... | |
Macros | |
#define | _BSD_SOURCE |
#define | _DEFAULT_SOURCE |
#define | CPE_URI_SUPPORTED "2.3" |
Functions | |
char ** | cpe_uri_split (char *str, const char *delim) |
bool | cpe_name_check (const char *str) |
struct cpe_name * | cpe_name_new (const char *cpestr) |
struct cpe_name * | cpe_name_clone (struct cpe_name *old_name) |
bool | cpe_name_match_one (const struct cpe_name *cpe, const struct cpe_name *against) |
cpe_format_t | cpe_name_get_format_of_str (const char *str) |
Looks at given string and returns format it is in. | |
char * | cpe_name_get_as_format (const struct cpe_name *cpe, cpe_format_t format) |
char * | cpe_name_get_as_str (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) |
Interface to Common Platform Enumeration (CPE) URI.
See more details at http://nvd.nist.gov/cpe.cfm