A message system like D-Bus for Liminix, taken from OpenWRT's ubus
Find a file
Felix Fietkau 9562291f68 libubus: preserve the received message buffer for incoming invoke calls
Set ctx->msgbuf.data to NULL during the call. If ctx->msgbuf is needed
during the call, a new buffer will be allocated. If not,
ctx->msgbuf.data is restored to the previous value afterwards

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-09-15 15:40:07 +02:00
examples ubus: add count test to validate large message sizes 2014-07-03 12:47:11 +02:00
lua lua: forward return codes from lua to ubus 2014-05-05 19:56:31 +02:00
systemd add systemd support 2013-03-04 19:11:21 +01:00
.gitignore examples: split client/server code 2012-10-24 14:37:57 +02:00
cli.c cli: implement wait_for 2014-05-06 16:58:11 +02:00
CMakeLists.txt ubus: increase message size limit and make it configurable at build-time 2014-07-03 12:44:19 +02:00
libubus-internal.h libubus: remove ubus_msghdr_data() by passing in the right data structure pointer 2014-09-15 15:33:27 +02:00
libubus-io.c libubus: rework buffer allocation code 2014-09-15 15:36:03 +02:00
libubus-obj.c libubus: preserve the received message buffer for incoming invoke calls 2014-09-15 15:40:07 +02:00
libubus-req.c libubus: remove ubus_msghdr_data() by passing in the right data structure pointer 2014-09-15 15:33:27 +02:00
libubus-sub.c libubus: fix passing the return code of the subscriber callback to the notifier 2013-03-17 18:29:38 +01:00
libubus.c libubus: remove ubus_msghdr_data() by passing in the right data structure pointer 2014-09-15 15:33:27 +02:00
libubus.h libubus: move ubus_msghdr_data to libubus-internal.h 2014-07-03 20:58:01 +02:00
ubus_common.h make UBUS_UNIX_SOCKET configurable via cmake 2013-03-04 19:11:15 +01:00
ubusd.c ubusd: replace ubusd_msg_unshare() with ubus_msg_new() to prevent invalid free-ing 2014-07-03 12:45:49 +02:00
ubusd.h ubusd: implement protocol support for passing file descriptors as part of request completion msgs from objects to clients 2014-02-18 15:03:53 +01:00
ubusd_event.c make a few functions static 2012-05-29 00:40:50 +02:00
ubusd_id.c ubusd: use avl_strcmp 2012-12-11 23:38:00 +01:00
ubusd_id.h add copyright/license information 2011-06-17 16:35:11 +02:00
ubusd_obj.c remove the "method" argument for object subscription 2012-12-14 13:11:40 +01:00
ubusd_obj.h remove the "method" argument for object subscription 2012-12-14 13:11:40 +01:00
ubusd_proto.c ubusd: fix processing object method signatures 2014-04-01 13:45:29 +02:00
ubusmsg.h ubus: increase message size limit and make it configurable at build-time 2014-07-03 12:44:19 +02:00