1 #ifndef TDB_TEST_EXTERNAL_TRANSACTION_H
2 #define TDB_TEST_EXTERNAL_TRANSACTION_H
7 OPEN_WITH_CLEAR_IF_FIRST,
11 /* Do this before doing any tdb stuff. Return handle, or -1. */
12 struct agent *prepare_external_agent(void);
14 /* Ask the external agent to try to do an operation. */
15 bool external_agent_operation(struct agent *handle,
20 void external_agent_operation_start(struct agent *agent,
21 enum operation op, const char *tdbname);
23 /* See if they've done it. */
24 bool external_agent_operation_check(struct agent *agent, bool block, int *res);
25 #endif /* TDB_TEST_EXTERNAL_TRANSACTION_H */