oval_definitions.h File Reference

#include "oscap.h"
#include "oscap_source.h"
#include "oval_adt.h"
#include "oval_types.h"
#include "oval_version.h"
#include "oval_schema_version.h"
#include <stdbool.h>

Go to the source code of this file.

Defines

#define OVAL_FUNCTION   4

Enumerations

enum  oval_affected_family_t {
  OVAL_AFCFML_UNKNOWN = 0, OVAL_AFCFML_CATOS = 1, OVAL_AFCFML_IOS = 2, OVAL_AFCFML_MACOS = 3,
  OVAL_AFCFML_PIXOS = 4, OVAL_AFCFML_UNDEFINED = 5, OVAL_AFCFML_UNIX = 6, OVAL_AFCFML_WINDOWS = 7
}
 Affected family enumeration. More...
enum  oval_criteria_node_type_t { OVAL_NODETYPE_UNKNOWN = 0, OVAL_NODETYPE_CRITERIA = 1, OVAL_NODETYPE_CRITERION = 2, OVAL_NODETYPE_EXTENDDEF = 3 }
 Criteria node type.
enum  oval_operator_t {
  OVAL_OPERATOR_UNKNOWN = 0, OVAL_OPERATOR_AND = 1, OVAL_OPERATOR_ONE = 2, OVAL_OPERATOR_OR = 3,
  OVAL_OPERATOR_XOR = 4
}
 Boolean operators.
enum  oval_operation_t {
  OVAL_OPERATION_UNKNOWN = 0, OVAL_OPERATION_BITWISE_AND, OVAL_OPERATION_BITWISE_OR, OVAL_OPERATION_CASE_INSENSITIVE_EQUALS,
  OVAL_OPERATION_CASE_INSENSITIVE_NOT_EQUAL, OVAL_OPERATION_EQUALS, OVAL_OPERATION_GREATER_THAN, OVAL_OPERATION_GREATER_THAN_OR_EQUAL,
  OVAL_OPERATION_LESS_THAN, OVAL_OPERATION_LESS_THAN_OR_EQUAL, OVAL_OPERATION_NOT_EQUAL, OVAL_OPERATION_PATTERN_MATCH,
  OVAL_OPERATION_SUBSET_OF, OVAL_OPERATION_SUPERSET_OF
}
 Operations.
enum  oval_existence_t {
  OVAL_EXISTENCE_UNKNOWN = 0, OVAL_ALL_EXIST = 1, OVAL_ANY_EXIST = 2, OVAL_AT_LEAST_ONE_EXISTS = 3,
  OVAL_ONLY_ONE_EXISTS = 4, OVAL_NONE_EXIST = 5
}
 Existence check enumeration.
enum  oval_check_t {
  OVAL_CHECK_UNKNOWN = 0, OVAL_CHECK_ALL = 1, OVAL_CHECK_AT_LEAST_ONE = 2, OVAL_CHECK_NONE_EXIST = 3,
  OVAL_CHECK_NONE_SATISFY = 4, OVAL_CHECK_ONLY_ONE = 5
}
 Check enumeration.
enum  oval_object_content_type_t { OVAL_OBJECTCONTENT_UNKNOWN = 0, OVAL_OBJECTCONTENT_ENTITY = 1, OVAL_OBJECTCONTENT_SET = 2, OVAL_OBJECTCONTENT_FILTER = 3 }
 Type of object content.
enum  oval_entity_type_t {
  OVAL_ENTITY_TYPE_UNKNOWN, OVAL_ENTITY_TYPE_ANY, OVAL_ENTITY_TYPE_BINARY, OVAL_ENTITY_TYPE_BOOLEAN,
  OVAL_ENTITY_TYPE_FLOAT, OVAL_ENTITY_TYPE_INTEGER, OVAL_ENTITY_TYPE_STRING
}
 Type of OVAL entity.
enum  oval_filter_action_t { OVAL_FILTER_ACTION_UNKNOWN = 0, OVAL_FILTER_ACTION_EXCLUDE, OVAL_FILTER_ACTION_INCLUDE }
 Type of filter action.
enum  oval_datatype_t {
  OVAL_DATATYPE_UNKNOWN = 0, OVAL_DATATYPE_BINARY, OVAL_DATATYPE_BOOLEAN, OVAL_DATATYPE_EVR_STRING,
  OVAL_DATATYPE_FILESET_REVISION, OVAL_DATATYPE_FLOAT, OVAL_DATATYPE_INTEGER, OVAL_DATATYPE_IOS_VERSION,
  OVAL_DATATYPE_IPV4ADDR, OVAL_DATATYPE_IPV6ADDR, OVAL_DATATYPE_RECORD, OVAL_DATATYPE_SEXP,
  OVAL_DATATYPE_STRING, OVAL_DATATYPE_STRING_M, OVAL_DATATYPE_VERSION, OVAL_DATATYPE_DEBIAN_EVR_STRING
}
 Datatypes.
enum  oval_entity_varref_type_t { OVAL_ENTITY_VARREF_UNKNOWN, OVAL_ENTITY_VARREF_NONE, OVAL_ENTITY_VARREF_ATTRIBUTE, OVAL_ENTITY_VARREF_ELEMENT }
 Varref types.
enum  oval_setobject_type_t { OVAL_SET_UNKNOWN, OVAL_SET_AGGREGATE, OVAL_SET_COLLECTIVE }
 OVAL set object types.
enum  oval_setobject_operation_t { OVAL_SET_OPERATION_UNKNOWN, OVAL_SET_OPERATION_COMPLEMENT = 1, OVAL_SET_OPERATION_INTERSECTION = 2, OVAL_SET_OPERATION_UNION = 3 }
 Set operations.
enum  oval_variable_type_t { OVAL_VARIABLE_UNKNOWN, OVAL_VARIABLE_EXTERNAL, OVAL_VARIABLE_CONSTANT, OVAL_VARIABLE_LOCAL }
 OVAL variable types.
enum  oval_component_type_t {
  OVAL_COMPONENT_UNKNOWN = 0, OVAL_COMPONENT_LITERAL = 1, OVAL_COMPONENT_OBJECTREF = 2, OVAL_COMPONENT_VARREF = 3,
  OVAL_COMPONENT_FUNCTION = 4, OVAL_FUNCTION_BEGIN = OVAL_FUNCTION + 1, OVAL_FUNCTION_CONCAT = OVAL_FUNCTION + 2, OVAL_FUNCTION_END = OVAL_FUNCTION + 3,
  OVAL_FUNCTION_SPLIT = OVAL_FUNCTION + 4, OVAL_FUNCTION_SUBSTRING = OVAL_FUNCTION + 5, OVAL_FUNCTION_TIMEDIF = OVAL_FUNCTION + 6, OVAL_FUNCTION_ESCAPE_REGEX = OVAL_FUNCTION + 7,
  OVAL_FUNCTION_REGEX_CAPTURE = OVAL_FUNCTION + 8, OVAL_FUNCTION_ARITHMETIC = OVAL_FUNCTION + 9, OVAL_FUNCTION_COUNT = OVAL_FUNCTION + 10, OVAL_FUNCTION_UNIQUE = OVAL_FUNCTION + 11,
  OVAL_FUNCTION_GLOB_TO_REGEX = OVAL_FUNCTION + 12, OVAL_FUNCTION_LAST = OVAL_FUNCTION + 13
}
 Component types.
