summaryrefslogtreecommitdiffhomepage
path: root/fuzz-wrapfd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-25 22:21:49 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-25 22:21:49 +0800
commitb8fa71284709e4cbaef7398dc9fc17155f8d2f7a (patch)
tree2c6cab9ca77900a081a9936c3e550cbb63c67f78 /fuzz-wrapfd.h
parent095b067857df04ea498e7adf76dc0380d7deeb1d (diff)
rearrange, all fuzzers now call fuzzer_set_input()
--HG-- branch : fuzz
Diffstat (limited to 'fuzz-wrapfd.h')
-rw-r--r--fuzz-wrapfd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzz-wrapfd.h b/fuzz-wrapfd.h
index 9358c1a..04477b9 100644
--- a/fuzz-wrapfd.h
+++ b/fuzz-wrapfd.h
@@ -10,7 +10,8 @@ enum wrapfd_mode {
RANDOMIN,
};
-void wrapfd_setup(uint32_t wrapseed);
+void wrapfd_setup();
+void wrapfd_setseed(uint32_t seed);
// doesn't take ownership of buf. buf is optional.
void wrapfd_add(int fd, buffer *buf, enum wrapfd_mode mode);