projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not reverse method sorting order
[project/ubus.git]
/
ubusmsg.h
diff --git
a/ubusmsg.h
b/ubusmsg.h
index
9da330e
..
00bf125
100644
(file)
--- a/
ubusmsg.h
+++ b/
ubusmsg.h
@@
-6,7
+6,7
@@
#define __packetdata __attribute__((packed)) __attribute__((__aligned__(4)))
#define __packetdata __attribute__((packed)) __attribute__((__aligned__(4)))
-#define UBUS_MAX_MSGLEN 6553
5
+#define UBUS_MAX_MSGLEN 6553
6
#define UBUS_SYSTEM_OBJECT_EVENT 1
#define UBUS_SYSTEM_OBJECT_MAX 1024
#define UBUS_SYSTEM_OBJECT_EVENT 1
#define UBUS_SYSTEM_OBJECT_MAX 1024
@@
-38,8
+38,8
@@
enum ubus_msg_type {
/* invoke a method on a single object */
UBUS_MSG_INVOKE,
/* invoke a method on a single object */
UBUS_MSG_INVOKE,
- /* publish an object */
- UBUS_MSG_
PUBLISH
,
+ UBUS_MSG_ADD_OBJECT,
+ UBUS_MSG_
REMOVE_OBJECT
,
/* must be last */
__UBUS_MSG_LAST,
/* must be last */
__UBUS_MSG_LAST,
@@
-70,6
+70,8
@@
enum ubus_msg_status {
UBUS_STATUS_METHOD_NOT_FOUND,
UBUS_STATUS_NOT_FOUND,
UBUS_STATUS_NO_DATA,
UBUS_STATUS_METHOD_NOT_FOUND,
UBUS_STATUS_NOT_FOUND,
UBUS_STATUS_NO_DATA,
+ UBUS_STATUS_PERMISSION_DENIED,
+ UBUS_STATUS_TIMEOUT,
__UBUS_STATUS_LAST
};
__UBUS_STATUS_LAST
};