X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=junkcode%2Frusty%40rustcorp.com.au-ntdb%2Ftest%2Fhelprun-external-agent.h;fp=junkcode%2Frusty%40rustcorp.com.au-ntdb%2Ftest%2Fhelprun-external-agent.h;h=126104117196ea90bc19c8875f7a976bf159e4b9;hb=1aab74723e837a0fd8091e264a325bb2cdcdd0fa;hp=0000000000000000000000000000000000000000;hpb=979071e8587d4819a7f78613b68d29e222e5db63;p=ccan 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 index 00000000..12610411 --- /dev/null +++ b/junkcode/rusty@rustcorp.com.au-ntdb/test/helprun-external-agent.h @@ -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; +}