projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ee96c
)
remove array from the signature
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 11 Feb 2011 03:18:26 +0000
(
04:18
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 11 Feb 2011 03:18:26 +0000
(
04:18
+0100)
ubus-example.c
patch
|
blob
|
history
diff --git
a/ubus-example.c
b/ubus-example.c
index bac7bdd7100affb9fc1a481fef8a90ae88ecd4c7..5daa46fa0b95414d83c764384d366fe9cecb09c8 100644
(file)
--- a/
ubus-example.c
+++ b/
ubus-example.c
@@
-7,11
+7,10
@@
struct blob_buf b;
static const struct ubus_signature test_object_sig[] = {
UBUS_METHOD_START("hello"),
- UBUS_ARRAY("test"),
- UBUS_TABLE_START(NULL),
- UBUS_FIELD(INT32, "id"),
- UBUS_FIELD(STRING, "msg"),
- UBUS_TABLE_END(),
+ UBUS_TABLE_START(NULL),
+ UBUS_FIELD(INT32, "id"),
+ UBUS_FIELD(STRING, "msg"),
+ UBUS_TABLE_END(),
UBUS_METHOD_END(),
};