#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/elements.h"
Data Structures | |
struct | oval_state |
An Oval_state instance is a collection of one or more characteristics pertaining to a specific object type. More... | |
Typedefs | |
typedef struct oval_state | oval_state_t |
Functions | |
bool | oval_state_iterator_has_more (struct oval_state_iterator *oc_state) |
Returns true if the iterator is not exhausted. | |
struct oval_state * | oval_state_iterator_next (struct oval_state_iterator *oc_state) |
Returns the next instance of oval_state. | |
void | oval_state_iterator_free (struct oval_state_iterator *oc_state) |
Frees the iterator. | |
oval_family_t | oval_state_get_family (struct oval_state *state) |
Returns attribute oval_state->family oval_state. | |
oval_subtype_t | oval_state_get_subtype (struct oval_state *state) |
Returns attribute oval_state->subtype oval_state. | |
const char * | oval_state_get_name (struct oval_state *state) |
Returns the name of an oval_state. | |
struct oval_string_iterator * | oval_state_get_notes (struct oval_state *state) |
Returns attribute oval_state->notes. | |
struct oval_state_content_iterator * | oval_state_get_contents (struct oval_state *state) |
Returns attribute oval_state->contents. | |
char * | oval_state_get_comment (struct oval_state *state) |
Returns attribute oval_state->comment. | |
char * | oval_state_get_id (struct oval_state *state) |
Returns attribute oval_state->id. | |
bool | oval_state_get_deprecated (struct oval_state *state) |
Returns attribute oval_state->deprecated. | |
int | oval_state_get_version (struct oval_state *state) |
Returns attribute oval_state->version. | |
int | oval_state_get_operator (struct oval_state *state) |
Returns attribute oval_state->operator. | |
struct oval_state * | oval_state_new (struct oval_definition_model *model, const char *id) |
Construct new intance of oval_state. | |
struct oval_state * | oval_state_clone (struct oval_definition_model *new_model, struct oval_state *old_state) |
Clone instance of oval_state and add it to the specified oval_definition_model. | |
void | oval_state_free (struct oval_state *state) |
Free instance of oval_state oval_state. | |
void | oval_state_set_subtype (struct oval_state *state, oval_subtype_t subtype) |
Sets attributes oval_state->subtype and oval_state->family. | |
void | oval_state_add_note (struct oval_state *state, char *notes) |
Appends a copy of the note parameter to attribute oval_state->notes. | |
void | oval_state_set_comment (struct oval_state *state, char *comm) |
Sets a copy of the comment parameter to attribute oval_state->comment. | |
void | oval_state_set_deprecated (struct oval_state *state, bool deprecated) |
Sets attribute oval_state->deprecated. | |
void | oval_state_set_version (struct oval_state *state, int version) |
Sets attribute oval_state->version. | |
void | oval_state_set_operator (struct oval_state *state, oval_operator_t operator) |
Sets attribute oval_state->operator. | |
void | oval_state_add_content (struct oval_state *state, struct oval_state_content *content) |
Append instance of oval_state_content to attribute oval_state->state_contents. | |
oval_version_t | oval_state_get_schema_version (const struct oval_state *state) |
oval_schema_version_t | oval_state_get_platform_schema_version (const struct oval_state *state) |
int | oval_state_parse_tag (xmlTextReaderPtr reader, struct oval_parser_context *context, void *usr) |
xmlNode * | oval_state_to_dom (struct oval_state *state, xmlDoc *doc, xmlNode *parent) |
See more details at http://oval.mitre.org/