#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oval_definitions_impl.h"
#include "adt/oval_collection_impl.h"
#include "oval_agent_api_impl.h"
#include "common/util.h"
#include "common/debug_priv.h"
#include "common/_error.h"
Data Structures | |
| struct | oval_criteria_node |
| Specify oval_definition dependencies. More... | |
| struct | oval_criteria_node_CRITERIA |
| struct | oval_criteria_node_CRITERION |
| struct | oval_criteria_node_EXTENDDEF |
Typedefs | |
| typedef struct oval_criteria_node | oval_criteria_node_t |
|
typedef struct oval_criteria_node_CRITERIA | oval_criteria_node_CRITERIA_t |
|
typedef struct oval_criteria_node_CRITERION | oval_criteria_node_CRITERION_t |
|
typedef struct oval_criteria_node_EXTENDDEF | oval_criteria_node_EXTENDDEF_t |
Functions | |
| bool | oval_criteria_node_iterator_has_more (struct oval_criteria_node_iterator *oc_criteria_node) |
| Returns true if the iterator is not exhausted. | |
| struct oval_criteria_node * | oval_criteria_node_iterator_next (struct oval_criteria_node_iterator *oc_criteria_node) |
| Returns the next instance of Oval_criteria_node from the iterator. | |
| void | oval_criteria_node_iterator_free (struct oval_criteria_node_iterator *oc_criteria_node) |
| Free the iterator. | |
| oval_criteria_node_type_t | oval_criteria_node_get_type (struct oval_criteria_node *node) |
| Returns attribute Oval_criteria_node->type. | |
| bool | oval_criteria_node_get_negate (struct oval_criteria_node *node) |
| Returns attribute Oval_criteria_node->negate. | |
| bool | oval_criteria_node_get_applicability_check (struct oval_criteria_node *node) |
| Returns attribute Oval_criteria_node->applicability_check. | |
| char * | oval_criteria_node_get_comment (struct oval_criteria_node *node) |
| Returns attribute Oval_criteria_node->comment. | |
| oval_operator_t | oval_criteria_node_get_operator (struct oval_criteria_node *node) |
| Returns attribute Oval_criteria->operator HOWDI. | |
| struct oval_criteria_node_iterator * | oval_criteria_node_get_subnodes (struct oval_criteria_node *node) |
| Returns attribute Oval_criteria_node->subnodes. | |
| struct oval_test * | oval_criteria_node_get_test (struct oval_criteria_node *node) |
| Returns attribute Oval_criterion->test. | |
| struct oval_definition * | oval_criteria_node_get_definition (struct oval_criteria_node *node) |
| Returns attribute Oval_extends->definition. | |
| struct oval_criteria_node * | oval_criteria_node_new (struct oval_definition_model *model, oval_criteria_node_type_t type) |
| Construct an instance of oval_criteria_node. | |
| struct oval_criteria_node * | oval_criteria_node_clone (struct oval_definition_model *new_model, struct oval_criteria_node *old_node) |
| Clone an instance of oval_criteria_node. | |
| void | oval_criteria_node_free (struct oval_criteria_node *node) |
| Free an instance of oval_criteria_node. | |
| void | oval_criteria_set_node_type (struct oval_criteria_node *node, oval_criteria_node_type_t type) |
| Set attribute Oval_criteria_node->type. | |
| void | oval_criteria_node_set_negate (struct oval_criteria_node *node, bool negate) |
| Set attribute Oval_criteria_node->negate. | |
| void | oval_criteria_node_set_applicability_check (struct oval_criteria_node *node, bool applicability_check) |
| Set attribute Oval_criteria_node->applicability_check. | |
| void | oval_criteria_node_set_comment (struct oval_criteria_node *node, char *comm) |
| set attribute Oval_criteria_node->comment. | |
| void | oval_criteria_node_set_operator (struct oval_criteria_node *node, oval_operator_t op) |
| Set attribute Oval_criteria->operator. | |
| void | oval_criteria_node_add_subnode (struct oval_criteria_node *node, struct oval_criteria_node *subnode) |
| Append instance of Oval_criteria_node to attribute Oval_criteria->subnodes. | |
| void | oval_criteria_node_set_test (struct oval_criteria_node *node, struct oval_test *test) |
| Sets attribute Oval_criterion->test. | |
| void | oval_criteria_node_set_definition (struct oval_criteria_node *node, struct oval_definition *definition) |
| Sets attribute Oval_extends->definition. | |
| int | oval_criteria_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, oval_criteria_consumer consumer, void *user) |
| xmlNode * | oval_criteria_node_to_dom (struct oval_criteria_node *cnode, xmlDoc *doc, xmlNode *parent) |
See more details at http://oval.mitre.org/
1.5.6