Commit graph

18 commits

Author SHA1 Message Date
John Crispin
0bb927125f make ubusd_send_event() none static
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-06-18 19:01:17 +02:00
John Crispin
ba607d976b pass ubus_msg_buf to callback of internal object
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-06-18 19:01:17 +02:00
Hans Dedecker
7798d56301 ubus: Fix issues reported by static code analysis tool Klocwork
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2015-04-20 15:43:19 +02:00
Felix Fietkau
95062c1ef7 make a few functions static 2012-05-29 00:40:50 +02:00
Felix Fietkau
42bc27ae38 add copyright/license information 2011-06-17 16:35:11 +02:00
Felix Fietkau
74eddc472d add support for a const void * key in avl 2011-04-13 20:13:42 +02:00
Felix Fietkau
fb45e383c2 remove separate catch all list, always require a pattern argument for registering events, even if it is just * 2011-02-11 01:21:07 +01:00
Felix Fietkau
086c67f399 fix initial object event sequence number 2011-02-10 01:37:32 +01:00
Felix Fietkau
0611a9248c add notifications for registered/unregistered objects with path 2011-02-10 01:31:52 +01:00
Felix Fietkau
f15c7368ca move event message formatting into a callback 2011-02-10 01:21:29 +01:00
Felix Fietkau
2378e900ab split event sending from event forwarding 2011-02-10 01:08:59 +01:00
Felix Fietkau
66b6fdeace add missing include 2011-02-07 16:43:30 +01:00
Felix Fietkau
96e0b8ca42 implement event pattern matching 2011-02-07 03:51:00 +01:00
Felix Fietkau
12623b4306 trim the wildcard of partial patterns to keep the avl tree sorted properly 2011-02-07 03:20:05 +01:00
Felix Fietkau
2429653f90 remove old data structures 2011-02-07 01:42:12 +01:00
Felix Fietkau
f9f602533a add code for sending events and fix the code for receiving events 2011-02-07 01:25:28 +01:00
Felix Fietkau
f6a6b0d492 add functionality for registering anonymous objects as event listeners 2011-02-05 19:53:14 +01:00
Felix Fietkau
fa989780bd add some stub functionality for the ubus event switch 2011-02-05 01:29:52 +01:00