chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: if start is called for a non-startable service and it is around, return EALREAD...
[elogind.git]
/
unit.h
diff --git
a/unit.h
b/unit.h
index 3b7f6995ff7caa2e0899cb652e4ea03138e08d56..e4034fd7d8505a92eb6ec80ae8b59af3b2a76d20 100644
(file)
--- a/
unit.h
+++ b/
unit.h
@@
-131,6
+131,8
@@
struct Meta {
Job *job;
bool in_load_queue:1;
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;
/* 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);
/* Per type list */
LIST_FIELDS(Meta, units_per_type);
+
+ /* D-Bus queue */
+ LIST_FIELDS(Meta, dbus_queue);
};
#include "service.h"
};
#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);
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);
int unit_merge(Unit *u, Unit *other);