summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index a62e1cc..d5f1811 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -67,6 +67,7 @@ struct pcilib_s {
size_t dyn_banks; /**< Number of configured dynamic banks */
size_t num_enum_views,alloc_enum_views; /**< Number of configured and allocated views of type enum*/
size_t num_formula_views,alloc_formula_views; /**< Number of configured and allocated views of type formula*/
+ size_t num_views,alloc_views; /**< Number of configured and allocated views*/
size_t num_units,alloc_units; /**< Number of configured and allocated units*/
pcilib_register_description_t *registers; /**< List of currently defined registers (from all sources) */
pcilib_register_bank_description_t banks[PCILIB_MAX_REGISTER_BANKS + 1]; /**< List of currently defined register banks (from all sources) */
@@ -86,9 +87,9 @@ struct pcilib_s {
struct pcilib_locking_s locks; /**< Context of locking subsystem */
struct pcilib_xml_s xml; /**< XML context */
- pcilib_view_enum2_t* enum_views; /**< list of currently defined views of type enum*/
- pcilib_view_formula_t* formula_views; /**< list of currently defined views of type formula*/
-
+ pcilib_view_enum2_t* enum_views; /**< list of currently defined views of type enum*/
+ pcilib_view_formula_t* formula_views; /**< list of currently defined views of type formula*/
+ pcilib_view_t* views; /**< list of currently defined views*/
pcilib_unit_t* units; /** list of currently defined units*/
#ifdef PCILIB_FILE_IO
int file_io_handle;