]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.h
core: GC redundant device jobs from the run queue
[thirdparty/systemd.git] / src / core / unit.h
index 991543664bbcba71a606d505c518ccac92635d07..6d6885b487a84fe36e8ec94a93df6ae2efd2e3bc 100644 (file)
@@ -441,6 +441,9 @@ struct UnitVTable {
 
         /* True if transient units of this type are OK */
         bool can_transient:1;
+
+        /* True if queued jobs of this type should be GC'ed if no other job needs them anymore */
+        bool gc_jobs:1;
 };
 
 extern const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX];