diff options
Diffstat (limited to 'include/qemu/id.h')
-rw-r--r-- | include/qemu/id.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/qemu/id.h b/include/qemu/id.h new file mode 100644 index 0000000..7d90335 --- /dev/null +++ b/include/qemu/id.h @@ -0,0 +1,13 @@ +#ifndef QEMU_ID_H +#define QEMU_ID_H 1 + +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 |