From 3804fd2355997cc5d2b811ffcbc546a367aa2b48 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 8 Mar 2011 12:03:14 +0100 Subject: Add r/w access for each property --- src/uca.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/uca.h') 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 */ -- cgit v1.2.3