mirror of
https://github.com/xemu-project/xemu.git
synced 2025-03-02 17:36:00 +00:00

Move declarations out of qemu-common.h for functions declared in utils/ files: e.g. include/qemu/path.h for utils/path.c. Move inline functions out of qemu-common.h and into new files (e.g. include/qemu/bcd.h) Signed-off-by: Veronia Bahaa <veroniabahaa@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
14 lines
246 B
C
14 lines
246 B
C
#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
|