/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/enum.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-19 04:59:53 UTC
  • Revision ID: csa@suren.me-20151019045953-h4ur2flqzf3ky412
Provide register listings in public API

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include <pcilib.h>
5
5
#include <pcilib/view.h>
6
6
 
7
 
typedef struct {
8
 
    pcilib_register_value_t value, min, max;    /**< the value or value-range for which the name is defined, while wrtiting the name the value will be used even if range is specified */
9
 
    const char *name;                           /**< corresponding string to value */
10
 
} pcilib_value_name_t;
11
7
 
12
8
typedef struct {
13
9
    pcilib_view_description_t base;
14
 
    pcilib_value_name_t *names;
 
10
    pcilib_register_value_name_t *names;
15
11
} pcilib_enum_view_description_t;
16
12
 
17
13