xref: /qemu/include/qemu/id.h (revision 27eb3722)
1 #ifndef QEMU_ID_H
2 #define QEMU_ID_H
3 
4 typedef enum IdSubSystems {
5     ID_QDEV,
6     ID_BLOCK,
7     ID_CHR,
8     ID_NET,
9     ID_MAX      /* last element, used as array size */
10 } IdSubSystems;
11 
12 char *id_generate(IdSubSystems id);
13 bool id_wellformed(const char *id);
14 
15 #endif
16