Systemd/src/machine
Lennart Poettering 03976f7b4a sd-bus: introduce new sd_bus_flush_close_unref() call
sd_bus_flush_close_unref() is a call that simply combines sd_bus_flush()
(which writes all unwritten messages out) + sd_bus_close() (which
terminates the connection, releasing all unread messages) +
sd_bus_unref() (which frees the connection).

The combination of this call is used pretty frequently in systemd tools
right before exiting, and should also be relevant for most external
clients, and is hence useful to cover in a call of its own.

Previously the combination of the three calls was already done in the
_cleanup_bus_close_unref_ macro, but this was only available internally.

Also see #327
2015-07-03 19:49:03 +02:00
..
.gitignore machined: introduce polkit for OpenLogin() call 2014-12-23 21:28:48 +01:00
image-dbus.c sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
image-dbus.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
machine-dbus.c turn kdbus support into a runtime option 2015-06-17 18:01:49 +02:00
machine-dbus.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
machine.c machined: make sure to track machine unit states properly 2015-04-28 21:34:23 +02:00
machine.h machined: make sure to track machine unit states properly 2015-04-28 21:34:23 +02:00
machinectl.c sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
machined-dbus.c sd-bus: allow passing NULL as bus parameter to sd_bus_send() 2015-04-29 18:58:30 +02:00
machined.c everywhere: port everything to sigprocmask_many() and friends 2015-06-15 20:13:23 +02:00
machined.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
Makefile machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
org.freedesktop.machine1.conf machined,machinectl: add calls for changing container/VM quotas 2015-02-25 22:06:54 +01:00
org.freedesktop.machine1.policy.in machined: open up most of machined's commands to unprivileged clients via PolicyKit 2015-02-18 11:43:18 +01:00
org.freedesktop.machine1.service machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
test-machine-tables.c tests: add tests for string lookup tables 2013-07-05 01:36:16 -04:00