/home/pvrabec/project/openscap/openscap-0.6.0/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.

Typedefs

typedef enum oscap_document_type oscap_document_type_t
 SCAP document type identifiers.

Enumerations

enum  oscap_document_type {
  OSCAP_DOCUMENT_OVAL_DEFINITIONS = 1, OSCAP_DOCUMENT_OVAL_SYSCHAR, OSCAP_DOCUMENT_OVAL_RESULTS, OSCAP_DOCUMENT_XCCDF,
  OSCAP_DOCUMENT_CPE_LANGUAGE, OSCAP_DOCUMENT_CPE_DICTIONARY
}
 

SCAP document type identifiers.

More...

Functions

void oscap_cleanup (void)
 Release library internal caches.
bool oscap_validate_document (const char *xmlfile, oscap_document_type_t doctype, const char *version, oscap_reporter reporter, void *arg)
 Validate a SCAP document file against a XML schema.

Detailed Description

General OpenScap functions and types.

Author:
Lukas Kuklinek <lkuklinek@redhat.com>

Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1