enum  oval_arithmetic_operation_t {
  OVAL_ARITHMETIC_UNKNOWN = 0, OVAL_ARITHMETIC_ADD = 1, OVAL_ARITHMETIC_MULTIPLY = 2, OVAL_ARITHMETIC_SUBTRACT = 3,
  OVAL_ARITHMETIC_DIVIDE = 4
}
 Arithmetic format enumeration.
enum  oval_datetime_format_t {
  OVAL_DATETIME_UNKNOWN = 0, OVAL_DATETIME_YEAR_MONTH_DAY = 1, OVAL_DATETIME_MONTH_DAY_YEAR = 2, OVAL_DATETIME_DAY_MONTH_YEAR = 3,
  OVAL_DATETIME_WIN_FILETIME = 4, OVAL_DATETIME_SECONDS_SINCE_EPOCH = 5, OVAL_DATETIME_CIM_DATETIME = 6
}
 Datetime format enumeration.
enum  oval_record_field_type_t { OVAL_RECORD_FIELD_UNKNOWN = 0, OVAL_RECORD_FIELD_STATE = 1, OVAL_RECORD_FIELD_ITEM = 2 }

Functions

oval_family_t oval_subtype_get_family (oval_subtype_t)
 Get the family associated with a given subtype.
const char * oval_operator_get_text (oval_operator_t)
const char * oval_subtype_get_text (oval_subtype_t)
const char * oval_family_get_text (oval_family_t)
const char * oval_check_get_text (oval_check_t)
const char * oval_existence_get_text (oval_existence_t)
const char * oval_affected_family_get_text (oval_affected_family_t)
const char * oval_datatype_get_text (oval_datatype_t)
oval_datatype_t oval_datatype_from_text (const char *)
const char * oval_operation_get_text (oval_operation_t)
const char * oval_set_operation_get_text (oval_setobject_operation_t)
const char * oval_datetime_format_get_text (oval_datetime_format_t)
const char * oval_arithmetic_operation_get_text (oval_arithmetic_operation_t)
const char * oval_filter_action_get_text (oval_filter_action_t)
struct oval_generator * oval_generator_new (void)
void oval_generator_free (struct oval_generator *generator)
struct oval_generator * oval_generator_clone (struct oval_generator *old_generator)
char * oval_generator_get_product_name (struct oval_generator *generator)
char * oval_generator_get_product_version (struct oval_generator *generator)
char * oval_generator_get_schema_version (struct oval_generator *generator)
const char * oval_generator_get_core_schema_version (struct oval_generator *generator)
char * oval_generator_get_timestamp (struct oval_generator *generator)
const char * oval_generator_get_platform_schema_version (struct oval_generator *generator, const char *platform)
void oval_generator_set_product_name (struct oval_generator *generator, const char *product_name)
void oval_generator_set_product_version (struct oval_generator *generator, const char *product_version)
void oval_generator_set_schema_version (struct oval_generator *generator, const char *schema_version)
void oval_generator_set_core_schema_version (struct oval_generator *generator, const char *schema_version)
void oval_generator_add_platform_schema_version (struct oval_generator *generator, const char *platform, const char *schema_version)
void oval_generator_set_timestamp (struct oval_generator *generator, const char *timestamp)
void oval_generator_update_timestamp (struct oval_generator *generator)
struct oval_definition_modeloval_definition_model_new (void)
 Create an empty oval_definition_model.
struct oval_definition_modeloval_definition_model_import_source (struct oscap_source *source)
 Import the content of the oscap_source into the oval_definition_model oval_definition_model.
struct oval_definition_modeloval_definition_model_import (const char *file)
 Import the content from the file into an oval_definition_model.
int oval_definition_model_merge (struct oval_definition_model *model, const char *file)
 Merge the content from the file with specified oval_definition_model.
struct oval_definition_modeloval_definition_model_clone (struct oval_definition_model *)
 Copy an oval_definition_model.
int oval_definition_model_export (struct oval_definition_model *, const char *file)
 Export an oval_definition_model into file.
void oval_definition_model_free (struct oval_definition_model *model)
 Free OVAL object model and all binded variable models.
struct oval_definitionoval_definition_new (struct oval_definition_model *, const char *id)
 Construct an instance of oval_definition.
struct oval_definitionoval_definition_clone (struct oval_definition_model *new_model, struct oval_definition *old_definition)
 Clone instance of oval_definition and add it to the specified oval_definition_model.
void oval_definition_free (struct oval_definition *)
 Release an instance of oval_definition.
struct oval_testoval_test_new (struct oval_definition_model *, const char *id)
 Construct new instance of oval_test.
struct oval_testoval_test_clone (struct oval_definition_model *new_model, struct oval_test *old_test)
 Clone instance of oval_test and add it to the specified oval_definition_model.
void oval_test_free (struct oval_test *)
 Destruct instance of oval_test.
struct oval_objectoval_object_new (struct oval_definition_model *, const char *id)
 Construct new intance of oval_object.
struct oval_objectoval_object_clone (struct oval_definition_model *new_model, struct oval_object *old_object)
 Clone instance of oval_object and add it to the specified oval_definition_model.
void oval_object_free (struct oval_object *)
 Free instance of oval_object oval_object.
struct oval_stateoval_state_new (struct oval_definition_model *, const char *id)
 Construct new intance of oval_state.
struct oval_stateoval_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 *)
 Free instance of oval_state oval_state.
struct oval_variableoval_variable_new (struct oval_definition_model *model, const char *id, oval_variable_type_t type)
 Construct new instance of oval_variable.
struct oval_variableoval_variable_clone (struct oval_definition_model *new_model, struct oval_variable *old_variable)
 Clone instance of oval_variable and add it to the specified oval_definition_model.
void oval_variable_free (struct oval_variable *)
 Free instance of oval_variable.
struct
oval_variable_possible_value * 
oval_variable_possible_value_new (const char *hint, const char *value)
 Construct new instance of possible_value element.
void oval_variable_possible_value_free (struct oval_variable_possible_value *pv)
 Free instance of possible_value oval_variable_possible_value.
char * oval_variable_possible_value_get_hint (struct oval_variable_possible_value *pv)
 Get the hint of the possible_value oval_variable_possible_value.
char * oval_variable_possible_value_get_value (struct oval_variable_possible_value *pv)
 Get the value of the possible value oval_variable_possible_value.
