Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
oval_criteria_node Struct Reference

Specify oval_definition dependencies. More...

#include <oval_definitions.h>

Collaboration diagram for oval_criteria_node:
[legend]

Public Member Functions

OSCAP_API struct oval_criteria_nodeoval_criteria_node_new (struct oval_definition_model *, oval_criteria_node_type_t type)
 Construct an instance of oval_criteria_node.
 
OSCAP_API struct oval_criteria_nodeoval_criteria_node_clone (struct oval_definition_model *new_model, struct oval_criteria_node *old_node)
 Clone an instance of oval_criteria_node.
 
OSCAP_API void oval_criteria_node_free (struct oval_criteria_node *)
 Free an instance of oval_criteria_node.
 
Setters
OSCAP_API void oval_criteria_node_set_negate (struct oval_criteria_node *, bool negate)
 Set attribute Oval_criteria_node->negate.
 
OSCAP_API void oval_criteria_node_set_applicability_check (struct oval_criteria_node *, bool applicability_check)
 Set attribute Oval_criteria_node->applicability_check.
 
OSCAP_API void oval_criteria_set_node_type (struct oval_criteria_node *node, oval_criteria_node_type_t type)
 Set attribute Oval_criteria_node->type.
 
OSCAP_API void oval_criteria_node_set_comment (struct oval_criteria_node *, char *comment)
 set attribute Oval_criteria_node->comment.
 
OSCAP_API void oval_criteria_node_set_operator (struct oval_criteria_node *, oval_operator_t op)
 Set attribute Oval_criteria->operator.
 
OSCAP_API void oval_criteria_node_add_subnode (struct oval_criteria_node *, struct oval_criteria_node *node)
 Append instance of Oval_criteria_node to attribute Oval_criteria->subnodes.
 
OSCAP_API void oval_criteria_node_set_test (struct oval_criteria_node *, struct oval_test *)
 Sets attribute Oval_criterion->test.
 
OSCAP_API void oval_criteria_node_set_definition (struct oval_criteria_node *, struct oval_definition *)
 Sets attribute Oval_extends->definition.
 
Getters
OSCAP_API oval_criteria_node_type_t oval_criteria_node_get_type (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->type.
 
OSCAP_API bool oval_criteria_node_get_negate (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->negate.
 
OSCAP_API bool oval_criteria_node_get_applicability_check (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->applicability_check.
 
OSCAP_API char * oval_criteria_node_get_comment (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->comment.
 
OSCAP_API oval_operator_t oval_criteria_node_get_operator (struct oval_criteria_node *)
 Returns attribute Oval_criteria->operator HOWDI.
 
OSCAP_API struct oval_criteria_node_iteratoroval_criteria_node_get_subnodes (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->subnodes.
 
OSCAP_API struct oval_testoval_criteria_node_get_test (struct oval_criteria_node *)
 Returns attribute Oval_criterion->test.
 
OSCAP_API struct oval_definitionoval_criteria_node_get_definition (struct oval_criteria_node *)
 Returns attribute Oval_extends->definition.
 

Data Fields

struct oval_definition_modelmodel
 
oval_criteria_node_type_t type
 
int negate
 
char * comment
 
int applicability_check
 

Detailed Description

Specify oval_definition dependencies.

An Oval_criteria_node specifies oval_definition dependencies as follows:


The documentation for this struct was generated from the following files: