summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-19 06:59:53 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-19 06:59:53 +0200
commit8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf (patch)
treeef9eb3a20cc6da36ff6c875dc6221ec0b6af780c /views
parentfa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b (diff)
downloadpcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.tar.gz
pcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.tar.bz2
pcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.tar.xz
pcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.zip
Provide register listings in public API
Diffstat (limited to 'views')
-rw-r--r--views/enum.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/enum.h b/views/enum.h
index eb90810..6f116d6 100644
--- a/views/enum.h
+++ b/views/enum.h
@@ -4,14 +4,10 @@
#include <pcilib.h>
#include <pcilib/view.h>
-typedef struct {
- 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 */
- const char *name; /**< corresponding string to value */
-} pcilib_value_name_t;
typedef struct {
pcilib_view_description_t base;
- pcilib_value_name_t *names;
+ pcilib_register_value_name_t *names;
} pcilib_enum_view_description_t;