2004-06-24 21:10:31 +00:00
|
|
|
#ifndef __LLADD_RECOVERY2_H
|
|
|
|
#define __LLADD_RECOVERY2_H
|
|
|
|
|
2009-10-14 21:22:50 +00:00
|
|
|
#include <stasis/transactionTable.h>
|
2008-12-01 19:48:59 +00:00
|
|
|
#include <stasis/logger/logger2.h>
|
2009-08-22 00:01:02 +00:00
|
|
|
#include <stasis/operations/alloc.h>
|
2008-12-01 19:48:59 +00:00
|
|
|
|
2009-10-14 21:22:50 +00:00
|
|
|
void stasis_recovery_initiate(stasis_log_t* log, stasis_transaction_table_t * tbl, stasis_alloc_t * alloc);
|
|
|
|
/** This really doesn't belong in recovery.c, but there's so much code overlap, it doesn't make sense not to put it there.
|
|
|
|
*
|
|
|
|
* XXX undoTrans should not take the entire transaction table as an argument. Instead, it should place its transaction argument directly into the list of transactions that undo processes.
|
|
|
|
* */
|
|
|
|
void undoTrans(stasis_log_t*log, stasis_transaction_table_t * tbl, stasis_transaction_table_entry_t transaction);
|
2004-06-24 21:10:31 +00:00
|
|
|
|
|
|
|
#endif
|