Commit graph

37 commits

Author SHA1 Message Date
Felix Fietkau
c6f7054515 ubusd: add support for watching objects to get notified when they go away 2012-05-19 21:09:35 +02:00
Felix Fietkau
8e5a6af1db libubus: limit stack depth for incoming invoke requests 2011-10-27 14:03:19 +02:00
Felix Fietkau
f07b02b560 libubus: fix recursive synchrnonous invoke commands 2011-10-27 13:46:05 +02:00
Felix Fietkau
1ad3493658 fix invalid message reuse in ubus_process_invoke 2011-10-10 16:47:49 +02:00
Felix Fietkau
7c59d4069c make the socket non-blocking, explicitly wait for data using poll() 2011-09-09 17:53:22 +02:00
Felix Fietkau
cc82d89995 add an error message for "unknown error" 2011-09-05 03:20:07 +02:00
Felix Fietkau
24505f172a add an error code for "operation not supported" 2011-09-05 03:16:59 +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
f2ee96c51d add support for timeouts on synchronous requests 2011-02-11 02:40:39 +01: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
756d284a0a add writev_retry to avoid incomplete writes 2011-02-11 00:36:10 +01:00
Felix Fietkau
12a8f978cb add sender side length checks 2011-02-07 02:35:24 +01:00
Felix Fietkau
4ab6155577 remove unnecessary debug stuff 2011-02-07 02:09:37 +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
a93b044d6a make ubus_default_connection_lost static 2011-02-07 00:07:59 +01:00
Felix Fietkau
d2f1a01d9f add ubus_remove_object to libubus 2011-02-06 21:46:45 +01:00
Felix Fietkau
cb1feedb5e follow blob_get_int* -> blob_get_u* rename 2011-02-06 21:37:37 +01:00
Felix Fietkau
f8d55af76b rename publish to add_object 2011-02-06 21:33:03 +01:00
Felix Fietkau
2e83a5fab2 fix SIGINT handling 2011-02-06 02:19:54 +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
4f8b3c8d46 remove obsolete debug msgs 2011-01-31 19:55:07 +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
57615abd9b make message data on invoke() optional 2011-01-31 17:26:29 +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
c55408c4d0 libubus: add method to policy 2011-01-31 03:53:09 +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