X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Funit.h;h=790d3d758eb0062d9778d71e104afbf70b2a05b9;hp=b40f034de132183ff59bcf209925a6467d2d895e;hb=01e10de3c2b9c2944bd86b12fab83d1164d0b64a;hpb=842f3b0fc983d9161e152da5b765008e3e6942a8;ds=sidebyside diff --git a/src/core/unit.h b/src/core/unit.h index b40f034de..790d3d758 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);