From 93c511a1adad281492f18b13e164ae4ac790c052 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 22 Dec 2011 14:11:53 -0600 Subject: qom: allow object_class_foreach to take additional parameters to refine search Signed-off-by: Anthony Liguori --- include/qemu/object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/qemu/object.h') diff --git a/include/qemu/object.h b/include/qemu/object.h index ba37850..adbcfb1 100644 --- a/include/qemu/object.h +++ b/include/qemu/object.h @@ -431,6 +431,7 @@ const char *object_class_get_name(ObjectClass *klass); ObjectClass *object_class_by_name(const char *typename); void object_class_foreach(void (*fn)(ObjectClass *klass, void *opaque), + const char *implements_type, bool include_abstract, void *opaque); #endif -- cgit v1.1