ubus/lua
Dirk Feytons 5bae22eb54 ubus/lua: pass notification name to callback
The callback function registered to be invoked when subscribing to a
notification was only passed the notification data (if any) but not the name
of the notification.

This name is now passed as second argument to remain backwards compatible.
The example subscriber.lua has also be updated.

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
2018-01-17 09:59:58 +01:00
..
CMakeLists.txt add INCLUDE_DIRECTORIES to subdirectories 2013-03-03 03:43:22 +01:00
publisher.lua Implemented publish/subscribe lua bindings to libubus-lua with example lua files. 2016-06-06 14:47:10 +02:00
subscriber.lua ubus/lua: pass notification name to callback 2018-01-17 09:59:58 +01:00
test.lua lua: add 'defer_request' and 'complete_deferred_request' functions 2016-11-21 11:27:05 +01:00
test_client.lua add Lua bindings for ubus events 2013-11-07 16:23:30 +01:00
ubus.c ubus/lua: pass notification name to callback 2018-01-17 09:59:58 +01:00