qdev-prop-internal.h (1147B)
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 11void qdev_propinfo_get_enum(Object *obj, Visitor *v, const char *name, 12 void *opaque, Error **errp); 13void qdev_propinfo_set_enum(Object *obj, Visitor *v, const char *name, 14 void *opaque, Error **errp); 15 16void qdev_propinfo_set_default_value_enum(ObjectProperty *op, 17 const Property *prop); 18void qdev_propinfo_set_default_value_int(ObjectProperty *op, 19 const Property *prop); 20void qdev_propinfo_set_default_value_uint(ObjectProperty *op, 21 const Property *prop); 22 23void qdev_propinfo_get_int32(Object *obj, Visitor *v, const char *name, 24 void *opaque, Error **errp); 25void qdev_propinfo_get_size32(Object *obj, Visitor *v, const char *name, 26 void *opaque, Error **errp); 27 28#endif