Open Vulnerability and Assessment Language. More...
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <common/util.h>
#include "oval_results_impl.h"
#include "oval_collection_impl.h"
Data Structures | |
struct | _oval_result_directive |
struct | oval_result_directives |
Defines | |
#define | NUMBER_OF_RESULTS 7 |
Typedefs | |
typedef struct oval_result_directives | oval_result_directives_t |
Functions | |
struct oval_result_directives * | oval_result_directives_new () |
void | oval_result_directives_free (struct oval_result_directives *directives) |
bool | oval_result_directive_get_reported (struct oval_result_directives *directives, oval_result_t type) |
oval_result_directive_content_t | oval_result_directive_get_content (struct oval_result_directives *directives, oval_result_t type) |
void | oval_result_directive_set_reported (struct oval_result_directives *directives, oval_result_t type, bool reported) |
void | oval_result_directive_set_content (struct oval_result_directives *directives, oval_result_t type, oval_result_directive_content_t content) |
int | _oval_result_directives_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, void *client) |
int | oval_result_directives_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, struct oval_result_directives *directives) |
int | oval_result_directives_to_dom (struct oval_result_directives *directives, xmlDoc *doc, xmlNode *parent) |
Variables | |
struct oscap_string_map | _OVAL_DIRECTIVE_MAP [] |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/
struct oscap_string_map _OVAL_DIRECTIVE_MAP[] |
{ { OVAL_RESULT_TRUE , "definition_true" }, { OVAL_RESULT_FALSE , "definition_false" }, { OVAL_RESULT_UNKNOWN , "definition_unknown" }, { OVAL_RESULT_ERROR , "definition_error" }, { OVAL_RESULT_NOT_EVALUATED , "definition_not_evaluated" }, { OVAL_RESULT_NOT_APPLICABLE, "definition_not_applicable"}, { OVAL_RESULT_INVALID , NULL } }