summaryrefslogtreecommitdiffstats
path: root/pcilib/xml.h
diff options
context:
space:
mode:
authorzilio nicolas <nicolas.zilio@kit.edu>2015-09-07 10:35:48 +0200
committerzilio nicolas <nicolas.zilio@kit.edu>2015-09-07 10:35:48 +0200
commitd996fab54c59ca0b34d4ff7c4ab5ab8247559db0 (patch)
tree5cd92a166f189980da166dcfe2122d89c7f82190 /pcilib/xml.h
parentea28e2990ae59e21856d9ae0311cec5b5415237b (diff)
downloadpcitool-d996fab54c59ca0b34d4ff7c4ab5ab8247559db0.tar.gz
pcitool-d996fab54c59ca0b34d4ff7c4ab5ab8247559db0.tar.bz2
pcitool-d996fab54c59ca0b34d4ff7c4ab5ab8247559db0.tar.xz
pcitool-d996fab54c59ca0b34d4ff7c4ab5ab8247559db0.zip
further modifications
Diffstat (limited to 'pcilib/xml.h')
-rw-r--r--pcilib/xml.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pcilib/xml.h b/pcilib/xml.h
index c10a9d3..a88a8f9 100644
--- a/pcilib/xml.h
+++ b/pcilib/xml.h
@@ -17,6 +17,10 @@
typedef struct{
xmlDocPtr* docs;
+ xmlNodePtr* xml_banks; /**<pointer to xml nodes of banks in the xml file*/
+ xmlNodePtr* xml_registers; /**< pointer to xml nodes of registers in the xml file*/
+ unsigned int nb_registers;
+ unsigned int nb_new_banks;
}pcilib_xml_context_t;
/**
@@ -30,6 +34,6 @@ int pcilib_init_xml(pcilib_t* pci, char* model);
* this function free the xml parts of the pcilib_t running, and some libxml ashes
* @param[in] pci the pcilib_t running
*/
-void pcilib_clean_xml(pcilib_t* pci);
+void pcilib_free_xml(pcilib_t* pci);
#endif /*_XML_*/