Revision f4594a3b hw/qdev.h
b/hw/qdev.h | ||
---|---|---|
269 | 269 |
int qdev_prop_exists(DeviceState *dev, const char *name); |
270 | 270 |
int qdev_prop_parse(DeviceState *dev, const char *name, const char *value); |
271 | 271 |
void qdev_prop_set(DeviceState *dev, const char *name, void *src, enum PropertyType type); |
272 |
void qdev_prop_set_bit(DeviceState *dev, const char *name, bool value); |
|
272 | 273 |
void qdev_prop_set_uint8(DeviceState *dev, const char *name, uint8_t value); |
273 | 274 |
void qdev_prop_set_uint16(DeviceState *dev, const char *name, uint16_t value); |
274 | 275 |
void qdev_prop_set_uint32(DeviceState *dev, const char *name, uint32_t value); |
Also available in: Unified diff