summaryrefslogtreecommitdiff
path: root/ubusmsg.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-04-25 10:50:39 +0200
committerJohn Crispin <blogic@openwrt.org>2015-06-18 19:01:17 +0200
commit8309c75828acbcee73b11d9ce90d76b7ef14b891 (patch)
tree90cd13ad40b42230e1af4135ca1a1d841b5d2f98 /ubusmsg.h
parent3bfa6ab128ee0ab9bd4bc0b2dbaa751902e7f340 (diff)
downloadubus-8309c75828acbcee73b11d9ce90d76b7ef14b891.tar.gz
add acl code
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'ubusmsg.h')
-rw-r--r--ubusmsg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ubusmsg.h b/ubusmsg.h
index 0a27b42..d3d2928 100644
--- a/ubusmsg.h
+++ b/ubusmsg.h
@@ -22,6 +22,7 @@
#define UBUS_MSG_CHUNK_SIZE 65536
#define UBUS_SYSTEM_OBJECT_EVENT 1
+#define UBUS_SYSTEM_OBJECT_ACL 2
#define UBUS_SYSTEM_OBJECT_MAX 1024
struct ubus_msghdr {
@@ -92,6 +93,9 @@ enum ubus_msg_attr {
UBUS_ATTR_SUBSCRIBERS,
+ UBUS_ATTR_USER,
+ UBUS_ATTR_GROUP,
+
/* must be last */
UBUS_ATTR_MAX,
};