Commit graph

235 commits

Author SHA1 Message Date
Felix Fietkau
9a03063aee fix event handler list initialization 2011-02-06 01:53:58 +01:00
Felix Fietkau
88411527be fix message refcounting 2011-02-06 01:45:21 +01:00
Felix Fietkau
4ae1159f62 add support for parsing method calls with json arguments 2011-02-06 01:22:54 +01:00
Felix Fietkau
ed4b742f3f implement code for receiving events 2011-02-05 23:23:44 +01:00
Felix Fietkau
f87a9dc69e cli: wait for incoming events on listen 2011-02-05 23:01:48 +01:00
Felix Fietkau
32436bf25f remove an unnecessary check 2011-02-05 20:56:50 +01:00
Felix Fietkau
a84c6cac9a fix message buffering 2011-02-05 20:50:08 +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
Felix Fietkau
d80ebf55af add functions for internal object allocation 2011-02-05 00:21:27 +01:00
Felix Fietkau
ba6082bab5 install header files 2011-02-05 00:06:28 +01:00
Felix Fietkau
f0d75430d2 cli: return the ubus ret code 2011-02-05 00:02:22 +01:00
Felix Fietkau
598c2103ae use the new blobmsg string buffer functions 2011-02-04 21:58:22 +01:00
Felix Fietkau
875619ed4e add install targets 2011-01-31 21:17:33 +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
4f8b3c8d46 remove obsolete debug msgs 2011-01-31 19:55:07 +01:00
Felix Fietkau
7d4fd754af remove an obsolete define 2011-01-31 19:53:55 +01:00
Felix Fietkau
ea76fb270d make libubus a dynamic library 2011-01-31 19:32:58 +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
480a3d66a7 export the object type through lookup calls 2011-01-31 18:26:09 +01:00
Felix Fietkau
23c9984a6c cli: use ubus_invoke() instead of low level handling 2011-01-31 17:27:11 +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
2e92ac29c1 cleanup, pass both data and status messages on to other clients 2011-01-31 16:32:29 +01:00
Felix Fietkau
a03acea49c remove support for path based invoke, add object id validation for responses 2011-01-31 16:25:22 +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