diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-31 19:10:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-01 03:29:29 +0200 |
commit | e82c950997fd1c8f7eb1cea881cb35387321af3d (patch) | |
tree | 09f796de2e0211490c0f9b0482300a1a2f17dd66 /src/libsystemd-bus/bus-internal.h | |
parent | 7989e1f2d79891ff73dea0ede1c98c47b62547db (diff) |
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.
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r-- | src/libsystemd-bus/bus-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |