/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to views/register.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-18 01:47:47 UTC
  • Revision ID: csa@suren.me-20151018014747-9ji2ygdhz1l9wnt5
Support properties of arbitrary type

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 */