Oval_object get methods. More...
Functions | |
bool | oval_object_is_locked (struct oval_object *object) |
return true if the object instance is locked. | |
oval_family_t | oval_object_get_family (struct oval_object *) |
Returns attribute Oval_object->family. | |
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. | |
struct oval_string_iterator * | oval_object_get_notes (struct oval_object *) |
Returns attribute Oval_object->notes. | |
void | oval_object_add_note (struct oval_object *, char *note) |
Appends a copy of the note parameter to 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. | |
struct oval_object_content_iterator * | oval_object_get_object_contents (struct oval_object *) |
Returns attribute Oval_object->contents. | |
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. | |
struct oval_behavior_iterator * | oval_object_get_behaviors (struct oval_object *) |
Returns attribute Oval_object->behaviors. |
Oval_object get methods.
void oval_object_add_note | ( | struct oval_object * | , | |
char * | note | |||
) |
Appends a copy of the note parameter to attribute Oval_object->notes.
note | - (Not NULL) the text of the appended note. |
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.
Oval_object_contents appended to a given Oval_object shall be freed by the API when the Oval_object is freed.
content | - (Not NULL) the Oval_object_content to be appended. |
struct oval_behavior_iterator* oval_object_get_behaviors | ( | struct oval_object * | ) | [read] |
Returns attribute Oval_object->behaviors.
char* oval_object_get_comment | ( | struct oval_object * | ) |
Returns attribute Oval_object->comment.
bool oval_object_get_deprecated | ( | struct oval_object * | ) |
Returns attribute Oval_object->deprecated.
oval_family_t oval_object_get_family | ( | struct oval_object * | ) |
Returns attribute Oval_object->family.
char* oval_object_get_id | ( | struct oval_object * | ) |
Returns attribute Oval_object->id.
const char* oval_object_get_name | ( | struct oval_object * | ) |
Returns the name of an Oval_object.
This is a convenience method that is equivalent to oval_subtype_get_text (oval_object_get_subtype)+"_object".
struct oval_string_iterator* oval_object_get_notes | ( | struct oval_object * | ) | [read] |
Returns attribute Oval_object->notes.
struct oval_object_content_iterator* oval_object_get_object_contents | ( | struct oval_object * | ) | [read] |
Returns attribute Oval_object->contents.
oval_subtype_t oval_object_get_subtype | ( | struct oval_object * | ) |
Returns attribute Oval_object->subtype.
int oval_object_get_version | ( | struct oval_object * | ) |
Returns attribute Oval_object->version.
bool oval_object_is_locked | ( | struct oval_object * | object | ) |
return true if the object instance is locked.
The state of a locked instance cannot be changed.