/home/pvrabec/project/openscap/openscap-0.5.12/src/common/public/oscap.h File Reference

General OpenScap functions and types. More...

#include <stdbool.h>
#include <wchar.h>
#include "text.h"
#include "reporter.h"

Go to the source code of this file.

Defines

#define OSCAP_FOREACH_GENERIC(itype, vtype, val, init_val, code)
 Iterate over an array, given an iterator.
#define OSCAP_FOREACH(type, val, init_val, code)   OSCAP_FOREACH_GENERIC(type, struct type *, val, init_val, code)
 Iterate over an array, given an iterator.
#define OSCAP_FOREACH_STR(val, init_val, code)   OSCAP_FOREACH_GENERIC(oscap_string, const char *, val, init_val, code)
 Iterate over an array of strings, given an iterator.
#define OSCAP_FOR_GENERIC(itype, vtype, val, init_val)
 Iterate over an array, given an iterator.
#define OSCAP_FOR(type, val, init_val)   OSCAP_FOR_GENERIC(type, struct type *, val, init_val)
 Iterate over an array, given an iterator.
#define OSCAP_FOR_STR(val, init_val)   OSCAP_FOR_GENERIC(oscap_string, const char *, val, init_val)
 Iterate over an array of strings, given an iterator.

Functions

void oscap_cleanup (void)
 Release library internal caches.
Evaluators



bool oscap_validate_xml (const char *xmlfile, const char *schemafile, struct oscap_reporter *reporter)
 Validate a xml file against given xml schema.

Detailed Description

General OpenScap functions and types.

Author:
Lukas Kuklinek <lkuklinek@redhat.com>

Generated on 30 Jun 2010 for Open SCAP Library by  doxygen 1.6.1