summaryrefslogtreecommitdiff
path: root/libubus-sub.c
Commit message (Collapse)AuthorAgeFilesLines
* libubus: fix passing the return code of the subscriber callback to the notifierFelix Fietkau2013-03-171-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* libubus: check if subscriber cb is non-NULL before calling itFelix Fietkau2012-12-141-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* libubus: reduce code duplication and add stack depth protection for ↵Felix Fietkau2012-12-141-43/+1
| | | | | | unsubscribe/notify callbacks Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* remove the "method" argument for object subscriptionFelix Fietkau2012-12-141-5/+3
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* ubus: add notification for subscribers present/goneFelix Fietkau2012-12-141-0/+18
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* watch add/remove -> subscribe/unsubscribe:Felix Fietkau2012-12-131-0/+94
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>