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

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

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 */