Revision d8ed79ae hw/qdev.h
b/hw/qdev.h | ||
---|---|---|
249 | 249 |
|
250 | 250 |
/* Set properties between creation and init. */ |
251 | 251 |
void *qdev_get_prop_ptr(DeviceState *dev, Property *prop); |
252 |
int qdev_prop_exists(DeviceState *dev, const char *name); |
|
252 | 253 |
int qdev_prop_parse(DeviceState *dev, const char *name, const char *value); |
253 | 254 |
void qdev_prop_set(DeviceState *dev, const char *name, void *src, enum PropertyType type); |
254 | 255 |
void qdev_prop_set_uint8(DeviceState *dev, const char *name, uint8_t value); |
Also available in: Unified diff