/home/pvrabec/openscap/openscap-0.5.3/src/OVAL/oval_definition.c File Reference

Open Vulnerability and Assessment Language. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oval_definitions_impl.h"
#include "oval_collection_impl.h"
#include "oval_string_map_impl.h"
#include "oval_agent_api_impl.h"

Data Structures

struct  oval_definition
 OVAL definition. More...

Typedefs

typedef struct oval_definition oval_definition_t

Functions

char * oval_definition_get_id (struct oval_definition *definition)
int oval_definition_get_version (struct oval_definition *definition)
oval_definition_class_t oval_definition_get_class (struct oval_definition *definition)
int oval_definition_get_deprecated (struct oval_definition *definition)
char * oval_definition_get_title (struct oval_definition *definition)
char * oval_definition_get_description (struct oval_definition *definition)
struct oval_affected_iterator * oval_definition_get_affected (struct oval_definition *definition)
struct oval_reference_iterator * oval_definition_get_references (struct oval_definition *definition)
struct oval_string_iterator * oval_definition_get_notes (struct oval_definition *definition)
struct oval_criteria_nodeoval_definition_get_criteria (struct oval_definition *definition)
struct oval_definitionoval_definition_new (char *id)
void oval_definition_free (struct oval_definition *definition)
int oval_definition_iterator_has_more (struct oval_definition_iterator *oc_definition)
struct oval_definitionoval_definition_iterator_next (struct oval_definition_iterator *oc_definition)
void oval_definition_iterator_free (struct oval_definition_iterator *oc_definition)
void oval_definition_set_version (struct oval_definition *definition, int version)
void oval_definition_set_class (struct oval_definition *definition, oval_definition_class_t class)
void oval_definition_set_deprecated (struct oval_definition *definition, int deprecated)
void oval_definition_set_title (struct oval_definition *definition, char *title)
void oval_definition_set_description (struct oval_definition *definition, char *description)
void oval_definition_set_criteria (struct oval_definition *definition, struct oval_criteria_node *criteria)
void oval_definition_add_affected (struct oval_definition *definition, struct oval_affected *affected)
void oval_definition_add_reference (struct oval_definition *definition, struct oval_reference *ref)
void oval_definition_add_note (struct oval_definition *definition, char *note)
oval_definition_class_t _odaclass (char *class)
const char * oval_definition_class_text (oval_definition_class_t class)
void _oval_definition_title_consumer (char *string, void *user)
void _oval_definition_description_consumer (char *string, void *user)
void _oval_definition_affected_consumer (struct oval_affected *affected, void *user)
void oval_reference_consume (struct oval_reference *ref, void *def)
int _oval_definition_parse_metadata (xmlTextReaderPtr reader, struct oval_parser_context *context, void *user)
void _oval_definition_criteria_consumer (struct oval_criteria_node *criteria, void *user)
int _oval_definition_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, void *user)
int oval_definition_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context)
void oval_definition_to_print (struct oval_definition *definition, char *indent, int idx)
xmlNode * oval_definition_to_dom (struct oval_definition *definition, xmlDoc *doc, xmlNode *parent)

Variables

struct oscap_string_map OVAL_DEFINITION_CLASS_MAP []

Detailed Description

Open Vulnerability and Assessment Language.

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


Variable Documentation

struct oscap_string_map OVAL_DEFINITION_CLASS_MAP[]
Initial value:
 {
        { OVAL_CLASS_COMPLIANCE,    "compliance"    },
        { OVAL_CLASS_INVENTORY,     "inventory"     },
        { OVAL_CLASS_MISCELLANEOUS, "miscellaneous" },
        { OVAL_CLASS_PATCH,         "patch"         },
        { OVAL_CLASS_VULNERABILITY, "vulnerability" },
        { OVAL_CLASS_UNKNOWN,       NULL            }
}

Generated on 29 Sep 2009 for Open SCAP Library by  doxygen 1.6.1