summaryrefslogtreecommitdiffstats
path: root/views/enum.h
blob: 6f116d633636ff0cd10f7f5b86a73152c0be9969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _PCILIB_VIEW_ENUM_H
#define _PCILIB_VIEW_ENUM_H

#include <pcilib.h>
#include <pcilib/view.h>


typedef struct {
    pcilib_view_description_t base;
    pcilib_register_value_name_t *names;
} pcilib_enum_view_description_t;


#ifndef _PCILIB_VIEW_ENUM_C
extern const pcilib_view_api_description_t pcilib_enum_view_static_api;
extern const pcilib_view_api_description_t pcilib_enum_view_xml_api;
#endif /* _PCILIB_VIEW_ENUM_C */

#endif /* _PCILIB_VIEW_ENUM_H */