summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
authornicolas.zilio@hotmail.fr <>2015-09-14 18:18:00 +0200
committernicolas.zilio@hotmail.fr <>2015-09-14 18:18:00 +0200
commitde589562bd91cc60ee3e2d739bdd7a03063d38f7 (patch)
tree0ceb314dd240c1780d7cd0adf4fad99d69445ba3 /pcilib/pci.h
parenta1bf5e300e2345b642d0a13e7e26d22c56156e47 (diff)
downloadpcitool-de589562bd91cc60ee3e2d739bdd7a03063d38f7.tar.gz
pcitool-de589562bd91cc60ee3e2d739bdd7a03063d38f7.tar.bz2
pcitool-de589562bd91cc60ee3e2d739bdd7a03063d38f7.tar.xz
pcitool-de589562bd91cc60ee3e2d739bdd7a03063d38f7.zip
first try with pcilib_operation_t
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;