Common

Definitions and functions common to all the OpenScap sublibraries. More...

Modules

 Iterators & collections
 

Iterators concept.


 String manipulation
 

Functions to access and manipulate textual data.


 Validation
 

XML schema based validation of XML representations of SCAP documents.


 Errors
 

Error checking mechanism.


 Reporters
 

Reporting mechanism.


 Debug
 

Debuging mechanism.


 Memory
 

Memory allocation wrapper functions used in library.


Functions

void oscap_init (void)
 Initialize OpenSCAP library.
void oscap_cleanup (void)
 Release library internal caches.
const char * oscap_get_version (void)
 Get version of the OpenSCAP library.

Variables

const char *const OSCAP_OS_PATH_DELIM
 OS-specific filesystem path delimiter.
const char *const OSCAP_SCHEMA_PATH
 Default XML Schema path (if not overridden by the environment variable).
const char *const OSCAP_XSLT_PATH
 Default XSLT path (if not overridden by the environment variable).

Detailed Description

Definitions and functions common to all the OpenScap sublibraries.


Function Documentation

void oscap_cleanup ( void   ) 

Release library internal caches.

This function should be called once you finish working with any of the libraries included in OpenScap framework. It frees internally allocated memory, e.g. cache of the XML parser.

void oscap_init ( void   ) 

Initialize OpenSCAP library.

This is currently needed only in multithreaded applications (needs to be called before any child threads are spawned) or applications using the XSLT facility w/ EXSLT extensions. However, it is a good practice to call this function always at the beginning of the program execution.


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