Systemd/src/libsystemd/sd-bus
Lennart Poettering c4e48030cf sd-bus: make "close+flush-on-exit" optional when using sd-event with sd-bus
This adds a new pair of API calls sd_bus_set_close_on_exit() and
sd_bus_get_close_on_exit(). They control whether an sd_bus object
attached to a an sd-event loop shall automatically be flushed/closed
when the event loop goes down. Usually that's a good thing, except for
very few cases where the bus connection is longer living than the event
loop it is attached on. Specifically, this is the case for nspawn, where
we run the event loop only while the container is up, but afterwards
still want to be able to use the bus connection.
2018-11-09 17:08:59 +01:00
..
bus-common-errors.c portabled: generate a more useful error when invalid image types are attempted to be attached 2018-10-08 18:49:45 +02:00
bus-common-errors.h portabled: generate a more useful error when invalid image types are attempted to be attached 2018-10-08 18:49:45 +02:00
bus-container.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-container.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-control.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-control.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-convenience.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-creds.c bus-creds: FOREACH_LINE excorcism 2018-10-18 16:23:45 +02:00
bus-creds.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-dump.c bus: do not print (null) if the message has unknown type 2018-10-02 11:53:20 +02:00
bus-dump.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-error.c sd-bus: add new API call sd_bus_error_move() 2018-10-13 12:59:29 +02:00
bus-error.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-gvariant.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-gvariant.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-internal.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-internal.h sd-bus: make "close+flush-on-exit" optional when using sd-event with sd-bus 2018-11-09 17:08:59 +01:00
bus-introspect.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-introspect.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-kernel.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-kernel.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-match.c tree-wide: use typesafe_qsort() 2018-09-19 08:02:52 +09:00
bus-match.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-message.c bus-message: avoid wrap-around when using length read from message 2018-10-02 11:59:08 +02:00
bus-message.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-objects.c tree-wide: replace 'unsigned int' with 'unsigned' 2018-10-19 22:19:12 +02:00
bus-objects.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-protocol.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-signature.c bus-message: avoid an infinite loop on empty structures 2018-10-02 11:53:20 +02:00
bus-signature.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-slot.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
bus-slot.h sd-bus: make bus_slot_disconnect() also unref the slot object 2018-07-18 20:54:19 +02:00
bus-socket.c bus-socket: Fix line_begins() to accept word matching full string 2018-07-17 21:42:20 +02:00
bus-socket.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-track.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
bus-track.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-type.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-type.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
GVARIANT-SERIALIZATION sd-bus: drop kdbus-related docs (#5533) 2017-03-07 07:51:35 +01:00
sd-bus.c sd-bus: make "close+flush-on-exit" optional when using sd-event with sd-bus 2018-11-09 17:08:59 +01:00
test-bus-address.c sd-bus: fix test cases on host handling 2018-08-06 14:30:53 -07:00
test-bus-benchmark.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
test-bus-chat.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-bus-cleanup.c test: try system bus if user bus cannot be opened 2018-10-01 10:15:54 +02:00
test-bus-creds.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-bus-error.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
test-bus-gvariant.c test-bus-gvariant: turn on debug output 2018-10-02 11:53:20 +02:00
test-bus-introspect.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
test-bus-marshal.c bus-message: avoid an infinite loop on empty structures 2018-10-02 11:53:20 +02:00
test-bus-match.c test: try system bus if user bus cannot be opened 2018-10-01 10:15:54 +02:00
test-bus-objects.c strv: wrap strv_new() in a macro so that NULL sentinel is implicit 2018-10-31 18:00:52 +01:00
test-bus-server.c tree-wide: shorten error logging a bit 2018-08-07 10:14:33 +09:00
test-bus-signature.c bus-message: avoid an infinite loop on empty structures 2018-10-02 11:53:20 +02:00
test-bus-track.c test: try system bus if user bus cannot be opened 2018-10-01 10:15:54 +02:00
test-bus-vtable-cc.cc tests,meson: add test-bus-vtable, compiled as C and C++ 2017-05-13 15:50:44 -04:00
test-bus-vtable.c test-bus-vtable: it's OK if dbus is not running 2017-05-30 21:17:46 -04:00
test-bus-watch-bind.c tree-wide: port various users over to sockaddr_un_set_path() 2018-10-15 19:40:51 +02:00