summaryrefslogblamecommitdiffstats
path: root/include/qemu/id.h
blob: b55c406e69dbc2a0b1029f4cea41e4b1f2ecd49d (plain) (tree)
1
2
3
4
5
6
7
                 
                 



                           
           






                                                      
#ifndef QEMU_ID_H
#define QEMU_ID_H

typedef enum IdSubSystems {
    ID_QDEV,
    ID_BLOCK,
    ID_CHR,
    ID_MAX      /* last element, used as array size */
} IdSubSystems;

char *id_generate(IdSubSystems id);
bool id_wellformed(const char *id);

#endif