00001
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef OVAL_VARIABLES_H_
00037 #define OVAL_VARIABLES_H_
00038
00039 #include "oval_types.h"
00040
00050 int oval_variable_model_import (struct oval_variable_model *, struct oscap_import_source *, void *);
00055 struct oval_variable_model *oval_variable_model_new(void);
00060 struct oval_variable_model *oval_variable_model_clone(struct oval_variable_model *);
00066 void oval_variable_model_free(struct oval_variable_model *);
00074 int oval_variable_model_export (struct oval_variable_model *, struct oscap_export_target *);
00075
00076
00087 void oval_variable_model_lock(struct oval_variable_model *variable_model);
00095 void oval_variable_model_add(struct oval_variable_model *model, char *varid, const char *comment, oval_datatype_t datatype, char *value);
00107 struct oval_string_iterator *oval_variable_model_get_variable_ids (struct oval_variable_model *);
00115 oval_datatype_t oval_variable_model_get_datatype (struct oval_variable_model *, char *);
00123 const char *oval_variable_model_get_comment (struct oval_variable_model *, char *);
00131 struct oval_string_iterator *oval_variable_model_get_values (struct oval_variable_model *, char *);
00137 bool oval_variable_model_is_locked(struct oval_variable_model *variable_model);
00149 bool oval_variable_model_is_valid(struct oval_variable_model *variable_model);
00158 #endif
00159
00160