id.h (268B)
1#ifndef QEMU_ID_H 2#define QEMU_ID_H 3 4typedef 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 12char *id_generate(IdSubSystems id); 13bool id_wellformed(const char *id); 14 15#endif