X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Funit.h;h=0362602fa1d92bb31436f6741445041cdb275727;hb=1afbdcb06b2333c1f5852c049bd5e73b729aa6f0;hp=a99d33ef07f4e5bea60eb532b47e9b56d33458f5;hpb=1e59887dc92e163163051e627817e1675374cd22;p=elogind.git diff --git a/src/unit.h b/src/unit.h index a99d33ef0..0362602fa 100644 --- a/src/unit.h +++ b/src/unit.h @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #ifndef foounithfoo #define foounithfoo @@ -184,6 +184,9 @@ struct Meta { * unit here, if there was a job scheduled */ int deserialized_job; /* This is actually of type JobType */ + /* Error code when we didn't manage to load the unit (negative) */ + int load_error; + /* If we go down, pull down everything that depends on us, too */ bool recursive_stop; @@ -331,6 +334,14 @@ struct UnitVTable { /* Type specific cleanups. */ void (*shutdown)(Manager *m); + /* When sending out PropertiesChanged signal, which properties + * shall be invalidated? This is a NUL seperated list of + * strings, to minimize relocations a little. */ + const char *bus_invalidating_properties; + + /* The interface name */ + const char *bus_interface; + /* Can units of this type have multiple names? */ bool no_alias:1;