summaryrefslogtreecommitdiff
path: root/src/core/transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/transaction.h')
-rw-r--r--src/core/transaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/transaction.h b/src/core/transaction.h
index 67ace4da0b..12f9194927 100644
--- a/src/core/transaction.h
+++ b/src/core/transaction.h
@@ -33,9 +33,10 @@ struct Transaction {
/* Jobs to be added */
Hashmap *jobs; /* Unit object => Job object list 1:1 */
Job *anchor_job; /* the job the user asked for */
+ bool irreversible;
};
-Transaction *transaction_new(void);
+Transaction *transaction_new(bool irreversible);
void transaction_free(Transaction *tr);
int transaction_add_job_and_dependencies(