struct oval_variable_model_iterator *oval_definition_model_get_variable_models(struct oval_definition_model *model) { if (model->bound_variable_models) return (struct oval_variable_model_iterator *) oval_collection_iterator(model->bound_variable_models); else return (struct oval_variable_model_iterator *) oval_collection_iterator_new(); }
struct oval_result_item_iterator *oval_result_test_get_items(struct oval_result_test *rtest) { __attribute__nonnull__(rtest); return (struct oval_result_item_iterator *) oval_collection_iterator(rtest->items); }
struct oval_string_iterator *oval_affected_get_platforms(struct oval_affected *affected) { __attribute__nonnull__(affected); return (struct oval_string_iterator *) oval_collection_iterator(affected->platforms); }
struct oval_message_iterator *oval_result_definition_get_messages(const struct oval_result_definition *definition) { __attribute__nonnull__(definition); return (struct oval_message_iterator *) oval_collection_iterator(definition->messages); }
struct oval_variable_binding_iterator *oval_result_test_get_bindings(struct oval_result_test *rtest) { __attribute__nonnull__(rtest); return (struct oval_variable_binding_iterator *) oval_collection_iterator(rtest->bindings); }
struct oval_record_field_iterator *oval_sysent_get_record_fields(struct oval_sysent *sysent) { if (!sysent->record_fields) return (struct oval_record_field_iterator *) oval_collection_iterator_new(); return (struct oval_record_field_iterator *) oval_collection_iterator(sysent->record_fields); }
struct oval_record_field_iterator *oval_state_content_get_record_fields(struct oval_state_content *content) { if (!content->record_fields) return (struct oval_record_field_iterator *) oval_collection_iterator_new(); return (struct oval_record_field_iterator *) oval_collection_iterator(content->record_fields); }
struct oval_string_iterator *oval_test_get_notes(struct oval_test *test) { __attribute__nonnull__(test); return (struct oval_string_iterator *)oval_collection_iterator(test->notes); }