Commit graph

28 commits

Author SHA1 Message Date
Felix Fietkau
8e5a6af1db libubus: limit stack depth for incoming invoke requests 2011-10-27 14:03:19 +02:00
Felix Fietkau
42bc27ae38 add copyright/license information 2011-06-17 16:35:11 +02:00
Felix Fietkau
e49b34f912 simplify object signatures by reusing the parser policy to define them 2011-03-27 20:03:18 +02:00
Felix Fietkau
6cf4326987 change the ubus signature type to int instead of the enum, as there are possible values not covered by the enum 2011-02-26 17:26:21 +01:00
Felix Fietkau
f2ee96c51d add support for timeouts on synchronous requests 2011-02-11 02:40:39 +01:00
Felix Fietkau
ef978a8ea0 libubus: add an inline function for socket event handling 2011-02-07 20:43:43 +01:00
Felix Fietkau
12a8f978cb add sender side length checks 2011-02-07 02:35:24 +01:00
Felix Fietkau
045e40ecfd reorder a few functions in libubus.h 2011-02-07 02:12:28 +01:00
Felix Fietkau
b0755698c1 fix max message length handling - exclude the header 2011-02-07 01:52:40 +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
38aa926349 add a wrapper function for unregistering an event handler 2011-02-06 21:47:51 +01:00
Felix Fietkau
d2f1a01d9f add ubus_remove_object to libubus 2011-02-06 21:46:45 +01:00
Felix Fietkau
f8d55af76b rename publish to add_object 2011-02-06 21:33:03 +01:00
Felix Fietkau
ed4b742f3f implement code for receiving events 2011-02-05 23:23:44 +01:00
Felix Fietkau
f6a6b0d492 add functionality for registering anonymous objects as event listeners 2011-02-05 19:53:14 +01:00
Felix Fietkau
659a98c810 add an inline function to add the ubus socket to uloop 2011-01-31 20:00:39 +01:00
Felix Fietkau
7d4fd754af remove an obsolete define 2011-01-31 19:53:55 +01:00
Felix Fietkau
768d282ae9 make ubus_parse_msg static 2011-01-31 18:28:14 +01:00
Felix Fietkau
36b1a80b07 make ubus_start_request static 2011-01-31 18:27:23 +01:00
Felix Fietkau
83a6386ede libubus: add generic lookup code 2011-01-31 18:26:24 +01:00
Felix Fietkau
1555e4610f add support for data replies 2011-01-31 17:18:10 +01:00
Felix Fietkau
7b262aec38 add a callback for handling lost ubus connections 2011-01-31 16:15:55 +01:00
Felix Fietkau
1a871e1e89 add working method calls 2011-01-31 03:26:53 +01:00
Felix Fietkau
44096a0a34 libubus: keep objects in an avl tree 2011-01-31 03:07:42 +01:00
Felix Fietkau
749aaf3b6d add request cancelled flag 2011-01-31 02:54:39 +01:00
Felix Fietkau
527d252333 remove path based invoke functions, add stub implementation for invoking method calls 2011-01-31 02:41:32 +01:00
Felix Fietkau
8321f8c523 add stubs for invoke 2011-01-30 23:57:14 +01:00
Felix Fietkau
dbd4c2f121 Initial import 2011-01-30 14:16:09 +01:00