diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-04-20 00:33:26 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-04-20 17:12:28 +0200 |
commit | b94fbd30781d7533492cec65bf7d86fa19a1a074 (patch) | |
tree | fc15708fd0255f4ed9422900ceebee64ebb462ea /src/core/transaction.h | |
parent | 3c956cfee29fe2642fbe257f55adb3583a4af878 (diff) |
transaction: maintain anchor_job
Track which job is the anchor in the transaction.
Diffstat (limited to 'src/core/transaction.h')
-rw-r--r-- | src/core/transaction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/transaction.h b/src/core/transaction.h index d519ffb1f5..4818cea38e 100644 --- a/src/core/transaction.h +++ b/src/core/transaction.h @@ -12,6 +12,7 @@ struct Transaction { /* Jobs to be added */ Hashmap *jobs; /* Unit object => Job object list 1:1 */ JobDependency *anchor; + Job *anchor_job; /* the job the user asked for */ }; Transaction *transaction_new(void); @@ -27,8 +28,7 @@ int transaction_add_job_and_dependencies( bool conflicts, bool ignore_requirements, bool ignore_order, - DBusError *e, - Job **_ret); + DBusError *e); int transaction_activate(Transaction *tr, Manager *m, JobMode mode, DBusError *e); int transaction_add_isolate_jobs(Transaction *tr, Manager *m); void transaction_abort(Transaction *tr); |