struct
oval_variable_possible_restriction * 
oval_variable_possible_restriction_new (oval_operator_t operator, const char *hint)
 Construct new instance of possible_restriction element.
void oval_variable_possible_restriction_free (struct oval_variable_possible_restriction *pr)
 Free instance of possible_restriction oval_variable_possible_restriction.
struct oval_variable_restriction * oval_variable_restriction_new (oval_operation_t operation, const char *value)
 Construct new instance of restriction element.
void oval_variable_restriction_free (struct oval_variable_restriction *r)
 Free instance of restriction element.
oval_operation_t oval_variable_restriction_get_operation (struct oval_variable_restriction *restriction)
 Get the operation of a restriction element.
char * oval_variable_restriction_get_value (struct oval_variable_restriction *restriction)
 Get the value of a restriction element.
struct oval_affectedoval_affected_new (struct oval_definition_model *)
 Construct instance of oval_affected.
struct oval_affectedoval_affected_clone (struct oval_definition_model *new_model, struct oval_affected *old_affected)
 Clone instance of oval_affected.
void oval_affected_free (struct oval_affected *)
 Release instance of oval_affected.
struct oval_referenceoval_reference_new (struct oval_definition_model *)
 oval_reference
struct oval_referenceoval_reference_clone (struct oval_definition_model *new_model, struct oval_reference *old_reference)
void oval_reference_free (struct oval_reference *)
 oval_reference
struct oval_criteria_nodeoval_criteria_node_new (struct oval_definition_model *, oval_criteria_node_type_t type)
 Construct an instance of oval_criteria_node.
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.
void oval_criteria_node_free (struct oval_criteria_node *)
 Free an instance of oval_criteria_node.
struct oval_object_contentoval_object_content_new (struct oval_definition_model *model, oval_object_content_type_t type)
 oval_object_content
struct oval_object_contentoval_object_content_clone (struct oval_definition_model *new_model, struct oval_object_content *old_content)
void oval_object_content_free (struct oval_object_content *)
 oval_object_content
struct oval_behavioroval_behavior_new (struct oval_definition_model *)
 oval_behavior
struct oval_behavioroval_behavior_clone (struct oval_definition_model *new_model, struct oval_behavior *old_behavior)
void oval_behavior_free (struct oval_behavior *)
 oval_behavior
struct oval_state_contentoval_state_content_new (struct oval_definition_model *)
 oval_state_content
struct oval_state_contentoval_state_content_clone (struct oval_definition_model *new_model, struct oval_state_content *old_content)
void oval_state_content_free (struct oval_state_content *)
 oval_state_content
struct oval_valueoval_value_new (oval_datatype_t datatype, char *text_value)
 oval_value
struct oval_valueoval_value_clone (struct oval_value *old_value)
void oval_value_free (struct oval_value *)
 oval_value
struct oval_entityoval_entity_new (struct oval_definition_model *)
 oval_entity
struct oval_entityoval_entity_clone (struct oval_definition_model *model, struct oval_entity *old_entity)
void oval_entity_free (struct oval_entity *)
 oval_entity
struct oval_record_field * oval_record_field_new (oval_record_field_type_t)
 oval_record_field
struct oval_record_field * oval_record_field_clone (struct oval_record_field *)
 oval_record_field
void oval_record_field_free (struct oval_record_field *)
 oval_record_field
struct oval_filteroval_filter_new (struct oval_definition_model *)
 oval_filter
void oval_filter_free (struct oval_filter *)
 oval_filter
struct oval_filteroval_filter_clone (struct oval_definition_model *, struct oval_filter *)
 oval_filter
struct oval_setobjectoval_setobject_new (struct oval_definition_model *)
 oval_setobject
struct oval_setobjectoval_setobject_clone (struct oval_definition_model *new_model, struct oval_setobject *old_setobject)
void oval_setobject_free (struct oval_setobject *)
 oval_setobject
struct oval_componentoval_component_new (struct oval_definition_model *, oval_component_type_t type)
 Construct new intance of Oval_component.
struct oval_componentoval_component_clone (struct oval_definition_model *new_model, struct oval_component *old_component)
 Clone instance of Oval_component.
void oval_component_free (struct oval_component *)
 Free instance of Oval_component oval_component.
char * oval_determine_document_schema_version (const char *, oscap_document_type_t)
 END OVALDEF.
Setters
void oval_definition_model_set_generator (struct oval_definition_model *model, struct oval_generator *generator)
int oval_definition_model_bind_variable_model (struct oval_definition_model *, struct oval_variable_model *)
 Bind an oval_variable_model to the specified oval_definition_model.
void oval_definition_model_clear_external_variables (struct oval_definition_model *)
Getters
struct oval_generator * oval_definition_model_get_generator (struct oval_definition_model *model)
struct oval_definitionoval_definition_model_get_definition (struct oval_definition_model *, const char *id)
 Returns the appended oval_definition having the specified id.
struct oval_testoval_definition_model_get_test (struct oval_definition_model *model, const char *id)
 Get oval test by ID.
struct oval_objectoval_definition_model_get_object (struct oval_definition_model *model, const char *id)
 Get OVAL object by ID.
struct oval_stateoval_definition_model_get_state (struct oval_definition_model *model, const char *id)
 Get OVAL state by ID.
struct oval_variableoval_definition_model_get_variable (struct oval_definition_model *model, const char *id)
 Get OVAL variable by ID.
struct oval_definition_iteratoroval_definition_model_get_definitions (struct oval_definition_model *model)
 Returns all appended oval_definition instances.
struct oval_test_iteratoroval_definition_model_get_tests (struct oval_definition_model *model)
 Get OVAL tests.
struct oval_object_iteratoroval_definition_model_get_objects (struct oval_definition_model *model)
 Get OVAL objects.
struct oval_state_iteratoroval_definition_model_get_states (struct oval_definition_model *model)
 Get OVAL states.
struct oval_variable_iteratoroval_definition_model_get_variables (struct oval_definition_model *model)
 Get OVAL variables.
const char * oval_definition_model_supported (void)
 Get supported version of OVAL XML.
struct
oval_variable_model_iterator
oval_definition_model_get_variable_models (struct oval_definition_model *)
 Return the list of variable models bound to the specified oval_definition_model.
Setters
void oval_definition_set_version (struct oval_definition *, int version)
 Set attribute oval_definition->version.
void oval_definition_set_class (struct oval_definition *, oval_definition_class_t)
 Set attribute oval_definition->class.
void oval_definition_set_deprecated (struct oval_definition *, bool deprecated)
 Set attribute oval_definition->deprecated.
void oval_definition_set_title (struct oval_definition *, char *title)
 Set attribute oval_definition->title.
void oval_definition_set_description (struct oval_definition *, char *description)
 Set attribute oval_definition->description.
