Commit graph

194 commits

Author SHA1 Message Date
Felix Fietkau
d9211374c5 add -v 2011-09-05 04:00:20 +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
52ce4320ed remove an unused-but-set variable 2011-07-30 17:57:17 +02:00
Felix Fietkau
460672c6da cli: indent call result data 2011-07-18 13:08:53 +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
e49b34f912 simplify object signatures by reusing the parser policy to define them 2011-03-27 20:03:18 +02:00
Felix Fietkau
7cd569acc8 suppress stderr output with -S 2011-03-27 18:28:47 +02:00
Felix Fietkau
6facb81409 improve output for scripts 2011-03-27 17:41:33 +02:00
Felix Fietkau
df1af726e2 do not reverse method sorting order 2011-03-27 01:39:14 +01:00
Felix Fietkau
155f8059cc use int8 as boolean 2011-03-27 01:05:30 +01: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
4a3bb66cd4 change minimum cmake version to 2.6 2011-02-12 23:57:35 +01:00
Felix Fietkau
6bbd9dad9d remove array from the signature 2011-02-11 04:18:26 +01: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
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
ef978a8ea0 libubus: add an inline function for socket event handling 2011-02-07 20:43:43 +01:00
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