Commit graph

23 commits

Author SHA1 Message Date
John Crispin
8309c75828 add acl code
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-06-18 19:01:17 +02:00
Alexandru Ardelean
6d24ad71f6 ubus: increase message size limit and make it configurable at build-time 2014-07-03 12:44:19 +02:00
Felix Fietkau
9f52d1769b cli: use the new json-c library name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-29 12:53:22 +02:00
Thomas Gstädtner
62cdfc3d16 add systemd support
This adds basic systemd support, incl. socket activation.
If systemd build is disabled, there won't be any sign of it neither
during build nor after.
If systemd build is enabled (default), but systemd is not available,
no systemd stuff is installed, so there is no impact whatsoever.
2013-03-04 19:11:21 +01:00
Thomas Gstädtner
29a2ed2f17 make UBUS_UNIX_SOCKET configurable via cmake
this is mainly useful to have a single location to read the setting
from, when it is used multiple times at build time (which it will in a
following patch) :)
2013-03-04 19:11:15 +01:00
Thomas Gstädtner
80d64827e9 make building examples an option 2013-03-03 03:43:06 +01:00
Felix Fietkau
82713b9d49 build: remove install prefix override
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-23 15:22:46 +01:00
Felix Fietkau
2cae3fb422 libubus: refactor code, move request handling to libubus-req.c
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-12-14 14:13:27 +01:00
Felix Fietkau
d366a6de83 watch add/remove -> subscribe/unsubscribe:
rename the ADD_WATCH/REMOVE_WATCH messages to SUBSCRIBE/UNSUBSCRIBE and change
the message format and libubus API in preparation for adding object notifications

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-12-13 19:35:38 +01:00
Felix Fietkau
a6f52f058e libubus: split out some code into separate source files 2012-10-24 15:07:35 +02:00
Felix Fietkau
57d1599c1a move example to examples/ 2012-10-24 14:37:57 +02:00
Felix Fietkau
df69022beb enable -Wmissing-declarations 2012-05-29 00:41:39 +02:00
Jo-Philipp Wich
25b9b4b827 implement Lua binding 2012-05-05 22:37:46 +02:00
Felix Fietkau
4a3bb66cd4 change minimum cmake version to 2.6 2011-02-12 23:57:35 +01:00
Felix Fietkau
17cdc0f4f6 suppress -rdynamic when linking ubus 2011-02-07 18:54:27 +01:00
Felix Fietkau
8c81142828 use the json to blobmsg library 2011-02-06 16:15:14 +01:00
Felix Fietkau
4534209ea8 rename listener to ubus-example 2011-02-06 02:15:10 +01:00
Felix Fietkau
4ae1159f62 add support for parsing method calls with json arguments 2011-02-06 01:22:54 +01:00
Felix Fietkau
fa989780bd add some stub functionality for the ubus event switch 2011-02-05 01:29:52 +01:00
Felix Fietkau
ba6082bab5 install header files 2011-02-05 00:06:28 +01:00
Felix Fietkau
875619ed4e add install targets 2011-01-31 21:17:33 +01:00
Felix Fietkau
ea76fb270d make libubus a dynamic library 2011-01-31 19:32:58 +01:00
Felix Fietkau
dbd4c2f121 Initial import 2011-01-30 14:16:09 +01:00