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



                           
           
           






                                                      
#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