project/ubus.git
10 years agoadd code for sending events and fix the code for receiving events
Felix Fietkau [Mon, 7 Feb 2011 00:25:28 +0000 (01:25 +0100)]
add code for sending events and fix the code for receiving events

10 years agomore const for the signature type table
Felix Fietkau [Sun, 6 Feb 2011 23:10:57 +0000 (00:10 +0100)]
more const for the signature type table

10 years agomake ubus_default_connection_lost static
Felix Fietkau [Sun, 6 Feb 2011 23:07:59 +0000 (00:07 +0100)]
make ubus_default_connection_lost static

10 years agoadd a wrapper function for unregistering an event handler
Felix Fietkau [Sun, 6 Feb 2011 20:47:51 +0000 (21:47 +0100)]
add a wrapper function for unregistering an event handler

10 years agoadd ubus_remove_object to libubus
Felix Fietkau [Sun, 6 Feb 2011 20:46:45 +0000 (21:46 +0100)]
add ubus_remove_object to libubus

10 years agoimplement a handler for UBUS_MSG_REMOVE_OBJECT
Felix Fietkau [Sun, 6 Feb 2011 20:41:29 +0000 (21:41 +0100)]
implement a handler for UBUS_MSG_REMOVE_OBJECT

10 years agofollow blob_get_int* -> blob_get_u* rename
Felix Fietkau [Sun, 6 Feb 2011 20:37:37 +0000 (21:37 +0100)]
follow blob_get_int* -> blob_get_u* rename

10 years agorename publish to add_object
Felix Fietkau [Sun, 6 Feb 2011 20:33:03 +0000 (21:33 +0100)]
rename publish to add_object

10 years agoremove duplicate definition of UBUS_UNIX_SOCKET
Felix Fietkau [Sun, 6 Feb 2011 19:55:34 +0000 (20:55 +0100)]
remove duplicate definition of UBUS_UNIX_SOCKET

10 years agoremove ubus.sock from .gitignore
Felix Fietkau [Sun, 6 Feb 2011 17:50:57 +0000 (18:50 +0100)]
remove ubus.sock from .gitignore

10 years agoset the default socket name to /var/run/ubus.sock
Felix Fietkau [Sun, 6 Feb 2011 17:50:37 +0000 (18:50 +0100)]
set the default socket name to /var/run/ubus.sock

10 years agoadd options to override the ubus socket name for the cli and the example program
Felix Fietkau [Sun, 6 Feb 2011 17:50:07 +0000 (18:50 +0100)]
add options to override the ubus socket name for the cli and the example program

10 years agoremove the socket when ubusd exits
Felix Fietkau [Sun, 6 Feb 2011 17:41:18 +0000 (18:41 +0100)]
remove the socket when ubusd exits

10 years agoadd support for overriding the socket name
Felix Fietkau [Sun, 6 Feb 2011 17:40:47 +0000 (18:40 +0100)]
add support for overriding the socket name

10 years agocli: display proper types for the method signatures
Felix Fietkau [Sun, 6 Feb 2011 15:48:58 +0000 (16:48 +0100)]
cli: display proper types for the method signatures

10 years agouse the json to blobmsg library
Felix Fietkau [Sun, 6 Feb 2011 15:14:36 +0000 (16:14 +0100)]
use the json to blobmsg library

10 years agofix SIGINT handling
Felix Fietkau [Sun, 6 Feb 2011 01:19:54 +0000 (02:19 +0100)]
fix SIGINT handling

10 years agorename listener to ubus-example
Felix Fietkau [Sun, 6 Feb 2011 01:15:10 +0000 (02:15 +0100)]
rename listener to ubus-example

10 years agolistener: add a more complex example using parsing
Felix Fietkau [Sun, 6 Feb 2011 01:08:30 +0000 (02:08 +0100)]
listener: add a more complex example using parsing

10 years agofix event handler list initialization
Felix Fietkau [Sun, 6 Feb 2011 00:53:58 +0000 (01:53 +0100)]
fix event handler list initialization

10 years agofix message refcounting
Felix Fietkau [Sun, 6 Feb 2011 00:45:21 +0000 (01:45 +0100)]
fix message refcounting

10 years agoadd support for parsing method calls with json arguments
Felix Fietkau [Sun, 6 Feb 2011 00:22:54 +0000 (01:22 +0100)]
add support for parsing method calls with json arguments

10 years agoimplement code for receiving events
Felix Fietkau [Sat, 5 Feb 2011 22:23:44 +0000 (23:23 +0100)]
implement code for receiving events

10 years agocli: wait for incoming events on listen
Felix Fietkau [Sat, 5 Feb 2011 22:01:48 +0000 (23:01 +0100)]
cli: wait for incoming events on listen

10 years agoremove an unnecessary check
Felix Fietkau [Sat, 5 Feb 2011 19:56:50 +0000 (20:56 +0100)]
remove an unnecessary check

10 years agofix message buffering
Felix Fietkau [Sat, 5 Feb 2011 19:50:08 +0000 (20:50 +0100)]
fix message buffering

