/home/pvrabec/openscap/openscap-0.5.6/src/OVAL/oval_varModel.c File Reference

Open Vulnerability and Assessment Language. More...

#include "oval_definitions_impl.h"
#include "oval_agent_api_impl.h"
#include "oval_parser_impl.h"
#include "oval_string_map_impl.h"
#include "oval_system_characteristics_impl.h"
#include "oval_results_impl.h"
#include <string.h>
#include <time.h>
#include "../common/util.h"
#include "../common/public/debug.h"
#include "../common/_error.h"

Data Structures

struct  _oval_variable_model_frame
struct  oval_variable_model
 OVAL XML error handler function pointer type. More...

Defines

#define NAMESPACE_VARIABLES   "http://oval.mitre.org/XMLSchema/oval-variables-5"
#define NAMESPACE_COMMON   "http://oval.mitre.org/XMLSchema/oval-common-5"

Typedefs

typedef struct
_oval_variable_model_frame 
_oval_variable_model_frame_t
typedef struct oval_variable_model oval_variable_model_t

Functions

bool oval_variable_model_is_valid (struct oval_variable_model *variable_model)
 return true if the variable_model instance is valid
bool oval_variable_model_is_locked (struct oval_variable_model *variable_model)
 return true if the variable_model instance is locked.
void oval_variable_model_lock (struct oval_variable_model *variable_model)
 Lock the variable_model instance.
struct oval_variable_modeloval_variable_model_new ()
 Create a new OVAL variable model.
struct oval_variable_modeloval_variable_model_clone (struct oval_variable_model *old_model)
 Create an OVAL variable model.
void oval_variable_model_free (struct oval_variable_model *model)
 Free memory allocated to a specified oval_variable_model.
void oval_variable_model_add (struct oval_variable_model *model, char *varid, const char *comm, oval_datatype_t datatype, char *value)
 Get the values bound to a specified external variable.
int oval_variable_model_import (struct oval_variable_model *model, struct oscap_import_source *source, void *user_param)
 Load the specified oval_variable_model from an XML stream.
int oval_variable_model_export (struct oval_variable_model *model, struct oscap_export_target *target)
 Export the specified oval_variable_model to an XML stream.
struct oval_string_iterator * oval_variable_model_get_variable_ids (struct oval_variable_model *model)
 Get all external variables managed by a specified oval_variable_model.
oval_datatype_t oval_variable_model_get_datatype (struct oval_variable_model *model, char *varid)
 Get a specified external variable datatype.
const char * oval_variable_model_get_comment (struct oval_variable_model *model, char *varid)
 Get a specified external variable comment.
struct oval_string_iterator * oval_variable_model_get_values (struct oval_variable_model *model, char *varid)
 Get the values bound to a specified external variable.

Detailed Description

Open Vulnerability and Assessment Language.

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


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1