xref: /openbmc/qemu/hw/core/qdev-prop-internal.h (revision b14df228)
1 /*
2  * qdev property parsing
3  *
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  */
7 
8 #ifndef HW_CORE_QDEV_PROP_INTERNAL_H
9 #define HW_CORE_QDEV_PROP_INTERNAL_H
10 
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);
15 
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);
22 
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);
27 
28 #endif
29