summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-signature.c
Commit message (Collapse)AuthorAge
* Revert "libsystemd-bus: use assert_return"Lennart Poettering2013-12-10
| | | | | | | | | | | | This reverts commit f7e2bd5a8070ba86cba6bcbf7d1c9a8173d846d4. Most of these checks are not programming errors, but happen during normal runtime. For example bus_kernel_pop_memfd() is called all the time on non-kdbus systems and is supposed to quickly fail if kdbus is not available. However, assert_return() makes this failure expensive, and hence has no place here. With the most recent change to assert_return() it will even log a debug message, which should never happen here.
* libsystemd-bus: use assert_returnLukasz Skalski2013-12-09
|
* core: convert PID 1 to libsystemd-busLennart Poettering2013-11-20
| | | | | | | | | | | | | | | | | | | | | | This patch converts PID 1 to libsystemd-bus and thus drops the dependency on libdbus. The only remaining code using libdbus is a test case that validates our bus marshalling against libdbus' marshalling, and this dependency can be turned off. This patch also adds a couple of things to libsystem-bus, that are necessary to make the port work: - Synthesizing of "Disconnected" messages when bus connections are severed. - Support for attaching multiple vtables for the same interface on the same path. This patch also fixes the SetDefaultTarget() and GetDefaultTarget() bus calls which used an inappropriate signature. As a side effect we will now generate PropertiesChanged messages which carry property contents, rather than just invalidation information.
* libsystemd-bus: add lightweight object vtable implementation for exposing ↵Lennart Poettering2013-10-09
| | | | | | | | | | | objects on the bus This adds a lightweight scheme how to define interfaces in static fixed arrays which then can be easily registered on a bus connection. This makes it much easier to write bus services. This automatically handles implementation of the Properties, ObjectManager, and Introspection bus interfaces.
* bus: properly verify recursion depth of signaturesLennart Poettering2013-03-22
|
* bus: add basic implementation of a native bus client libraryLennart Poettering2013-03-20