Felix Fietkau
|
17cdc0f4f6
|
suppress -rdynamic when linking ubus
|
2011-02-07 18:54:27 +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
|
27a16f8b1d
|
remove some duplication
|
2011-02-07 03:01:36 +01:00 |
|
Felix Fietkau
|
37e914937b
|
move more protocol related stuff to ubusd_proto.c
|
2011-02-07 02:59:09 +01:00 |
|
Felix Fietkau
|
faedeaaca8
|
make ubus_msg_ref static
|
2011-02-07 02:41:56 +01:00 |
|
Felix Fietkau
|
1643f728e7
|
make ubusd_get_client_by_id static
|
2011-02-07 02:40:40 +01:00 |
|
Felix Fietkau
|
c4c0a2256d
|
make ubus_parse_msg static
|
2011-02-07 02:38:57 +01:00 |
|
Felix Fietkau
|
12a8f978cb
|
add sender side length checks
|
2011-02-07 02:35:24 +01:00 |
|
Felix Fietkau
|
e76b1a29ca
|
cli: clean up code
|
2011-02-07 02:30:18 +01:00 |
|
Felix Fietkau
|
09cb02f798
|
remove some verbosity from the ubus example
|
2011-02-07 02:13:41 +01:00 |
|
Felix Fietkau
|
045e40ecfd
|
reorder a few functions in libubus.h
|
2011-02-07 02:12:28 +01:00 |
|
Felix Fietkau
|
4ab6155577
|
remove unnecessary debug stuff
|
2011-02-07 02:09:37 +01:00 |
|
Felix Fietkau
|
87bb1cb171
|
cli: use stdout for output
|
2011-02-07 02:07:39 +01:00 |
|
Felix Fietkau
|
b0755698c1
|
fix max message length handling - exclude the header
|
2011-02-07 01:52:40 +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
|
5e78a80128
|
more const for the signature type table
|
2011-02-07 00:10:57 +01:00 |
|
Felix Fietkau
|
a93b044d6a
|
make ubus_default_connection_lost static
|
2011-02-07 00:07:59 +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
|
d2f9e766ff
|
implement a handler for UBUS_MSG_REMOVE_OBJECT
|
2011-02-06 21:41:29 +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
|
da11ec6b9d
|
remove duplicate definition of UBUS_UNIX_SOCKET
|
2011-02-06 20:55:34 +01:00 |
|
Felix Fietkau
|
c6affabb03
|
remove ubus.sock from .gitignore
|
2011-02-06 18:51:00 +01:00 |
|
Felix Fietkau
|
5fde74d12a
|
set the default socket name to /var/run/ubus.sock
|
2011-02-06 18:50:37 +01:00 |
|
Felix Fietkau
|
7a56ab0411
|
add options to override the ubus socket name for the cli and the example program
|
2011-02-06 18:50:07 +01:00 |
|
Felix Fietkau
|
8c8a8ba34f
|
remove the socket when ubusd exits
|
2011-02-06 18:41:18 +01:00 |
|
Felix Fietkau
|
da9a7518f6
|
add support for overriding the socket name
|
2011-02-06 18:40:47 +01:00 |
|
Felix Fietkau
|
45c873325e
|
cli: display proper types for the method signatures
|
2011-02-06 16:48:58 +01:00 |
|
Felix Fietkau
|
8c81142828
|
use the json to blobmsg library
|
2011-02-06 16:15:14 +01:00 |
|
Felix Fietkau
|
2e83a5fab2
|
fix SIGINT handling
|
2011-02-06 02:19:54 +01:00 |
|
Felix Fietkau
|
4534209ea8
|
rename listener to ubus-example
|
2011-02-06 02:15:10 +01:00 |
|
Felix Fietkau
|
4864ab6397
|
listener: add a more complex example using parsing
|
2011-02-06 02:08:30 +01:00 |
|
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 |
|