summaryrefslogtreecommitdiffstats
path: root/views/transform.h
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-11 10:37:24 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-11 10:37:24 +0100
commitd9a31945a92a76e590657dc2e65bb20b6ea95d90 (patch)
tree22dd29b528d62625ec8801504282d33445646d1f /views/transform.h
parentdce856c1a16098fe7a1df2338df60073261da94a (diff)
downloadpcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.tar.gz
pcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.tar.bz2
pcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.tar.xz
pcitool-d9a31945a92a76e590657dc2e65bb20b6ea95d90.zip
Merge script and transform view. Add get register and properties info to python wrap.
Diffstat (limited to 'views/transform.h')
-rw-r--r--views/transform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/transform.h b/views/transform.h
index f474552..8ab4f4f 100644
--- a/views/transform.h
+++ b/views/transform.h
@@ -3,11 +3,13 @@
#include <pcilib.h>
#include <pcilib/view.h>
+#include <py.h>
typedef struct {
pcilib_view_description_t base;
const char *read_from_reg; /**< Formula explaining how to convert the register value to the view value */
const char *write_to_reg; /**< Formula explaining how to convert from the view value to the register value */
+ pcilib_script_t *script;
} pcilib_transform_view_description_t;
#ifndef _PCILIB_VIEW_TRANSFORM_C