1
#ifndef _PCILIB_VIEW_ENUM_H
2
#define _PCILIB_VIEW_ENUM_H
5
#include <pcilib/view.h>
8
pcilib_register_value_t value, min, max; /**< the value or value-range for which the name is defined, while wrtiting the name the value will be used even if range is specified */
9
const char *name; /**< corresponding string to value */
10
} pcilib_value_name_t;
13
pcilib_view_description_t base;
14
pcilib_value_name_t *names;
15
} pcilib_enum_view_description_t;
18
#ifndef _PCILIB_VIEW_ENUM_C
19
extern const pcilib_view_api_description_t pcilib_enum_view_static_api;
20
extern const pcilib_view_api_description_t pcilib_enum_view_xml_api;
21
#endif /* _PCILIB_VIEW_ENUM_C */
23
#endif /* _PCILIB_VIEW_ENUM_H */