qemu-e2k/include/qemu/id.h

16 lines
268 B
C
Raw Normal View History

#ifndef QEMU_ID_H
#define QEMU_ID_H
typedef enum IdSubSystems {
ID_QDEV,
ID_BLOCK,
ID_CHR,
ID_NET,
ID_MAX /* last element, used as array size */
} IdSubSystems;
char *id_generate(IdSubSystems id);
bool id_wellformed(const char *id);
#endif