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

Open Vulnerability and Assessment Language. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <regex.h>
#include <ctype.h>
#include "oval_results_impl.h"
#include "oval_collection_impl.h"
#include "oval_string_map_impl.h"
#include "oval_errno.h"

Data Structures

struct  oval_result_test

Defines

#define OVAL_RESULT_TEST_DEBUG   0
#define ITEMMAP   (struct oval_string_map *)args[2]
#define TEST   (struct oval_result_test *)args[1]
#define SYSTEM   (struct oval_result_system *)args[0]

Typedefs

typedef struct oval_result_test oval_result_test_t

Functions

int rpmvercmp (const char *a, const char *b)
struct oval_result_testoval_result_test_new (struct oval_result_system *system, char *tstid)
struct oval_result_testmake_result_test_from_oval_test (struct oval_result_system *system, struct oval_test *oval_test)
void oval_result_test_free (struct oval_result_test *test)
int oval_result_test_iterator_has_more (struct oval_result_test_iterator *oc_result_test)
struct oval_result_testoval_result_test_iterator_next (struct oval_result_test_iterator *oc_result_test)
void oval_result_test_iterator_free (struct oval_result_test_iterator *oc_result_test)
struct oval_result_systemoval_result_test_get_system (struct oval_result_test *rtest)
struct oval_testoval_result_test_get_test (struct oval_result_test *rtest)
int istrcmp (char *st1, char *st2)
int strregcomp (char *pattern, char *test_str)
oval_result_t evaluate (char *sys_data, char *state_data, oval_datatype_t sys_data_type, oval_datatype_t state_data_type, oval_operation_t operation)
oval_result_t eval_item (struct oval_sysdata *cur_sysdata, struct oval_state *state)
void _oval_test_item_consumer (struct oval_result_item *item, void **args)
oval_result_t _oval_result_test_evaluate_items (struct oval_syschar *syschar_object, struct oval_state *state, oval_check_t test_check, oval_existence_t test_existence_check, void **args)
oval_result_t _oval_result_test_result (struct oval_result_test *rtest, void **args)
oval_result_t oval_result_test_get_result (struct oval_result_test *rtest)
int oval_result_test_get_instance (struct oval_result_test *rtest)
struct oval_messageoval_result_test_get_message (struct oval_result_test *rtest)
struct oval_result_item_iterator * oval_result_test_get_items (struct oval_result_test *rtest)
struct
oval_variable_binding_iterator * 
oval_result_test_get_bindings (struct oval_result_test *rtest)
void oval_result_test_set_result (struct oval_result_test *test, oval_result_t result)
void set_oval_result_test_instance (struct oval_result_test *test, int instance)
void oval_result_test_set_message (struct oval_result_test *test, struct oval_message *message)
void oval_result_test_add_item (struct oval_result_test *test, struct oval_result_item *item)
void oval_result_test_add_binding (struct oval_result_test *test, struct oval_variable_binding *binding)
void _oval_test_message_consumer (struct oval_message *message, struct oval_result_test *test)
int _oval_result_test_binding_parse (xmlTextReaderPtr reader, struct oval_parser_context *context, void **args)
int _oval_result_test_parse (xmlTextReaderPtr reader, struct oval_parser_context *context, void **args)
int oval_result_test_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_result_system *system, oscap_consumer_func consumer, void *client)
xmlNode * _oval_result_binding_to_dom (struct oval_variable_binding *binding, xmlDocPtr doc, xmlNode *parent)
void _oval_result_test_initialize_bindings (struct oval_result_test *rslt_test)
xmlNode * oval_result_test_to_dom (struct oval_result_test *rslt_test, xmlDocPtr doc, xmlNode *parent)

Detailed Description

Open Vulnerability and Assessment Language.

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


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