2016-03-20 18:16:19 +01:00
|
|
|
#ifndef QEMU_ID_H
|
2016-06-29 15:29:06 +02:00
|
|
|
#define QEMU_ID_H
|
2016-03-20 18:16:19 +01:00
|
|
|
|
|
|
|
typedef enum IdSubSystems {
|
|
|
|
ID_QDEV,
|
|
|
|
ID_BLOCK,
|
2019-10-21 16:31:31 +02:00
|
|
|
ID_CHR,
|
2021-02-15 10:02:25 +01:00
|
|
|
ID_NET,
|
2016-03-20 18:16:19 +01:00
|
|
|
ID_MAX /* last element, used as array size */
|
|
|
|
} IdSubSystems;
|
|
|
|
|
|
|
|
char *id_generate(IdSubSystems id);
|
|
|
|
bool id_wellformed(const char *id);
|
|
|
|
|
|
|
|
#endif
|