/home/pvrabec/tmp/openscap/openscap-0.1.4/src/CPE/cpedict.h File Reference
Interface to Common Product Enumeration (CPE) Dictionary.
More...
#include <stdlib.h>
#include "cpeuri.h"
Go to the source code of this file.
Detailed Description
Interface to Common Product Enumeration (CPE) Dictionary.
See more details at http://nvd.nist.gov/cpe.cfm
Function Documentation
Add item to dictionary dict
- Note:
- item will be deleted as soon as you call cpe_dict_delete on dictionary.
- Parameters:
-
| dict | dictionary to add new item to |
| item | pointer to item to add |
- Returns:
- true on success
Frees CPE dictionary and its contents
- Parameters:
-
| dict | dictionary to be deleted |
Load new CPE dictionary from file
- Parameters:
-
| fname | file name of dictionary to load |
- Returns:
- new dictionary
- Return values:
-
Create new empty CPE dictionary
- Returns:
- new dictionary
- Return values:
-
Free dictionary item
- Parameters:
-
Create new empty dictionary item
- Returns:
- new dictionary item
- Return values:
-