From fa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 18 Oct 2015 07:36:47 +0200 Subject: Support reading/writting register views by id --- pcilib/xml.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pcilib/xml.h') diff --git a/pcilib/xml.h b/pcilib/xml.h index 6ad8676..10bc154 100644 --- a/pcilib/xml.h +++ b/pcilib/xml.h @@ -59,6 +59,9 @@ void pcilib_free_xml(pcilib_t *ctx); */ int pcilib_process_xml(pcilib_t *ctx, const char *location); +int pcilib_get_xml_attr(pcilib_t *ctx, pcilib_xml_node_t *node, const char *attr, pcilib_value_t *val); + + #ifdef __cplusplus } #endif -- cgit v1.2.3