diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-12-22 19:30:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-12-22 22:17:58 +0100 |
commit | 01e10de3c2b9c2944bd86b12fab83d1164d0b64a (patch) | |
tree | 5d3a8f55246b255879b2fe199c5321508ba45f83 /src/core/unit.h | |
parent | nspawn: allow passing socket activation fds through nspawn (diff) | |
download | systemd-01e10de3c2b9c2944bd86b12fab83d1164d0b64a.tar.xz systemd-01e10de3c2b9c2944bd86b12fab83d1164d0b64a.zip |
socket: support socket activation of containers
Diffstat (limited to 'src/core/unit.h')
-rw-r--r-- | src/core/unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h index b40f034de1..790d3d758e 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -310,6 +310,9 @@ struct UnitVTable { /* Restore one item from the serialization */ int (*deserialize_item)(Unit *u, const char *key, const char *data, FDSet *fds); + /* Try to match up fds with what we need for this unit */ + int (*distribute_fds)(Unit *u, FDSet *fds); + /* Boils down the more complex internal state of this unit to * a simpler one that the engine can understand */ UnitActiveState (*active_state)(Unit *u); |