Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[qemu/ar7.git] / hw / core / qdev-prop-internal.h
blobd7b77844fe0b2fa14ee8db6728b4ce9fb005e4e5
1 /*
2 * qdev property parsing
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 #ifndef HW_CORE_QDEV_PROP_INTERNAL_H
9 #define HW_CORE_QDEV_PROP_INTERNAL_H
11 void qdev_propinfo_get_enum(Object *obj, Visitor *v, const char *name,
12 void *opaque, Error **errp);
13 void qdev_propinfo_set_enum(Object *obj, Visitor *v, const char *name,
14 void *opaque, Error **errp);
16 void qdev_propinfo_set_default_value_enum(ObjectProperty *op,
17 const Property *prop);
18 void qdev_propinfo_set_default_value_int(ObjectProperty *op,
19 const Property *prop);
20 void qdev_propinfo_set_default_value_uint(ObjectProperty *op,
21 const Property *prop);
23 void qdev_propinfo_get_int32(Object *obj, Visitor *v, const char *name,
24 void *opaque, Error **errp);
25 void qdev_propinfo_get_size32(Object *obj, Visitor *v, const char *name,
26 void *opaque, Error **errp);
28 #endif