void oval_definition_add_affected (struct oval_definition *, struct oval_affected *affected)
 Append instance of oval_affected to attribute oval_definition->affected.
void oval_definition_add_reference (struct oval_definition *, struct oval_reference *reference)
 Append instance of oval_reference to attribute oval_definition->references.
void oval_definition_add_note (struct oval_definition *, char *note)
 Append a copy of the note parameter to attribute Oval_definition->notes.
void oval_definition_set_criteria (struct oval_definition *, struct oval_criteria_node *criteria)
 Set attribute oval_definition->criteria.
Getters
char * oval_definition_get_id (struct oval_definition *)
 Returns attribute oval_definition->id (identifier).
int oval_definition_get_version (struct oval_definition *)
 Returns attribute oval_definition->version.
oval_definition_class_t oval_definition_get_class (struct oval_definition *)
 Returns attribute oval_definition->class.
bool oval_definition_get_deprecated (struct oval_definition *)
 Returns attribute oval_definition->deprecated.
char * oval_definition_get_title (struct oval_definition *)
 Returns attribute oval_definition->title.
char * oval_definition_get_description (struct oval_definition *)
 Returns attribute oval_definition->description.
struct oval_affected_iteratoroval_definition_get_affected (struct oval_definition *)
 Returns attribute oval_definition->affected.
struct oval_reference_iteratoroval_definition_get_references (struct oval_definition *)
 Returns attribute oval_definition->references.
struct oval_string_iterator * oval_definition_get_notes (struct oval_definition *)
 Returns attribute oval_definition->notes.
struct oval_criteria_nodeoval_definition_get_criteria (struct oval_definition *)
 Returns attribute oval_definition->criteria.
Iterators
bool oval_definition_iterator_has_more (struct oval_definition_iterator *)
 Returns true if the iterator contains more instances of oval_definition.
struct oval_definitionoval_definition_iterator_next (struct oval_definition_iterator *)
 Returns the next iterated instance of oval_definition.
void oval_definition_iterator_free (struct oval_definition_iterator *)
 Free the iterator.
Setters
void oval_test_set_subtype (struct oval_test *, oval_subtype_t subtype)
 Sets attributes oval_test->subtype and Oval_test->family.
void oval_test_add_note (struct oval_test *, char *note)
 Appends a copy of the note parameter to attribute oval_test->notes.
void oval_test_set_comment (struct oval_test *, char *comment)
 Sets a copy of the comment parameter to attribute oval_test->comment.
void oval_test_set_deprecated (struct oval_test *, bool deprecated)
 Sets attribute oval_test->deprecated.
void oval_test_set_version (struct oval_test *, int version)
 Sets attribute oval_test->version.
void oval_test_set_state_operator (struct oval_test *, oval_operator_t)
 Sets attribute oval_test->state_operator.
void oval_test_set_existence (struct oval_test *, oval_existence_t)
 Sets attribute oval_test->existence.
void oval_test_set_check (struct oval_test *, oval_check_t)
 Sets attribute oval_test->check.
void oval_test_set_object (struct oval_test *, struct oval_object *)
 Sets attribute oval_test->object.
void oval_test_add_state (struct oval_test *, struct oval_state *)
 Add the specified state to the state list of the specified test.
Getters
oval_family_t oval_test_get_family (struct oval_test *)
 Returns attribute Oval_test->family oval_test.
oval_subtype_t oval_test_get_subtype (struct oval_test *)
 Returns attribute Oval_test->subtype oval_test.
struct oval_string_iterator * oval_test_get_notes (struct oval_test *)
 Returns attribute oval_test->notes.
char * oval_test_get_comment (struct oval_test *)
 Returns attribute Oval_test->comment.
char * oval_test_get_id (struct oval_test *)
 Returns attribute oval_test->id.
bool oval_test_get_deprecated (struct oval_test *)
 Returns attribute oval_test->deprecated.
int oval_test_get_version (struct oval_test *)
 Returns attribute oval_test->version.
oval_operator_t oval_test_get_state_operator (struct oval_test *)
 Returns attribute oval_test->state_operator.
oval_existence_t oval_test_get_existence (struct oval_test *)
 Returns attribute oval_test->existence.
oval_check_t oval_test_get_check (struct oval_test *)
 Returns attribute oval_test->check.
struct oval_objectoval_test_get_object (struct oval_test *)
 Returns attribute oval_test->object.
struct oval_state_iteratoroval_test_get_states (struct oval_test *)
 Returns attribute oval_test->states.
Iterators
bool oval_test_iterator_has_more (struct oval_test_iterator *)
 Returns true if the iterator is not exhausted.
struct oval_testoval_test_iterator_next (struct oval_test_iterator *)
 Returns the next instance of oval_test.
void oval_test_iterator_free (struct oval_test_iterator *)
 Frees the iterator.
Setters
void oval_object_set_subtype (struct oval_object *, oval_subtype_t subtype)
 Sets attributes oval_object->subtype and oval_object->family.
void oval_object_add_note (struct oval_object *, char *note)
 Appends a copy of the note parameter to attribute oval_object->notes.
void oval_object_set_comment (struct oval_object *, char *comment)
 Sets a copy of the comment parameter to attribute oval_object->comment.
void oval_object_set_deprecated (struct oval_object *, bool deprecated)
 Sets attribute oval_object->deprecated.
void oval_object_set_version (struct oval_object *, int version)
 Sets attribute oval_object->version.
void oval_object_add_object_content (struct oval_object *, struct oval_object_content *content)
 Append instance of oval_object_content to attribute oval_object->object_contents.
void oval_object_add_behavior (struct oval_object *, struct oval_behavior *behavior)
 Append instance of oval_behavior to attribute oval_object->behaviors.
Getters
oval_family_t oval_object_get_family (struct oval_object *)
 Returns attribute oval_object->family oval_object.
const char * oval_object_get_name (struct oval_object *)
 Returns the name of an oval_object.
oval_subtype_t oval_object_get_subtype (struct oval_object *)
 Returns attribute oval_object->subtype oval_object.
struct oval_string_iterator * oval_object_get_notes (struct oval_object *)
 Returns attribute oval_object->notes.
char * oval_object_get_comment (struct oval_object *)
 Returns attribute oval_object->comment.
char * oval_object_get_id (struct oval_object *)
 Returns attribute oval_object->id.
bool oval_object_get_deprecated (struct oval_object *)
 Returns attribute oval_object->deprecated.
int oval_object_get_version (struct oval_object *)
 Returns attribute oval_object->version.
oval_version_t oval_object_get_schema_version (struct oval_object *object)
 Returns schema version of the associated definition model.
oval_schema_version_t oval_object_get_platform_schema_version (struct oval_object *object)
 Returns schema version of the associated platform extension definition model oval_object.
struct
oval_object_content_iterator
oval_object_get_object_contents (struct oval_object *)
 Returns attribute oval_object->contents.
