summaryrefslogblamecommitdiffstats
path: root/include/qemu/id.h
blob: 40c70103e427ac2776a0d6b8c5a5d750a7aab423 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                 
                 










                                                      
#ifndef QEMU_ID_H
#define QEMU_ID_H

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