summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-31 19:10:49 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-01 03:29:29 +0200
commite82c950997fd1c8f7eb1cea881cb35387321af3d (patch)
tree09f796de2e0211490c0f9b0482300a1a2f17dd66 /src/libsystemd-bus/bus-internal.h
parent7989e1f2d79891ff73dea0ede1c98c47b62547db (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.h2
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;