summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unit.h b/unit.h
index 3b7f6995ff..e4034fd7d8 100644
--- a/unit.h
+++ b/unit.h
@@ -131,6 +131,8 @@ struct Meta {
Job *job;
bool in_load_queue:1;
+ bool in_dbus_queue:1;
+ bool sent_dbus_new_signal:1;
/* If we go down, pull down everything that depends on us, too */
bool recursive_stop;
@@ -146,6 +148,9 @@ struct Meta {
/* Per type list */
LIST_FIELDS(Meta, units_per_type);
+
+ /* D-Bus queue */
+ LIST_FIELDS(Meta, dbus_queue);
};
#include "service.h"
@@ -243,6 +248,7 @@ int unit_choose_id(Unit *u, const char *name);
int unit_set_description(Unit *u, const char *description);
void unit_add_to_load_queue(Unit *u);
+void unit_add_to_dbus_queue(Unit *u);
int unit_merge(Unit *u, Unit *other);