diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-08 20:04:37 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-08 20:04:37 +0200 |
commit | 21812f8d763fac8ee9bb3fdc593642b06f405a2b (patch) | |
tree | a55e99115e8c238e6b34159e063ac7d01ba65d54 /pcilib/pci.h | |
parent | e28e74adf3d58deb95ce84c66423f347cbe2f859 (diff) | |
download | pcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.tar.gz pcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.tar.bz2 pcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.tar.xz pcitool-21812f8d763fac8ee9bb3fdc593642b06f405a2b.zip |
Base functions for views
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r-- | pcilib/pci.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h index ab80101..88327b3 100644 --- a/pcilib/pci.h +++ b/pcilib/pci.h @@ -30,6 +30,7 @@ #include "export.h" #include "locking.h" #include "xml.h" +#include "py.h" #include "view.h" typedef struct { @@ -41,14 +42,13 @@ typedef struct { struct pcilib_view_context_s { UT_hash_handle hh; pcilib_view_t view; - pcilib_view_api_description_t *api; - pcilib_view_description_t desc; /**< We will allocate more memory and store actual description instance here, so it should be the last member */ +// pcilib_view_description_t desc; /**< We will allocate more memory and store actual description instance here, so it should be the last member */ }; struct pcilib_unit_context_s { UT_hash_handle hh; pcilib_unit_t unit; - pcilib_unit_description_t desc; +// pcilib_unit_description_t desc; }; typedef struct { @@ -109,6 +109,7 @@ struct pcilib_s { struct pcilib_locking_s locks; /**< Context of locking subsystem */ struct pcilib_xml_s xml; /**< XML context */ + struct pcilib_py_s *py; /**< Python execution context */ #ifdef PCILIB_FILE_IO int file_io_handle; |