]> git.ozlabs.org Git - ccan/blobdiff - junkcode/rusty@rustcorp.com.au-ntdb/test/helprun-external-agent.h
ccan/ntdb: demote to junkcode.
[ccan] / junkcode / rusty@rustcorp.com.au-ntdb / test / helprun-external-agent.h
diff --git a/junkcode/rusty@rustcorp.com.au-ntdb/test/helprun-external-agent.h b/junkcode/rusty@rustcorp.com.au-ntdb/test/helprun-external-agent.h
new file mode 100644 (file)
index 0000000..1261041
--- /dev/null
@@ -0,0 +1,7 @@
+#include "external-agent.h"
+#include "../private.h"
+
+enum agent_return external_agent_needs_rec(struct ntdb_context *ntdb)
+{
+       return ntdb_needs_recovery(ntdb) ? SUCCESS : FAILED;
+}