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