]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/external-agent.h
tdb2: test: try (almost) all tests with TDB_VERSION1 flag.
[ccan] / ccan / tdb2 / test / external-agent.h
index ad537d5d91635777e9ed279068922bf2dd43c51d..27316dde22ded3ec856cac317db4f045c3ef5836 100644 (file)
@@ -5,12 +5,14 @@
  * various times. */
 enum operation {
        OPEN,
+       OPEN_WITH_HOOK,
        FETCH,
        STORE,
        TRANSACTION_START,
        TRANSACTION_COMMIT,
        NEEDS_RECOVERY,
        CHECK,
+       SEND_SIGNAL,
        CLOSE,
 };
 
@@ -37,4 +39,5 @@ enum agent_return external_agent_operation(struct agent *handle,
 const char *agent_return_name(enum agent_return ret);
 const char *operation_name(enum operation op);
 
+void free_external_agent(struct agent *agent);
 #endif /* TDB2_TEST_EXTERNAL_AGENT_H */