aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/id.h
blob: 46b759b284f31fe40a5258f232f9770760ff2865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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