From c8628b2a715a7cfaaccbd7e403cd1c6c76b918cd Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 18 Oct 2015 03:47:47 +0200 Subject: Support properties of arbitrary type --- views/register.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 views/register.h (limited to 'views/register.h') diff --git a/views/register.h b/views/register.h new file mode 100644 index 0000000..e527846 --- /dev/null +++ b/views/register.h @@ -0,0 +1,19 @@ +#ifndef _PCILIB_VIEW_REGISTER_H +#define _PCILIB_VIEW_REGISTER_H + +#include +#include + +typedef struct { + pcilib_view_description_t base; + const char *view; + const char *reg; + const char *bank; +} pcilib_register_view_description_t; + + +#ifndef _PCILIB_VIEW_REGISTER_C +extern const pcilib_view_api_description_t pcilib_register_view_api; +#endif /* _PCILIB_VIEW_REGISTER_C */ + +#endif /* _PCILIB_VIEW_REGISTER_H */ -- cgit v1.2.3