summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index e3ed1c5..40cb4bf 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -25,6 +25,7 @@
#include "model.h"
#include "export.h"
#include "locking.h"
+#include "xml.h"
#include <libxml/tree.h>
typedef struct {
@@ -72,8 +73,9 @@ struct pcilib_s {
pcilib_register_bank_context_t *bank_ctx[PCILIB_MAX_REGISTER_BANKS]; /**< Contexts for registers banks if required by register protocol */
pcilib_dma_context_t *dma_ctx; /**< DMA context */
pcilib_context_t *event_ctx; /**< Implmentation context */
- xmlNodePtr* banks_xml_nodes; /**<pointer to xml nodes of banks in the xml file*/
- xmlNodePtr* registers_xml_nodes; /**< pointer to xml nodes of registers in the xml file*/
+ 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*/
+ pcilib_xml_context_t* xml_context; /**< context to xml files*/
pcilib_lock_t *dma_rlock[PCILIB_MAX_DMA_ENGINES]; /**< Per-engine locks to serialize streaming and read operations */
pcilib_lock_t *dma_wlock[PCILIB_MAX_DMA_ENGINES]; /**< Per-engine locks to serialize write operations */