struct oval_behavior_iteratoroval_object_get_behaviors (struct oval_object *)
 Returns attribute oval_object->behaviors.
Iterators
bool oval_object_iterator_has_more (struct oval_object_iterator *)
 Returns true if the iterator is not exhausted.
struct oval_objectoval_object_iterator_next (struct oval_object_iterator *)
 Returns the next instance of oval_object.
void oval_object_iterator_free (struct oval_object_iterator *)
 Frees the iterator.
Setters
void oval_state_set_subtype (struct oval_state *, oval_subtype_t subtype)
 Sets attributes oval_state->subtype and oval_state->family.
void oval_state_add_note (struct oval_state *, char *note)
 Appends a copy of the note parameter to attribute oval_state->notes.
void oval_state_set_comment (struct oval_state *, char *comment)
 Sets a copy of the comment parameter to attribute oval_state->comment.
void oval_state_set_deprecated (struct oval_state *, bool deprecated)
 Sets attribute oval_state->deprecated.
void oval_state_set_version (struct oval_state *, int version)
 Sets attribute oval_state->version.
void oval_state_set_operator (struct oval_state *, oval_operator_t)
 Sets attribute oval_state->operator.
void oval_state_add_content (struct oval_state *, struct oval_state_content *content)
 Append instance of oval_state_content to attribute oval_state->state_contents.
Getters
oval_family_t oval_state_get_family (struct oval_state *)
 Returns attribute oval_state->family oval_state.
const char * oval_state_get_name (struct oval_state *)
 Returns the name of an oval_state.
oval_subtype_t oval_state_get_subtype (struct oval_state *)
 Returns attribute oval_state->subtype oval_state.
struct oval_string_iterator * oval_state_get_notes (struct oval_state *)
 Returns attribute oval_state->notes.
char * oval_state_get_comment (struct oval_state *)
 Returns attribute oval_state->comment.
char * oval_state_get_id (struct oval_state *)
 Returns attribute oval_state->id.
bool oval_state_get_deprecated (struct oval_state *)
 Returns attribute oval_state->deprecated.
int oval_state_get_version (struct oval_state *)
 Returns attribute oval_state->version.
int oval_state_get_operator (struct oval_state *)
 Returns attribute oval_state->operator.
struct
oval_state_content_iterator
oval_state_get_contents (struct oval_state *)
 Returns attribute oval_state->contents.
Iterators
bool oval_state_iterator_has_more (struct oval_state_iterator *)
 Returns true if the iterator is not exhausted.
struct oval_stateoval_state_iterator_next (struct oval_state_iterator *)
 Returns the next instance of oval_state.
void oval_state_iterator_free (struct oval_state_iterator *)
 Frees the iterator.
Iterators
bool oval_variable_possible_value_iterator_has_more (struct oval_variable_possible_value_iterator *)
 oval_variable_possible_value_iterator
struct
oval_variable_possible_value * 
oval_variable_possible_value_iterator_next (struct oval_variable_possible_value_iterator *)
 oval_variable_possible_value_iterator
int oval_variable_possible_value_iterator_remaining (struct oval_variable_possible_value_iterator *)
 oval_variable_possible_value_iterator
void oval_variable_possible_value_iterator_free (struct oval_variable_possible_value_iterator *)
 oval_variable_possible_value_iterator
Iterators
bool oval_variable_possible_restriction_iterator_has_more (struct oval_variable_possible_restriction_iterator *iter)
 oval_variable_possible_restriction_iterator
struct
oval_variable_possible_restriction * 
oval_variable_possible_restriction_iterator_next (struct oval_variable_possible_restriction_iterator *iter)
 oval_variable_possible_restriction_iterator
int oval_variable_possible_restriction_iterator_remaining (struct oval_variable_possible_restriction_iterator *iter)
 oval_variable_possible_restriction_iterator
void oval_variable_possible_restriction_iterator_free (struct oval_variable_possible_restriction_iterator *iter)
 oval_variable_possible_restriction_iterator
Iterators
bool oval_variable_restriction_iterator_has_more (struct oval_variable_restriction_iterator *)
 oval_variable_restriction_iterator
struct oval_variable_restriction * oval_variable_restriction_iterator_next (struct oval_variable_restriction_iterator *)
 oval_variable_restriction_iterator
int oval_variable_restriction_iterator_remaining (struct oval_variable_restriction_iterator *)
 oval_variable_restriction_iterator
void oval_variable_restriction_iterator_free (struct oval_variable_restriction_iterator *)
 oval_variable_restriction_iterator
Setters
void oval_variable_set_comment (struct oval_variable *, char *comment)
 set attribute oval_variable->comment.
void oval_variable_set_version (struct oval_variable *, int version)
 set attribute oval_variable->version.
void oval_variable_set_deprecated (struct oval_variable *, bool deprecated)
 set attribute oval_variable->deprecated.
void oval_variable_set_datatype (struct oval_variable *, oval_datatype_t)
 set attribute oval_variable->datatype.
void oval_variable_add_value (struct oval_variable *, struct oval_value *)
 Append an instance of Oval_value to the attribute Oval_constant->values.
void oval_variable_clear_values (struct oval_variable *)
void oval_variable_add_possible_value (struct oval_variable *variable, struct oval_variable_possible_value *pv)
 Add a new possible value to an external variable.
void oval_variable_add_possible_restriction (struct oval_variable *variable, struct oval_variable_possible_restriction *pr)
 Add a new possible restriction to an external variable.
void oval_variable_possible_restriction_add_restriction (struct oval_variable_possible_restriction *pr, struct oval_variable_restriction *r)
 Add a restriction to the list of possible restrictions.
void oval_variable_set_component (struct oval_variable *, struct oval_component *component)
 Bind an instance of Oval_component to the attribute Oval_local->component.
Getters
char * oval_variable_get_id (struct oval_variable *)
 Returns attribute oval_variable->id.
char * oval_variable_get_comment (struct oval_variable *)
 Returns attribute oval_variable->comment.
int oval_variable_get_version (struct oval_variable *)
 Returns attribute oval_variable->version.
bool oval_variable_get_deprecated (struct oval_variable *)
 Returns attribute oval_variable->deprecated.
oval_variable_type_t oval_variable_get_type (struct oval_variable *)
 Returns attribute oval_variable->type.
oval_datatype_t oval_variable_get_datatype (struct oval_variable *)
 Returns attribute oval_variable->datatype.
struct oval_value_iteratoroval_variable_get_values (struct oval_variable *)
 Returns attribute Oval_external/Oval_constant->values.
struct oval_componentoval_variable_get_component (struct oval_variable *)
 Returns attribute Oval_local->component.
struct oval_iterator * oval_variable_get_possible_values (struct oval_variable *variable)
 Get list of allowed values for an external variable.
struct
oval_variable_possible_value_iterator * 
oval_variable_get_possible_values2 (struct oval_variable *variable)
struct oval_iterator * oval_variable_get_possible_restrictions (struct oval_variable *variable)
 Get list of constraints for an external variable.
