enum.h 470 B

12345678910111213141516171819
  1. #ifndef _PCILIB_VIEW_ENUM_H
  2. #define _PCILIB_VIEW_ENUM_H
  3. #include <pcilib.h>
  4. #include <pcilib/view.h>
  5. typedef struct {
  6. pcilib_view_description_t base;
  7. pcilib_register_value_name_t *names;
  8. } pcilib_enum_view_description_t;
  9. #ifndef _PCILIB_VIEW_ENUM_C
  10. extern const pcilib_view_api_description_t pcilib_enum_view_static_api;
  11. extern const pcilib_view_api_description_t pcilib_enum_view_xml_api;
  12. #endif /* _PCILIB_VIEW_ENUM_C */
  13. #endif /* _PCILIB_VIEW_ENUM_H */