summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-12-22 19:30:07 +0100
committerLennart Poettering <lennart@poettering.net>2012-12-22 22:17:58 +0100
commit01e10de3c2b9c2944bd86b12fab83d1164d0b64a (patch)
tree5d3a8f55246b255879b2fe199c5321508ba45f83 /src/core/unit.h
parent842f3b0fc983d9161e152da5b765008e3e6942a8 (diff)
socket: support socket activation of containers
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h3
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);