]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/core/transaction.h
1 #ifndef footransactionhfoo
2 #define footransactionhfoo
4 typedef struct Transaction Transaction
;
12 /* Jobs to be added */
13 Hashmap
*jobs
; /* Unit object => Job object list 1:1 */
14 Job
*anchor_job
; /* the job the user asked for */
17 Transaction
*transaction_new(void);
18 void transaction_free(Transaction
*tr
);
20 int transaction_add_job_and_dependencies(
28 bool ignore_requirements
,
31 int transaction_activate(Transaction
*tr
, Manager
*m
, JobMode mode
, DBusError
*e
);
32 int transaction_add_isolate_jobs(Transaction
*tr
, Manager
*m
);
33 void transaction_abort(Transaction
*tr
);