1 #ifndef QEMU_ID_H 2 #define QEMU_ID_H 3 4 typedef enum IdSubSystems { 5 ID_QDEV, 6 ID_BLOCK, 7 ID_MAX /* last element, used as array size */ 8 } IdSubSystems; 9 10 char *id_generate(IdSubSystems id); 11 bool id_wellformed(const char *id); 12 13 #endif 14