10 years agoadd functionality for registering anonymous objects as event listeners
Felix Fietkau [Sat, 5 Feb 2011 18:53:14 +0000 (19:53 +0100)]
add functionality for registering anonymous objects as event listeners

10 years agoadd some stub functionality for the ubus event switch
Felix Fietkau [Sat, 5 Feb 2011 00:29:52 +0000 (01:29 +0100)]
add some stub functionality for the ubus event switch

10 years agoadd functions for internal object allocation
Felix Fietkau [Fri, 4 Feb 2011 23:21:27 +0000 (00:21 +0100)]
add functions for internal object allocation

10 years agoinstall header files
Felix Fietkau [Fri, 4 Feb 2011 23:06:28 +0000 (00:06 +0100)]
install header files

10 years agocli: return the ubus ret code
Felix Fietkau [Fri, 4 Feb 2011 23:02:22 +0000 (00:02 +0100)]
cli: return the ubus ret code

10 years agouse the new blobmsg string buffer functions
Felix Fietkau [Fri, 4 Feb 2011 20:58:22 +0000 (21:58 +0100)]
use the new blobmsg string buffer functions

10 years agoadd install targets
Felix Fietkau [Mon, 31 Jan 2011 20:17:33 +0000 (21:17 +0100)]
add install targets

10 years agoadd an inline function to add the ubus socket to uloop
Felix Fietkau [Mon, 31 Jan 2011 19:00:39 +0000 (20:00 +0100)]
add an inline function to add the ubus socket to uloop

10 years agoremove obsolete debug msgs
Felix Fietkau [Mon, 31 Jan 2011 18:55:07 +0000 (19:55 +0100)]
remove obsolete debug msgs

10 years agoremove an obsolete define
Felix Fietkau [Mon, 31 Jan 2011 18:53:55 +0000 (19:53 +0100)]
remove an obsolete define

10 years agomake libubus a dynamic library
Felix Fietkau [Mon, 31 Jan 2011 18:32:58 +0000 (19:32 +0100)]
make libubus a dynamic library

10 years agomake ubus_parse_msg static
Felix Fietkau [Mon, 31 Jan 2011 17:28:14 +0000 (18:28 +0100)]
make ubus_parse_msg static

10 years agomake ubus_start_request static
Felix Fietkau [Mon, 31 Jan 2011 17:27:23 +0000 (18:27 +0100)]
make ubus_start_request static

10 years agolibubus: add generic lookup code
Felix Fietkau [Mon, 31 Jan 2011 17:26:24 +0000 (18:26 +0100)]
libubus: add generic lookup code

10 years agoexport the object type through lookup calls
Felix Fietkau [Mon, 31 Jan 2011 17:26:09 +0000 (18:26 +0100)]
export the object type through lookup calls

10 years agocli: use ubus_invoke() instead of low level handling
Felix Fietkau [Mon, 31 Jan 2011 16:27:08 +0000 (17:27 +0100)]
cli: use ubus_invoke() instead of low level handling

10 years agomake message data on invoke() optional
Felix Fietkau [Mon, 31 Jan 2011 16:26:29 +0000 (17:26 +0100)]
make message data on invoke() optional

10 years agoadd support for data replies
Felix Fietkau [Mon, 31 Jan 2011 16:18:10 +0000 (17:18 +0100)]
add support for data replies

10 years agocleanup, pass both data and status messages on to other clients
Felix Fietkau [Mon, 31 Jan 2011 15:32:29 +0000 (16:32 +0100)]
cleanup, pass both data and status messages on to other clients

10 years agoremove support for path based invoke, add object id validation for responses
Felix Fietkau [Mon, 31 Jan 2011 15:25:22 +0000 (16:25 +0100)]
remove support for path based invoke, add object id validation for responses

10 years agoadd a callback for handling lost ubus connections
Felix Fietkau [Mon, 31 Jan 2011 15:15:55 +0000 (16:15 +0100)]
add a callback for handling lost ubus connections

10 years agolibubus: add method to policy
Felix Fietkau [Mon, 31 Jan 2011 02:53:09 +0000 (03:53 +0100)]
libubus: add method to policy

10 years agoadd working method calls
Felix Fietkau [Mon, 31 Jan 2011 02:26:53 +0000 (03:26 +0100)]
add working method calls

10 years agolibubus: keep objects in an avl tree
Felix Fietkau [Mon, 31 Jan 2011 02:07:42 +0000 (03:07 +0100)]
libubus: keep objects in an avl tree

10 years agoadd request cancelled flag
Felix Fietkau [Mon, 31 Jan 2011 01:52:12 +0000 (02:52 +0100)]
add request cancelled flag

10 years agoremove path based invoke functions, add stub implementation for invoking method calls
Felix Fietkau [Mon, 31 Jan 2011 01:41:32 +0000 (02:41 +0100)]
remove path based invoke functions, add stub implementation for invoking method calls

10 years agoadd stubs for invoke
Felix Fietkau [Sun, 30 Jan 2011 22:57:14 +0000 (23:57 +0100)]
add stubs for invoke

10 years agoInitial import
Felix Fietkau [Mon, 6 Dec 2010 02:51:58 +0000 (03:51 +0100)]
Initial import