2 * The UCW Library -- Transactions
4 * (c) 2008 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
13 #include "ucw/mempool.h"
21 struct mempool_state trans_pool_state;
22 struct respool *res_pool;
26 void trans_init(void); // Called automatically on trans_open() if needed
27 void trans_cleanup(void); // Free memory occupied by the transaction system pools
29 struct trans *trans_open(void);
30 struct trans *trans_get_current(void);
31 void trans_commit(void);
32 void trans_rollback(void);
33 void trans_dump(void);