chiark / gitweb /
manager: Transaction as an object
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Apr 2012 08:22:07 +0000 (10:22 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Apr 2012 15:12:27 +0000 (17:12 +0200)
commit7527cb527598aaabf0ed9b38a352edb28536392a
tree1fe241bdb3dac4dfd94906de0ebce3ea627512a2
parent97e7d748d1bf26790fc3b2607885f4ac8c4ecf3a
manager: Transaction as an object

This makes it obvious that transactions are short-lived. They are created in
manager_add_job() and destroyed after the application of jobs.
It also prepares for a split of the transaction code to a new source.
src/core/job.c
src/core/job.h
src/core/manager.c
src/core/manager.h