Open SCAP Library
Data Structures | Functions

oval_directives.c File Reference


Detailed Description

Open Vulnerability and Assessment Language.

See more details at http://oval.mitre.org/ @

#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include "oval_directives_impl.h"
#include "adt/oval_collection_impl.h"
#include "oval_parser_impl.h"
#include "common/assume.h"
#include "common/util.h"
#include "common/debug_priv.h"
#include "common/_error.h"
#include "common/elements.h"
#include "oscap_source.h"
#include "source/oscap_source_priv.h"

Data Structures

struct  oval_result_directives
 This structure holds instance of either OVAL Default Directives or OVAL Class directives. More...
struct  oval_directives_model
 This structure holds instance of OVAL Directives. More...

Functions

struct oval_directives_modeloval_directives_model_new (void)
void oval_directives_model_free (struct oval_directives_model *model)
int oval_directives_model_import_source (struct oval_directives_model *model, struct oscap_source *source)
int oval_directives_model_import (struct oval_directives_model *model, char *file)
int oval_directives_model_export (struct oval_directives_model *model, const char *file)
struct oval_generatoroval_directives_model_get_generator (struct oval_directives_model *model)
struct oval_result_directivesoval_directives_model_get_defdirs (struct oval_directives_model *model)
struct oval_result_directivesoval_directives_model_get_classdir (struct oval_directives_model *model, oval_definition_class_t classdir)
struct oval_result_directivesoval_directives_model_get_new_classdir (struct oval_directives_model *model, oval_definition_class_t classdir)
struct oval_result_directivesoval_result_directives_new (void)
void oval_result_directives_free (struct oval_result_directives *directives)
bool oval_result_directives_get_reported (struct oval_result_directives *directives, oval_result_t type)
oval_result_directive_content_t oval_result_directives_get_content (struct oval_result_directives *directives, oval_result_t type)
bool oval_result_directives_get_included (struct oval_result_directives *directives)
void oval_result_directives_set_included (struct oval_result_directives *directives, bool val)
void oval_result_directives_set_reported (struct oval_result_directives *directives, int flag, bool val)
void oval_result_directives_set_content (struct oval_result_directives *directives, int flag, oval_result_directive_content_t content)
int oval_result_directives_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, void *usr)
xmlNode * oval_directives_model_to_dom (struct oval_directives_model *model, xmlDocPtr doc, xmlNode *parent)
int oval_result_directives_to_dom (struct oval_result_directives *directives, xmlDoc *doc, xmlNode *parent)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines