summaryrefslogtreecommitdiffstats
path: root/pcilib/view.h
diff options
context:
space:
mode:
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;
};