diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-06 02:43:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-06 02:43:58 +0200 |
commit | 23a177ef7c8c38c238ef06666f900f581b48298f (patch) | |
tree | 0e1467035854fea1a51c5efad2f69464ac2d402b /manager.h | |
parent | 5af98f828476716954f327c479c4cf6321ae3fe4 (diff) |
rework merging/loading logic
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -125,6 +125,8 @@ struct Manager { LIST_HEAD(Meta, dbus_unit_queue); LIST_HEAD(Job, dbus_job_queue); + LIST_HEAD(Meta, cleanup_queue); + /* Jobs to be added */ Hashmap *transaction_jobs; /* Unit object => Job object list 1:1 */ JobDependency *transaction_anchor; @@ -181,7 +183,7 @@ int manager_add_job(Manager *m, JobType type, Unit *unit, JobMode mode, bool for void manager_dump_units(Manager *s, FILE *f, const char *prefix); void manager_dump_jobs(Manager *s, FILE *f, const char *prefix); -void manager_transaction_unlink_job(Manager *m, Job *j); +void manager_transaction_unlink_job(Manager *m, Job *j, bool delete_dependencies); void manager_clear_jobs(Manager *m); |