/home/pvrabec/openscap/openscap-0.5.6/src/OVAL/oval_resultCriteriaNode.c File Reference

Open Vulnerability and Assessment Language. More...

#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include "oval_results_impl.h"
#include "oval_collection_impl.h"
#include "../common/util.h"
#include "../common/public/debug.h"

Data Structures

struct  oval_result_criteria_node
 Handle: Oval_result_criteria_node. More...
struct  oval_result_criteria_node_CRITERIA
struct  oval_result_criteria_node_CRITERION
struct  oval_result_criteria_node_EXTENDDEF

Defines

#define INVALID   (counts[0])
#define _CT   (counts[1])
#define _CF   (counts[2])
#define _CU   (counts[3])
#define _CE   (counts[4])
#define _CNE   (counts[5])
#define _CNA   (counts[6])

Typedefs

typedef struct
oval_result_criteria_node 
oval_result_criteria_node_t
typedef struct
oval_result_criteria_node_CRITERIA 
oval_result_criteria_node_CRITERIA_t
typedef struct
oval_result_criteria_node_CRITERION 
oval_result_criteria_node_CRITERION_t
typedef struct
oval_result_criteria_node_EXTENDDEF 
oval_result_criteria_node_EXTENDDEF_t

Functions

struct oval_result_criteria_nodeoval_result_criteria_node_new (struct oval_result_system *sys, oval_criteria_node_type_t type, int negate,...)
bool oval_result_criteria_node_is_valid (struct oval_result_criteria_node *result_criteria_node)
 return true if the result_criteria_node instance is valid
bool oval_result_criteria_node_is_locked (struct oval_result_criteria_node *result_criteria_node)
 return true if the result_criteria_node instance is locked.
struct oval_result_criteria_nodeoval_result_criteria_node_clone (struct oval_result_system *new_system, struct oval_result_criteria_node *old_node)
void oval_result_criteria_node_free (struct oval_result_criteria_node *node)
struct oval_result_criteria_nodemake_result_criteria_node_from_oval_criteria_node (struct oval_result_system *sys, struct oval_criteria_node *oval_node)
bool oval_result_criteria_node_iterator_has_more (struct oval_result_criteria_node_iterator *oc_result_criteria_node)
struct oval_result_criteria_nodeoval_result_criteria_node_iterator_next (struct oval_result_criteria_node_iterator *oc_result_criteria_node)
void oval_result_criteria_node_iterator_free (struct oval_result_criteria_node_iterator *oc_result_criteria_node)
oval_criteria_node_type_t oval_result_criteria_node_get_type (struct oval_result_criteria_node *node)
oval_result_t oval_result_criteria_node_get_result (struct oval_result_criteria_node *node)
bool oval_result_criteria_node_get_negate (struct oval_result_criteria_node *node)
oval_operator_t oval_result_criteria_node_get_operator (struct oval_result_criteria_node *node)
struct
oval_result_criteria_node_iterator
oval_result_criteria_node_get_subnodes (struct oval_result_criteria_node *node)
struct oval_result_testoval_result_criteria_node_get_test (struct oval_result_criteria_node *node)
struct oval_result_definitionoval_result_criteria_node_get_extends (struct oval_result_criteria_node *node)
void oval_result_criteria_node_set_result (struct oval_result_criteria_node *node, oval_result_t result)
void oval_result_criteria_node_set_negate (struct oval_result_criteria_node *node, bool negate)
void oval_result_criteria_node_set_operator (struct oval_result_criteria_node *node, oval_operator_t operator)
void oval_result_criteria_node_add_subnode (struct oval_result_criteria_node *node, struct oval_result_criteria_node *subnode)
void oval_result_criteria_node_set_test (struct oval_result_criteria_node *node, struct oval_result_test *test)
void oval_result_criteria_node_set_extends (struct oval_result_criteria_node *node, struct oval_result_definition *extends)
int oval_result_criteria_node_parse (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_result_system *sys, oscap_consumer_func consumer, void *client)
xmlNode * oval_result_criteria_node_to_dom (struct oval_result_criteria_node *node, xmlDocPtr doc, xmlNode *parent)

Detailed Description

Open Vulnerability and Assessment Language.

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


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1