struct
oval_variable_possible_restriction_iterator * 
oval_variable_get_possible_restrictions2 (struct oval_variable *variable)
struct oval_iterator * oval_variable_possible_restriction_get_restrictions (struct oval_variable_possible_restriction *possible_restriction)
 Get restrictions from one possible_restriction element.
struct
oval_variable_restriction_iterator * 
oval_variable_possible_restriction_get_restrictions2 (struct oval_variable_possible_restriction *possible_restriction)
oval_operator_t oval_variable_possible_restriction_get_operator (struct oval_variable_possible_restriction *possible_restriction)
 Get operator of possible_restriction element.
char * oval_variable_possible_restriction_get_hint (struct oval_variable_possible_restriction *possible_restriction)
 Get hint of possible_restriction element.
const char * oval_component_type_get_text (oval_component_type_t type)
 Returns attribute Oval_component_type->text.
Iterators
bool oval_variable_iterator_has_more (struct oval_variable_iterator *)
 Returns true if iterator not exhausted.
struct oval_variableoval_variable_iterator_next (struct oval_variable_iterator *)
 Returns next instance of oval_variable.
void oval_variable_iterator_free (struct oval_variable_iterator *)
 Free iterator.
Setters
void oval_affected_set_family (struct oval_affected *, oval_affected_family_t family)
 Set oval_affected family.
void oval_affected_add_platform (struct oval_affected *, char *platform_name)
 Append name to oval_affected platform names.
void oval_affected_add_product (struct oval_affected *, char *product_name)
 Append name to oval_affected product names.
Getters
oval_affected_family_t oval_affected_get_family (struct oval_affected *)
 Get member value oval_affected family.
struct oval_string_iterator * oval_affected_get_platforms (struct oval_affected *)
 Get member values oval_affected platform_names.
struct oval_string_iterator * oval_affected_get_products (struct oval_affected *)
 Get member values oval_affected product_names.
Iterators
bool oval_affected_iterator_has_more (struct oval_affected_iterator *)
 Return true if iterator has more oval_affected.
struct oval_affectedoval_affected_iterator_next (struct oval_affected_iterator *)
 Return next instance of oval_affected from iterator.
void oval_affected_iterator_free (struct oval_affected_iterator *)
 Release instance of oval_affected_ iterator.
Setters
void oval_reference_set_source (struct oval_reference *, char *)
 Set OVAL reference source oval_reference.
void oval_reference_set_id (struct oval_reference *, char *)
 oval_reference
void oval_reference_set_url (struct oval_reference *, char *)
 oval_reference
Getters
char * oval_reference_get_source (struct oval_reference *)
 Get OVAL reference source.
char * oval_reference_get_id (struct oval_reference *)
 Get OVAL reference ID.
char * oval_reference_get_url (struct oval_reference *)
 Get OVAL reference URL.
Iterators
bool oval_reference_iterator_has_more (struct oval_reference_iterator *)
 oval_reference_iterator
struct oval_referenceoval_reference_iterator_next (struct oval_reference_iterator *)
 oval_reference_iterator
void oval_reference_iterator_free (struct oval_reference_iterator *)
 oval_reference_iterator
Setters
void oval_criteria_node_set_negate (struct oval_criteria_node *, bool negate)
 Set attribute Oval_criteria_node->negate.
void oval_criteria_node_set_applicability_check (struct oval_criteria_node *, bool applicability_check)
 Set attribute Oval_criteria_node->applicability_check.
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_comment (struct oval_criteria_node *, char *comment)
 set attribute Oval_criteria_node->comment.
void oval_criteria_node_set_operator (struct oval_criteria_node *, oval_operator_t op)
 Set attribute Oval_criteria->operator.
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.
void oval_criteria_node_set_test (struct oval_criteria_node *, struct oval_test *)
 Sets attribute Oval_criterion->test.
void oval_criteria_node_set_definition (struct oval_criteria_node *, struct oval_definition *)
 Sets attribute Oval_extends->definition.
