Tim Kourt
3b6d7e94f8
dbus: Add NotConfigured dbus exception
2017-10-26 16:00:21 -05:00
Andrew Zaborowski
33f8b1f53d
dbus: Use the shutdown procedure instead of l_main_quit
...
Move the calling of the *_shutdown functions from the signal handler to
a new public function, and use that function inside the DBus disconnect
handler to make sure resources are cleanly released.
2017-05-04 10:50:29 -05:00
Denis Kenzior
854bb11c79
dbus: Add InvalidFormat error
2017-02-21 15:46:26 -06:00
Marcel Holtmann
88909947e2
build: Remove support for usage of kdbus
2016-10-16 19:41:27 +02:00
Andrew Zaborowski
2901cb1169
main: Restore agent_exit call before main loop exit
2016-05-25 09:57:58 -05:00
Andrew Zaborowski
15bab067fc
dbus: Remove Manager interface, add AgentManager
...
Move the Agent-related methods to a new interface, AgentManager, and
drop the remaining methods and signals made redundant by the
ObjectManager.
2016-05-23 11:46:59 -05:00
Andrew Zaborowski
3e2562a5a8
dbus: Enable the ObjectManager interface
2016-05-23 11:43:13 -05:00
Andrew Zaborowski
fb1adcae2a
dbus: Use recently added l_dbus_name_acquire
...
Use the backend-independent l_dbus_name_acquire.
2016-04-04 14:35:52 -05:00
Andrew Zaborowski
79839dbfd6
dbus: Use native ell kdbus calls
...
It seems until now dbus.c would always connect to dbus-1 (unless
DBUS_SESSION_BUS_ADDRESS pointed at kdbus) and passing -K only made
iwd create a kdbus bus and not use it. Now use ell to actually use
kdbus instead of dbus-1 with -K. Don't use the src/kdbus.c functions
that duplicate ell functionality. As a side effect the connection
description and the bloom sizes are now the ell defaults.
2016-04-04 14:25:59 -05:00
Rahul Rahul
07f49bc02d
dbus: Add API for adding object path value to a dict
2016-03-09 13:24:19 -06:00
Denis Kenzior
50cc76e227
dbus: Add dbus_error_not_implemented
2015-09-28 20:37:07 -05:00
Denis Kenzior
d127e91ff8
dbus: Add dbus_error_not_connected
2015-04-30 18:41:53 -05:00
Denis Kenzior
141a1831c0
dbus: Add dbus_error_no_agent
2015-03-20 15:42:39 -05:00
Denis Kenzior
d77238d5fd
dbus: Add not supported error
2015-02-24 23:19:16 -06:00
Jukka Rissanen
0403be7fee
dbus: Add more error reporting functions
...
Report error for
- invalid dbus arguments
- if object already exists
- if object is not found
2015-02-24 11:19:49 -06:00
Ravi kumar Veeramally
7f56f561c6
dbus: Provide dbus_error aborted and not_available
2015-02-13 17:01:06 -06:00
Jukka Rissanen
3d251562f8
dbus: Remove useless info message print
...
No need for this info any more.
2015-02-03 11:34:16 -06:00
Jukka Rissanen
2fad305d3c
dbus: Remove obsolete debug print
...
This print is quite useless.
2015-02-03 11:34:08 -06:00
Denis Kenzior
d2218e81c9
dbus: Fix style
2014-12-12 09:52:12 -06:00
Jukka Rissanen
c5b5d4502b
dbus: Add helper to append a byte array
...
Needed when appending SSID into properties.
2014-12-12 09:51:55 -06:00
Denis Kenzior
4dc24025a4
dbus: Add enable_debug parameter to dbus_init
2014-11-07 22:44:30 -06:00
Denis Kenzior
d2f61dd0cd
dbus: Add dbus_error_failed
2014-10-27 23:42:59 -05:00
Denis Kenzior
96a139d15b
dbus: add dbus_error_busy
2014-10-27 23:42:43 -05:00
Denis Kenzior
4639c31d61
dbus: Add dbus_pending_reply
2014-10-27 23:42:05 -05:00
Denis Kenzior
1ff34e3f0f
dbus: add dbus_dict_append_bool
2014-10-23 16:53:34 -05:00
Denis Kenzior
c550fb01f9
dbus: add dbus_dict_append_string
2014-10-23 16:53:31 -05:00
Denis Kenzior
09c29ba3e2
manager: Add manager skeleton
2014-10-06 22:13:40 -05:00
Denis Kenzior
429ea08202
dbus: Add basic D-Bus plumbing
2014-10-06 22:13:37 -05:00