cpe_reference Struct Reference
CPE Dictionary

CPE dictionary item reference. More...

`#include <cpedict_priv.h>`

## Public Member Functions

void | cpe_reference_free (struct cpe_reference *ref)
struct cpe_reference * | cpe_reference_new (void)
Getters
Return value is pointer to structure's member. Do not free unless you null the pointer in the structure. Use remove function otherwise.
const char * | cpe_reference_get_href (const struct cpe_reference *item)
| cpe_reference functions to get href of reference More...
const char * | cpe_reference_get_content (const struct cpe_reference *item)
| cpe_reference functions to get content of reference More...
Setters
For lists use add functions. Parameters of set functions are duplicated in memory and need to be freed by caller.
bool | cpe_reference_set_href (struct cpe_reference *reference, const char *new_href)
bool | cpe_reference_set_content (struct cpe_reference *reference, const char *new_content)

## Data Fields

char * | href
char * | content

## Detailed Description

CPE dictionary item reference.

The documentation for this struct was generated from the following files:

- cpedict_priv.c
- cpe_dict.h