From e82c950997fd1c8f7eb1cea881cb35387321af3d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 31 Mar 2013 19:10:49 +0200 Subject: bus: allow two different fds for input/output in sd_bus_set_fd() This is useful so that we can speak D-Bus over a FIFO pair such as stdin+stdout. --- src/libsystemd-bus/bus-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsystemd-bus/bus-internal.h') diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h index 0149604d2a..4997936fa9 100644 --- a/src/libsystemd-bus/bus-internal.h +++ b/src/libsystemd-bus/bus-internal.h @@ -74,7 +74,7 @@ enum bus_auth { struct sd_bus { unsigned n_ref; enum bus_state state; - int fd; + int input_fd, output_fd; int message_version; bool negotiate_fds:1; -- cgit v1.2.3-54-g00ecf