blob: 469847be75d7268d05748e1dbb6d70332c39e7d9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "external-agent.h"
#include "tdb1_private.h"
enum agent_return external_agent_needs_rec(struct tdb_context *tdb)
{
if (tdb->flags & TDB_VERSION1)
return tdb1_needs_recovery(tdb) ? SUCCESS : FAILED;
else
return tdb_needs_recovery(tdb) ? SUCCESS : FAILED;
}
|