Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
oval_resultCriteriaNode.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 <stdarg.h>
#include <string.h>
#include "oval_agent_api_impl.h"
#include "results/oval_results_impl.h"
#include "adt/oval_collection_impl.h"
#include "common/util.h"
#include "common/debug_priv.h"

Data Structures

struct  oval_result_criteria_node
 
struct  oval_result_criteria_node_CRITERIA
 
struct  oval_result_criteria_node_CRITERION
 
struct  oval_result_criteria_node_EXTENDDEF
 

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, int applicability_check,...)
 
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, int variable_instance)
 
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_negate (struct oval_result_criteria_node *node, oval_result_t result)
 
oval_result_t oval_result_criteria_node_eval (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)
 
bool oval_result_criteria_node_get_applicability_check (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_applicability_check (struct oval_result_criteria_node *node, bool applicability_check)
 
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_operator (struct oval_result_criteria_node *node, oval_operator_t operator)
 
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)