bzr branch
http://suren.me/webbzr/alps/pcitool
315
by Suren A. Chilingaryan
Support properties of arbitrary type |
1 |
#ifndef _PCILIB_VIEW_REGISTER_H
|
2 |
#define _PCILIB_VIEW_REGISTER_H
|
|
3 |
||
4 |
#include <pcilib.h> |
|
5 |
#include <pcilib/view.h> |
|
6 |
||
7 |
typedef struct { |
|
8 |
pcilib_view_description_t base; |
|
9 |
const char *view; |
|
10 |
const char *reg; |
|
11 |
const char *bank; |
|
12 |
} pcilib_register_view_description_t; |
|
13 |
||
14 |
||
15 |
#ifndef _PCILIB_VIEW_REGISTER_C
|
|
16 |
extern const pcilib_view_api_description_t pcilib_register_view_api; |
|
17 |
#endif /* _PCILIB_VIEW_REGISTER_C */ |
|
18 |
||
19 |
#endif /* _PCILIB_VIEW_REGISTER_H */ |