summaryrefslogtreecommitdiffstats
path: root/pcilib/view.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-18 04:28:43 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-18 04:28:43 +0200
commit1c52a32779de1569ea41267ac6fc8f51c5a8b7fd (patch)
tree7e2e19d50109b5e38fdfcf47fb1c41a9bee4cc98 /pcilib/view.h
parentc8628b2a715a7cfaaccbd7e403cd1c6c76b918cd (diff)
downloadpcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.tar.gz
pcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.tar.bz2
pcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.tar.xz
pcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.zip
Support XML properties
Diffstat (limited to 'pcilib/view.h')
-rw-r--r--pcilib/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcilib/view.h b/pcilib/view.h
index 6287942..606a688 100644
--- a/pcilib/view.h
+++ b/pcilib/view.h
@@ -27,6 +27,7 @@ typedef struct {
struct pcilib_view_description_s {
const pcilib_view_api_description_t *api;
+ pcilib_view_flags_t flags; /**< Flags specifying type of the view */
pcilib_value_type_t type; /**< The default data type returned by operation, PCILIB_VIEW_TYPE_STRING is supported by all operations */
pcilib_access_mode_t mode; /**< Specifies if the view is read/write-only */
const char *unit; /**< Returned unit (if any) */
@@ -37,7 +38,6 @@ struct pcilib_view_description_s {
struct pcilib_view_context_s {
const char *name;
pcilib_view_t view;
- pcilib_view_flags_t flags; /**< Flags specifying type of the view */
UT_hash_handle hh;
};