Getters
oval_criteria_node_type_t oval_criteria_node_get_type (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->type.
bool oval_criteria_node_get_negate (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->negate.
bool oval_criteria_node_get_applicability_check (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->applicability_check.
char * oval_criteria_node_get_comment (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->comment.
oval_operator_t oval_criteria_node_get_operator (struct oval_criteria_node *)
 Returns attribute Oval_criteria->operator HOWDI.
struct
oval_criteria_node_iterator
oval_criteria_node_get_subnodes (struct oval_criteria_node *)
 Returns attribute Oval_criteria_node->subnodes.
struct oval_testoval_criteria_node_get_test (struct oval_criteria_node *)
 Returns attribute Oval_criterion->test.
struct oval_definitionoval_criteria_node_get_definition (struct oval_criteria_node *)
 Returns attribute Oval_extends->definition.
Iterators
bool oval_criteria_node_iterator_has_more (struct oval_criteria_node_iterator *)
 Returns true if the iterator is not exhausted.
struct oval_criteria_nodeoval_criteria_node_iterator_next (struct oval_criteria_node_iterator *)
 Returns the next instance of Oval_criteria_node from the iterator.
void oval_criteria_node_iterator_free (struct oval_criteria_node_iterator *)
 Free the iterator.
Setters
void oval_object_content_set_type (struct oval_object_content *, oval_object_content_type_t)
 oval_object_content
void oval_object_content_set_field_name (struct oval_object_content *, char *)
 oval_object_content
void oval_object_content_set_entity (struct oval_object_content *, struct oval_entity *)
 oval_object_content
void oval_object_content_set_varCheck (struct oval_object_content *, oval_check_t)
 oval_object_content
void oval_object_content_set_setobject (struct oval_object_content *, struct oval_setobject *)
 oval_object_content
void oval_object_content_set_filter (struct oval_object_content *, struct oval_filter *)
 oval_object_content
Getters
char * oval_object_content_get_field_name (struct oval_object_content *)
 Get field name of a object content.
oval_object_content_type_t oval_object_content_get_type (struct oval_object_content *)
 Get type of a object content (entity or set).
struct oval_entityoval_object_content_get_entity (struct oval_object_content *)
 Get entity of a simple object content.
oval_check_t oval_object_content_get_varCheck (struct oval_object_content *)
 Get varCheck of a simple object content.
struct oval_setobjectoval_object_content_get_setobject (struct oval_object_content *)
 Get setobject of a set object content.
struct oval_filteroval_object_content_get_filter (struct oval_object_content *content)
 Get filter of a set object content.
Iterators
bool oval_object_content_iterator_has_more (struct oval_object_content_iterator *)
 oval_object_content_iterator
struct oval_object_contentoval_object_content_iterator_next (struct oval_object_content_iterator *)
 oval_object_content_iterator
void oval_object_content_iterator_free (struct oval_object_content_iterator *)
 oval_object_content_iterator
Setters
void oval_behavior_set_keyval (struct oval_behavior *behavior, const char *key, const char *value)
 oval_behavior
Getters
char * oval_behavior_get_key (struct oval_behavior *)
 Get OVAL behavior name.
char * oval_behavior_get_value (struct oval_behavior *)
 Get OVAL behavior value.
Iterators
bool oval_behavior_iterator_has_more (struct oval_behavior_iterator *)
 oval_behavior_iterator
struct oval_behavioroval_behavior_iterator_next (struct oval_behavior_iterator *)
 oval_behavior_iterator
void oval_behavior_iterator_free (struct oval_behavior_iterator *)
 oval_behavior_iterator
Setters
void oval_state_content_set_entity (struct oval_state_content *, struct oval_entity *)
 oval_state_content
void oval_state_content_add_record_field (struct oval_state_content *, struct oval_record_field *)
 oval_state_content
void oval_state_content_set_varcheck (struct oval_state_content *, oval_check_t)
 oval_state_content
void oval_state_content_set_entcheck (struct oval_state_content *, oval_check_t)
 oval_state_content
void oval_state_content_set_check_existence (struct oval_state_content *content, oval_existence_t existence)
 Sets the "check_existence" attribute of an OVAL state entity.
Getters
struct oval_entityoval_state_content_get_entity (struct oval_state_content *)
 Get entity of a state content.
struct oval_record_field_iterator * oval_state_content_get_record_fields (struct oval_state_content *)
 oval_state_content
oval_check_t oval_state_content_get_var_check (struct oval_state_content *)
 Get multipe variable values processing of a state content.
oval_check_t oval_state_content_get_ent_check (struct oval_state_content *)
 Get multipe entities processing of a state content.
oval_existence_t oval_state_content_get_check_existence (struct oval_state_content *content)
 Get "check_existence" attribute of an OVAL state entity.
Iterators
bool oval_state_content_iterator_has_more (struct oval_state_content_iterator *)
 oval_state_content_iterator
struct oval_state_contentoval_state_content_iterator_next (struct oval_state_content_iterator *)
 oval_state_content_iterator
void oval_state_content_iterator_free (struct oval_state_content_iterator *)
 oval_state_content_iterator
Setters
void oval_value_set_datatype (struct oval_value *, oval_datatype_t)
 oval_value
Getters
oval_datatype_t oval_value_get_datatype (struct oval_value *)
 Get OVAL value datatype.
char * oval_value_get_text (struct oval_value *)
 Get OVAL value as a text.
unsigned char * oval_value_get_binary (struct oval_value *)
 Get OVAL value as a piece of raw binary data.
bool oval_value_get_boolean (struct oval_value *)
 Get OVAL value as a boolean.
float oval_value_get_float (struct oval_value *)
 Get OVAL value as a floating point number.
long long oval_value_get_integer (struct oval_value *)
 Get OVAL value as an integer.
Iterators
bool oval_value_iterator_has_more (struct oval_value_iterator *)
 oval_value_iterator
struct oval_valueoval_value_iterator_next (struct oval_value_iterator *)
 oval_value_iterator
int oval_value_iterator_remaining (struct oval_value_iterator *iterator)
 oval_value_iterator
void oval_value_iterator_free (struct oval_value_iterator *)
 oval_value_iterator
Setters
void oval_entity_set_type (struct oval_entity *, oval_entity_type_t)
 oval_entity
void oval_entity_set_datatype (struct oval_entity *, oval_datatype_t)
 oval_entity
void oval_entity_set_mask (struct oval_entity *, int)
 oval_entity
void oval_entity_set_varref_type (struct oval_entity *, oval_entity_varref_type_t)
 oval_entity
void oval_entity_set_variable (struct oval_entity *, struct oval_variable *)
 oval_entity
void oval_entity_set_value (struct oval_entity *, struct oval_value *)
 oval_entity
void oval_entity_set_name (struct oval_entity *, char *)
 oval_entity
void oval_entity_set_operation (struct oval_entity *, oval_operation_t)
 oval_entity
Getters
char * oval_entity_get_name (struct oval_entity *)
 Get OVAL entity name.
oval_entity_type_t oval_entity_get_type (struct oval_entity *)
 Get OVAL entity type.
oval_datatype_t oval_entity_get_datatype (struct oval_entity *)
 Get OVAL entity datatype.
oval_operation_t oval_entity_get_operation (struct oval_entity *)
 Get OVAL entity operation type.
struct oval_variableoval_entity_get_variable (struct oval_entity *)
 Get OVAL entity varref variable.
struct oval_valueoval_entity_get_value (struct oval_entity *)
 Get OVAL entity value.
int oval_entity_get_mask (struct oval_entity *)
 Get OVAL entity mask.
oval_entity_varref_type_t oval_entity_get_varref_type (struct oval_entity *)
 Get OVAL entity varref type.
Iterators
bool oval_entity_iterator_has_more (struct oval_entity_iterator *)
 oval_entity_iterator
struct oval_entityoval_entity_iterator_next (struct oval_entity_iterator *)
 oval_entity_iterator
void oval_entity_iterator_free (struct oval_entity_iterator *)
 oval_entity_iterator
Setters
void oval_record_field_set_name (struct oval_record_field *, char *)
 oval_record_field
void oval_record_field_set_value (struct oval_record_field *, char *)
 oval_record_field
void oval_record_field_set_datatype (struct oval_record_field *, oval_datatype_t)
 oval_record_field
void oval_record_field_set_mask (struct oval_record_field *, int)
 oval_record_field
void oval_record_field_set_operation (struct oval_record_field *, oval_operation_t)
 oval_record_field
void oval_record_field_set_variable (struct oval_record_field *, struct oval_variable *)
 oval_record_field
void oval_record_field_set_var_check (struct oval_record_field *, oval_check_t)
 oval_record_field
void oval_record_field_set_ent_check (struct oval_record_field *, oval_check_t)
 oval_record_field
Getters
oval_record_field_type_t oval_record_field_get_type (struct oval_record_field *)
 oval_record_field
char * oval_record_field_get_name (struct oval_record_field *)
 oval_record_field
char * oval_record_field_get_value (struct oval_record_field *)
 oval_record_field
oval_datatype_t oval_record_field_get_datatype (struct oval_record_field *)
 oval_record_field
int oval_record_field_get_mask (struct oval_record_field *)
 oval_record_field
oval_operation_t oval_record_field_get_operation (struct oval_record_field *)
 oval_record_field
struct oval_variableoval_record_field_get_variable (struct oval_record_field *)
 oval_record_field
oval_check_t oval_record_field_get_var_check (struct oval_record_field *)
 oval_record_field
oval_check_t oval_record_field_get_ent_check (struct oval_record_field *)
 oval_record_field
Iterators
bool oval_record_field_iterator_has_more (struct oval_record_field_iterator *)
 oval_record_field
struct oval_record_field * oval_record_field_iterator_next (struct oval_record_field_iterator *)
 oval_record_field
void oval_record_field_iterator_free (struct oval_record_field_iterator *)
 oval_record_field
Setters
void oval_filter_set_state (struct oval_filter *, struct oval_state *)
 oval_filter
void oval_filter_set_filter_action (struct oval_filter *, oval_filter_action_t)
 oval_filter
Getters
struct oval_stateoval_filter_get_state (struct oval_filter *)
 oval_filter
oval_filter_action_t oval_filter_get_filter_action (struct oval_filter *)
 oval_filter
Iterators
bool oval_filter_iterator_has_more (struct oval_filter_iterator *)
 oval_filter
struct oval_filteroval_filter_iterator_next (struct oval_filter_iterator *)
 oval_filter
void oval_filter_iterator_free (struct oval_filter_iterator *)
 oval_filter
Setters
void oval_setobject_set_type (struct oval_setobject *, oval_setobject_type_t)
void oval_setobject_set_operation (struct oval_setobject *, oval_setobject_operation_t)
 oval_setobject
void oval_setobject_add_subset (struct oval_setobject *, struct oval_setobject *)
 oval_setobject
void oval_setobject_add_object (struct oval_setobject *, struct oval_object *)
 oval_setobject
void oval_setobject_add_filter (struct oval_setobject *, struct oval_filter *)
 oval_setobject
Getters
oval_setobject_type_t oval_setobject_get_type (struct oval_setobject *)
 Get OVAL set object type.
oval_setobject_operation_t oval_setobject_get_operation (struct oval_setobject *)
 Get OVAL set object operation type.
struct oval_setobject_iterator * oval_setobject_get_subsets (struct oval_setobject *)
 Get OVAL set object subsets.
struct oval_object_iteratoroval_setobject_get_objects (struct oval_setobject *)
 Get OVAL set object referenced objects.
struct oval_filter_iterator * oval_setobject_get_filters (struct oval_setobject *)
 Get OVAL set object filters.
Iterators
bool oval_setobject_iterator_has_more (struct oval_setobject_iterator *)
 oval_setobject_iterator
struct oval_setobjectoval_setobject_iterator_next (struct oval_setobject_iterator *)
 oval_setobject_iterator
void oval_setobject_iterator_free (struct oval_setobject_iterator *)
 oval_setobject_iterator
Setters
void oval_component_set_type (struct oval_component *component, oval_component_type_t type)
 Set type of component Oval_component->type oval_component.
void oval_component_set_object (struct oval_component *, struct oval_object *object)
 set attribute Oval_component_object->object.
void oval_component_set_item_field (struct oval_component *, char *)
 set attribute Oval_component_object->item_field.
void oval_component_set_record_field (struct oval_component *, char *)
 set attribute Oval_component_object->record_field.
void oval_component_set_variable (struct oval_component *, struct oval_variable *variable)
 set attribute Oval_component_object->variable.
void oval_component_add_function_component (struct oval_component *, struct oval_component *)
 oval_component
void oval_component_set_arithmetic_operation (struct oval_component *, oval_arithmetic_operation_t)
 oval_component
void oval_component_set_prefix (struct oval_component *, char *)
 oval_component
void oval_component_set_suffix (struct oval_component *, char *)
 oval_component
void oval_component_set_split_delimiter (struct oval_component *, char *)
 oval_component
void oval_component_set_glob_to_regex_glob_noescape (struct oval_component *, bool)
 oval_component
void oval_component_set_substring_start (struct oval_component *, int)
 oval_component
void oval_component_set_substring_length (struct oval_component *, int)
 oval_component
void oval_component_set_timedif_format_1 (struct oval_component *, oval_datetime_format_t)
 oval_component
void oval_component_set_timedif_format_2 (struct oval_component *, oval_datetime_format_t)
 oval_component
void oval_component_set_regex_pattern (struct oval_component *, char *)
 oval_component
void oval_component_set_literal_value (struct oval_component *, struct oval_value *)
 oval_component
Getters
oval_component_type_t oval_component_get_type (struct oval_component *)
 Returns attribute Oval_component->type oval_component.
struct oval_objectoval_component_get_object (struct oval_component *)
 Returns attribute Oval_component_object->object.
char * oval_component_get_item_field (struct oval_component *)
 Returns attribute Oval_component_object->item_field.
char * oval_component_get_record_field (struct oval_component *)
 Returns attribute Oval_component_object->record_field.
struct oval_variableoval_component_get_variable (struct oval_component *)
 Returns attribute Oval_component_variable->variable.
struct oval_component_iteratoroval_component_get_function_components (struct oval_component *)
 Returns attribute Oval_function->components.
oval_arithmetic_operation_t oval_component_get_arithmetic_operation (struct oval_component *)
 Returns attribute Oval_function_ARITHMETIC->arithmetic_operation.
char * oval_component_get_prefix (struct oval_component *)
 Returns attribute Oval_function_BEGIN->prefix.
char * oval_component_get_suffix (struct oval_component *)
 Returns attribute Oval_function_END->suffix.
char * oval_component_get_split_delimiter (struct oval_component *)
 Returns attribute Oval_function_SPLIT->delimiter.
bool oval_component_get_glob_to_regex_glob_noescape (struct oval_component *)
 Returns attribute Oval_function_GLOB_TO_REGEX->glob_noescape.
int oval_component_get_substring_start (struct oval_component *)
 Returns attribute Oval_function_SUBSTRING->start.
int oval_component_get_substring_length (struct oval_component *)
 Returns attribute Oval_function_SUBSTRING->length.
oval_datetime_format_t oval_component_get_timedif_format_1 (struct oval_component *)
 Returns attribute Oval_function_TIMEDIF->timedif_format_1.
oval_datetime_format_t oval_component_get_timedif_format_2 (struct oval_component *)
 Returns attribute Oval_function_TIMEDIF->timedif_format_2.
char * oval_component_get_regex_pattern (struct oval_component *)
 Returns attribute Oval_function_REGEX_CAPTURE->pattern.
struct oval_valueoval_component_get_literal_value (struct oval_component *)
 Returns attribute Oval_literal->literal.
Iterators
bool oval_component_iterator_has_more (struct oval_component_iterator *)
 Return true if the iterator is not exhausted.
struct oval_componentoval_component_iterator_next (struct oval_component_iterator *)
 return the next instance of Oval_component.
void oval_component_iterator_free (struct oval_component_iterator *)
 Free the iterator.
int oval_component_iterator_remaining (struct oval_component_iterator *)
 How many remains.


Detailed Description

Author:
"David Niemoller" <David.Niemoller@g2-inc.com>

Generated on Tue Nov 14 12:18:55 2017 for Open SCAP Library by  doxygen 1.5.6