summaryrefslogtreecommitdiffstats
path: root/src/uca.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-08 12:03:14 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-08 12:03:14 +0100
commit3804fd2355997cc5d2b811ffcbc546a367aa2b48 (patch)
tree68245e0ad10636ba78258a50bdfc9b10fa7bbcd9 /src/uca.h
parent923dab046564bdfcd7267281b99462f6d866d311 (diff)
downloaduca-3804fd2355997cc5d2b811ffcbc546a367aa2b48.tar.gz
uca-3804fd2355997cc5d2b811ffcbc546a367aa2b48.tar.bz2
uca-3804fd2355997cc5d2b811ffcbc546a367aa2b48.tar.xz
uca-3804fd2355997cc5d2b811ffcbc546a367aa2b48.zip
Add r/w access for each property
Diffstat (limited to 'src/uca.h')
-rw-r--r--src/uca.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uca.h b/src/uca.h
index 5fa8c39..0c554c6 100644
--- a/src/uca.h
+++ b/src/uca.h
@@ -117,6 +117,12 @@ struct uca_property_t {
uca_uint8t,
uca_string
} type;
+
+ enum uca_access_rights {
+ uca_read = 0x01,
+ uca_write = 0x02,
+ uca_readwrite = 0x01 | 0x02
+ } access;
};
extern const char *uca_unit_map[]; /**< maps unit numbers to corresponding strings */